If you target MSI 4.0 or later, you might see this reflected in the
MsiSystemRebootPending property. The MSDN page for this property
suggests authoring it into a launch condition.


On Thu, Jul 8, 2010 at 10:08, Samuel Larsen <slar...@vmware.com> wrote:
> Hmmm.  That was a good idea, but no, it looks like the 
> PendingFileRenameOperations key is not even present in the registry after the 
> uninstall.  I think the overall approach of checking the registry will work 
> for me, however.  We have some registry entries specific to our driver that 
> aren't removed after an uninstall until a reboot.  If anyone has any more 
> ideas, I'd still like to understand how and why the system removes the 
> re-installed files at the next reboot.
>
> thanks,
> - Sam
>
>> Hi,
>> Does the driver uninstall put an entry into PendingFileRenameOperations
>> in the registry?
>> http://technet.microsoft.com/en-us/library/cc960241.aspx
>>
>> If so you could check this key is clean before running the install, I
>> have implmemented this in the past.
>>
>> Dave
>>
>> -----Original Message-----
>> From: Samuel Larsen [mailto:slar...@vmware.com]
>> Sent: 07 July 2010 17:55
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] Require reboot before re-installation
>>
>> Could someone suggest a method for forcing a reboot after an uninstall
>> before another install is permitted?  I have the following problem: My
>> installer installs a device driver.  An uninstall correctly removes the
>> driver from the filesystem.  If I re-install before rebooting, the
>> re-installation seems to go smoothly and the driver is re-installed.
>> On
>> the next reboot, however, it looks like the driver is removed from the
>> filesystem, which ultimately causes a crash.  I don't understand the
>> mechanism for this deletion.  It seems that the uninstall marks the
>> file
>> for delete on the next boot and this 'flag' is not cleared when the
>> file
>> is replaced during the installation.  One workaround would be to
>> prevent
>> re-installation after uninstall until there is a reboot.  Can anyone
>> offer any advice?
>>
>> thanks,
>> - Sam
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to