Hi,
I have following scenario:
1. A deferred InstallDeviceDriver custom action installs device drivers. The
custom action checks if the driver interface has been changed? Then it
writes a volatile key in the registry, which indicates that a reboot is
necessary!
<CustomAction Id="InstallDeviceDriver" FileKey="instw2k.exe" ExeCommand="-p
"[INSTALLDIR]""
Impersonate="no" Execute="deferred"/>
2. In WiX a property DOREBOOT, contains the registry value of the volatile
key value doreboot, if it is written in the registry?
<Property Id="DOREBOOT">
<RegistrySearch Id="RebootVolatile" Type="raw" Root="HKLM"
Key="SOFTWARE\MyTest\volatilekey"
Name="doreboot"/>
</Property>
3. The DOREBOOT property is used as ScheduleReboot action condition:
<InstallExecuteSequence>
<Custom Action="InstallDeviceDriver" After="InstallFiles">
NOT Installed OR UPGRADINGPRODUCTCODE
</Custom>
<ScheduleReboot Before="InstallFinalize">
DOREBOOT
</ScheduleReboot>
</InstallExecuteSequence>
My questions are:
- When is the RegistrySearch launched during installation?
- Is it possible to schedule it happen just before ScheduleReboot, in my
InstallExecuteSequence?
- If this scenario is not possible in WiX? What would be a alternative way
of doing this?
Thanks in advance,
Harry
--
View this message in context:
http://www.nabble.com/Reboot%2C-when-driver-interface-has-been-changed-tf3220275.html#a8943325
Sent from the wix-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users