I have the following situation:
during setip process I am looking for a specific named instance of sql2005 and uninstall it via its productcode ( Install/Remove MSI Package $OLDSQLPRODUCTCODE$[REMOVE=ALL] ).
After that is done I install a new named instance of sql2008r2.
This works on Windows7 machines but under WinXP SP3 the installation of sql2008r2 fails. The setup log tells me the following:
RebootRequiredCheck
Checks if a pending computer restart is required. A pending restart can cause Setup to fail.
Failed
A computer restart is required. You must restart this computer before installing SQL Server.
The computer was rebootet before because prerequisites installation required it.
So my assumption is that this OS needs a reboot after the deinstallation of the sql2005.
At this time the user has already made some decisions which influence the course of the installation.
How can I enforce a neccessary reboot and make the setup continue at this point with the variable values corresponding to the decisiions the user made?
I am using the native engine, native logging is active at this point.
Thanks in advance.