Oh, Merge Module, well that changes everything. Yeah, MSI SDK doesn't allow that. Why are you using a Merge Module? Very unfriendly of a Merge Module to shove a reboot into someone else's product... especially if they already have a ScheduleReboot elsewhere.
-----Original Message----- From: jnewton [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 09:09 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Scheduling a Reboot After InstallFinalize I think the problem is that I'm trying to perform this action in a Merge Module. I have a merge module that installs some underlying driver files and needs a reboot. The code you mentioned below does work for a MSI but not a MSM which according to Microsoft shouldn't anyway. I am currently doing the following: <InstallExecuteSequence> <ScheduleReboot Sequence="7000" /> <InstallFinalize Sequence="6600" /> </InstallExecuteSequence> This works but I guess I'm just worried about anybody that might pull in my MSM who has modified the sequence number for InstallFinalize to be greater than the number I hard-coded in. Thanks Rob Mensching-2 wrote: > > <InstallExecuteSequence> > <ScheduleReboot After="InstallFinalize" /> > </InstallExecuteSequence> > > Works for me. > > -----Original Message----- > From: jnewton [mailto:[EMAIL PROTECTED] > Sent: Monday, December 01, 2008 08:10 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Scheduling a Reboot After InstallFinalize > > > I'm trying to convert some old Wise code over to WiX and ran into a > problem > where I need to invoke the ScheduleReboot action after InstallFinalize. > According to WiX and Microsoft, you can't use the BaseAction column when > using standard actions which is what I need to do. I always want > ScheduleReboot to occur after InstallFinalize. I found an earlier forum > http://n2.nabble.com/Reboot-at-end-td688131.html post which mentioned > that > you should be using the Before and After attributes of ScheduleReboot but > WiX v3 gives you an error saying that "InstallExecuteSequence table > contains > a standard action 'ScheduleReboot' that does not have a sequence number > specified. The Sequence attribute is required for standard actions in a > merge module. Please remove the action or use the Sequence attribute." > > So my question is, how can I ensure that ScheduleReboot will always happen > after InstallFinalize? I can use the Sequence attribute, but I would > rather > no hard-code this value. > > Thanks > > -- > View this message in context: > http://n2.nabble.com/Scheduling-a-Reboot-After-InstallFinalize-tp1599287p1599287.html > Sent from the wix-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Scheduling-a-Reboot-After-InstallFinalize-tp1599287p1599571.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users