문제

The installer needs to run the .NET 4 installer (dotNetFx40_Full_setup.exe) and Microsoft Surface Toolkit (SurfaceToolkitRuntime.msi). The problem is that the .NET 4 install needs to restart the machine AND the Microsoft Surface Toolkit requires .NET 4 to install.

From looking at other questions I appears I should be using WiX (yes/no?). Is this something that could be done in a batch file?

If I need to use WiX/batch file/other what kind of code performs this action?

도움이 되었습니까?

해결책

If you're creating your software in Visual Studio, you can have the setup project (which creates your MSI installer) install .NET and other software as prerequisites, saving the reboot prompt until the end. You may have to create custom bootstrapper packages for the Surface Toolkit and such, but it's not too difficult and works well.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top