I am having a WIX setup which does following in order:
- Installs Windows Updates
- Restart
- Continue Wix App
- Installs .Net 4.6.1
- Gives a prompt "This app is stopping system to restart" with options Restart Anyway / Cancel. Want to run 7 after Restart without user interaction
- Restart without Prompt
- Installs
ControlCenter
Restart Anyway closes the Wix application and does not continue my app after restart. Cancels cancel the app and show failed.
/passive (restarts with no UI but with prompt)
/q (restart with prompt and other UI interaction which I dont want)
/norestart /q (does not restart the system)
Following is my node:
- List item
< ExePackage Id="NetFx461Web" DisplayName="Microsoft .NET Framework 4.6.1" Compressed="no" Cache="no" PerMachine="yes" Permanent="yes" Vital="yes" Protocol="netfx4" SourceFile="..\WinUpdates\Media\NDP461-KB3102436-x86-x64-AllOS-ENU.exe" InstallCommand="/passive /chainingpackage ControlCenter" DetectCondition="!(wix.NetFx461WebDetectCondition)" InstallCondition="!(wix.NetFx461WebInstallCondition)"> < ExitCode Behavior="forceReboot" Value="1641" /> < ExitCode Behavior="forceReboot" Value="3010" />
Also used following but no use
< Property Id="MSIRESTARTMANAGERCONTROL" Value="Disable"/>
If this is not the right forum, then please do let me know