One option is to set the flag on the sqlexpress install to ignore the pending 
restart rule check (/SkipRules=RebootRequiredCheck).

It might worth adding a feature request to get a property added to burn to 
indicate pending restarts.

Neil

Neil Sleightholm
[email protected]<mailto:[email protected]>


On 14 Jun 2012, at 09:07, jean claude klodjan wrote:

Hello
we have built a bootstrapper that installs different prerequisites,
including "SQL Server 2008 R2 Express".
This component can only install if there is no pending change on the
machine,
i.e. if the machine has been rebooted since the last time a setup has
written data in the registry value
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\PendingFileRenameOperations"

For every other component in our bootstrapper chain, we reboot the machine
if the returned code indicate that it is required ( = if there are pending
changes).

-> But if there are pending changes BEFORE the user starts this
bootstrapper, we have no way to detect it, and the installation of SQL
Server 2008 R2 Express crashes.

How should we proceed ?

Thank you very much in advance.




(note : we have tried to solve this problem placing a "fake" component
before SQL Server 2008 R2 Express that would require to reboot the machine
if the registry value PendingFileRenameOperations was not empty, but on
some machine (like VMs) this value is never empty, and it cause the
bootstrapper to reboot the machine forever)
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to