重新启动后恢复安装程序

时间:2010-11-11 21:41:06

标签: .net wix windows-installer bootstrapping bootstrapper

安装程序需要运行.NET 4安装程序(dotNetFx40_Full_setup.exe)和Microsoft Surface Toolkit(SurfaceToolkitRuntime.msi)。问题是.NET 4安装需要重新启动计算机而Microsoft Surface Toolkit需要安装.NET 4。

从我看到的其他问题开始,我应该使用WiX(是/否?)。这可以在批处理文件中完成吗?

如果我需要使用WiX /批处理文件/其他什么样的代码执行此操作?

1 个答案:

答案 0 :(得分:1)

如果您在Visual Studio中创建软件,则可以使用安装项目(创建MSI安装程序)install .NET and other software as prerequisites,将重新启动提示保存到最后。您可能必须create custom bootstrapper packages使用Surface Toolkit等,但它并不太难并且运行良好。

相关问题