BrHartmann
11-05-2013, 01:42 PM
I've noticed some similar posts on this topic, but did not see any solution / explanation / etc. If this is one of those situations where InstallShield is doing the right thing, but Windows has the bug, I would appreciate knowing that.
I'm using a prerequisite for .NET 4.5 in an MSI-Installscript project. The prerequisite is configured with the "Reboot the machine and resume on reboot" option (under the Behavior tab -> "If the prerequisite appears to need a reboot"). We're targeting Windows 7 and 8, and consistently seeing that after installing .NET 4.5, the computer reboots and the install fails to continue (even in Windows 7 where in theory there should be less OS bugs by now).
In case people are more familiar with the XML of the prerequisites, here's the applicable XML:
<execute file="dotNetFx45_Full_setup.exe" cmdline="/showrmui /passive " cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010" requiresmsiengine="1"></execute>
<behavior Reboot="2"></behavior>
Is there a different way I should configure this prerequisite as a workaround to this problem? Any other suggestions?
Thanks.
I'm using a prerequisite for .NET 4.5 in an MSI-Installscript project. The prerequisite is configured with the "Reboot the machine and resume on reboot" option (under the Behavior tab -> "If the prerequisite appears to need a reboot"). We're targeting Windows 7 and 8, and consistently seeing that after installing .NET 4.5, the computer reboots and the install fails to continue (even in Windows 7 where in theory there should be less OS bugs by now).
In case people are more familiar with the XML of the prerequisites, here's the applicable XML:
<execute file="dotNetFx45_Full_setup.exe" cmdline="/showrmui /passive " cmdlinesilent="/q /norestart" returncodetoreboot="1641,3010" requiresmsiengine="1"></execute>
<behavior Reboot="2"></behavior>
Is there a different way I should configure this prerequisite as a workaround to this problem? Any other suggestions?
Thanks.