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=100url=/ ___ 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=100url=/ ___ 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=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Scheduling a Reboot After InstallFinalize
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=100url=/ ___ 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=100url=/ ___ 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=100url=/ ___ 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=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] Scheduling a Reboot After InstallFinalize
This MSM is currently shared by not only the product I create, but also by a few other products internally. I inherited this code from another developer and I'm willing to try different routes to conform to better practice. I thought that if an MSI and MSM both defined some standard action with different sequence numbers, the MSI always overruled. Maybe not? The overall scenario is that this MSM installs underlying driver files and needs a reboot at the end of the installation. This MSM is shared by internal groups and we allow our customers to pull in this MSM as well (i.e. maybe if they were building some MSI in Visual Studio) If you have some thoughts regarding a different way to handle this scenario, I'm up for anything. Thanks Rob Mensching-2 wrote: 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=100url=/ ___ 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=100url=/ ___ 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
Re: [WiX-users] Scheduling a Reboot After InstallFinalize
1. Fair enough. Sharing with multiple products (not all using WiX toolset) pretty much requires Merge Modules. 2. Ahh, yeah, that sounds right. MSI overrides MSM sequencing. I've avoided MSMs for quite a while moving to .wixlibs... but all my products use WiX so I can do that. 3. Drivers suck. smile/ If the reboot is really required then you're stuck. Again, drivers suck. -Original Message- From: jnewton [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 09:21 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Scheduling a Reboot After InstallFinalize This MSM is currently shared by not only the product I create, but also by a few other products internally. I inherited this code from another developer and I'm willing to try different routes to conform to better practice. I thought that if an MSI and MSM both defined some standard action with different sequence numbers, the MSI always overruled. Maybe not? The overall scenario is that this MSM installs underlying driver files and needs a reboot at the end of the installation. This MSM is shared by internal groups and we allow our customers to pull in this MSM as well (i.e. maybe if they were building some MSI in Visual Studio) If you have some thoughts regarding a different way to handle this scenario, I'm up for anything. Thanks Rob Mensching-2 wrote: 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=100url=/ ___ 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=100url
Re: [WiX-users] Scheduling a Reboot After InstallFinalize
The sequencing of ScheduleReboot isn't usually very important - you can put it anywhere, and it just sets a flag to prompt for a reboot after the install. The action itself doesn't need to be after InstallFinalize. It's the ForceReboot action that is immediate. Phil Wilson -Original Message- From: jnewton [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 9:09 AM 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=100url=/ ___ 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=100url=/ ___ 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=100url=/ ___ 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=100url=/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix
Re: [WiX-users] Scheduling a Reboot After InstallFinalize
Thanks guys, appreciate the help. -Jonathan Wilson, Phil wrote: The sequencing of ScheduleReboot isn't usually very important - you can put it anywhere, and it just sets a flag to prompt for a reboot after the install. The action itself doesn't need to be after InstallFinalize. It's the ForceReboot action that is immediate. Phil Wilson -Original Message- From: jnewton [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 9:09 AM 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=100url=/ ___ 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=100url=/ ___ 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=100url=/ ___ 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=100url