Re: [WiX-users] ForceReboot

2007-06-11 Thread Bob Arnson
Aaron Shurts wrote: > Why not set the REBOOT property to 'Always'? ForceReboot is bad to > use in some scenarios and could end up making some of your users angry. True, but it's occasionally unavoidable for some drivers. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] ForceReboot

2007-06-11 Thread Aaron Shurts
Why not set the REBOOT property to 'Always'? ForceReboot is bad to use in some scenarios and could end up making some of your users angry. Regards, //aj On 6/11/07, Bob Arnson <[EMAIL PROTECTED]> wrote: Stefan Pavlik wrote: > I am able to schedule the ForceReboot action (e.g. MsiDoAction - >

Re: [WiX-users] ForceReboot

2007-06-11 Thread Bob Arnson
Stefan Pavlik wrote: > I am able to schedule the ForceReboot action (e.g. MsiDoAction - > from immediate custom action) but in this time I do not know whether > the Reboot will be necessary. > At deferred execution time, the script has already been written so you can't modify it by adding an a

Re: [WiX-users] ForceReboot

2007-06-11 Thread Stefan Pavlik
Yes it is DLL custom action. Rob Hamflett wrote: > Just to check, is it a DLL custom action you're using? I probably should > have pointed that out in > my first post. > > Rob > > Stefan Pavlik wrote: >> Thanks for the answer. >> >> Problem is that I can not set the public property from the d

Re: [WiX-users] ForceReboot

2007-06-11 Thread Rob Hamflett
Just to check, is it a DLL custom action you're using? I probably should have pointed that out in my first post. Rob Stefan Pavlik wrote: > Thanks for the answer. > > Problem is that I can not set the public property from the deferred > custom action. The result is the same as with MsiDoActio

Re: [WiX-users] ForceReboot

2007-06-11 Thread Stefan Pavlik
Thanks for the answer. Problem is that I can not set the public property from the deferred custom action. The result is the same as with MsiDoAction or MsiSetMode - error 6 - Invalid handle. Am I missing something? Stefan Rob Hamflett wrote: > You could scheduled ForceReboot with a condition

Re: [WiX-users] ForceReboot

2007-06-11 Thread Stefan Pavlik
It is not working... I was testing immediate CA. sorry Stefan Pavlik wrote: > I have found that the > MsiSetMode(hInstall, MSIRUNMODE_REBOOTNOW, TRUE) can be called from > deferred custom action and it seems that this will solve the problem. > > Are there any 'issues' regarding the MSIRUNMODE_RE

Re: [WiX-users] ForceReboot

2007-06-11 Thread Rob Hamflett
You could scheduled ForceReboot with a condition that is false using a property. In the Custom Action you could change the property so that the condition became true if you needed a reboot. Rob Stefan Pavlik wrote: > Hi > > I am installing some drivers (intermediate filter driver). > During

Re: [WiX-users] ForceReboot

2007-06-11 Thread Stefan Pavlik
I have found that the MsiSetMode(hInstall, MSIRUNMODE_REBOOTNOW, TRUE) can be called from deferred custom action and it seems that this will solve the problem. Are there any 'issues' regarding the MSIRUNMODE_REBOOTNOW (except for reboot itself)? thanks again... Stefan Stefan Pavlik wrote: > Hi

Re: [WiX-users] ForceReboot action during Uninstallation(2)

2006-10-05 Thread Bob Arnson
Stefan Pavlik wrote: > Problem is that the msiexec wants to start the temporary file in > C:\Windows\Installer\ which was deleted (and this is problem) during > cleanup before reboot. > When are you scheduling ForceReboot? The cached package shouldn't be removed until the install completes. >