This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: how to suppress reboot for repair installs?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 21, 2008
03:18 PM
how to suppress reboot for repair installs?
Hi,
We have an InstallScript project that runs several 3rd party msi installs. For a repair install we call msiexec with /f.
One of the packages causes the installer to reboot in the middle of the repair install when being run in silentmode. Apparently the /norestart option only works for first installs and not for repair installs.
Does anyone know how to do a repair install of an msi and suppressing the reboot?
Properties can't be passed in when using /f, so setting REBOOT=reallysuppress doesn't work either.
Thanks,
Sandra
We have an InstallScript project that runs several 3rd party msi installs. For a repair install we call msiexec with /f
One of the packages causes the installer to reboot in the middle of the repair install when being run in silentmode. Apparently the /norestart option only works for first installs and not for repair installs.
Does anyone know how to do a repair install of an msi and suppressing the reboot?
Properties can't be passed in when using /f, so setting REBOOT=reallysuppress doesn't work either.
Thanks,
Sandra
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 24, 2008
01:41 PM
Sandra,
Everything you described works as expected when you run MSI packages in silent mode during initial install and repair. You won’t be able to do anything via command line for repair, because during this mode the installation doesn’t use the source package ( default is “omus” option) but cached one. In fact even if you will use original package with “omusv” option you still cannot pass parameter into the MSI in this mode. Yes, as I mention before your parameter “REBOOT=reallysuppress” is correct but just not used. Now you still need to solve your problem I guess 😉
Here is the solution which I didn’t try myself, just didn’t have such task, but should work for sure. When you use 3d party MSI installers, do not use command line to pass parameters; you will be able to pass it ones during installation and all other modes won’t have this information; instead you need to create .MST transform with ORCA and set properties you need here. Of cause in your case you need REBOOT property, because you don’t want reboots at any moment. Don’t forget to take care in your main installation about reboot. You still need to have it, but at the end of installation. When you install MSI first time, use this MST via command line and in this case the MSI which will be cached on the computer and used during repair will include this transform and REBOOT property will be set forever.
Well I would say finally that this is not a solution, but “hack”, because you are using 3d party MSI and should not suppress reboot if this package require by some reason ( file in use, force reboot, etc. ); but in your situation it will do the work.
Everything you described works as expected when you run MSI packages in silent mode during initial install and repair. You won’t be able to do anything via command line for repair, because during this mode the installation doesn’t use the source package ( default is “omus” option) but cached one. In fact even if you will use original package with “omusv” option you still cannot pass parameter into the MSI in this mode. Yes, as I mention before your parameter “REBOOT=reallysuppress” is correct but just not used. Now you still need to solve your problem I guess 😉
Here is the solution which I didn’t try myself, just didn’t have such task, but should work for sure. When you use 3d party MSI installers, do not use command line to pass parameters; you will be able to pass it ones during installation and all other modes won’t have this information; instead you need to create .MST transform with ORCA and set properties you need here. Of cause in your case you need REBOOT property, because you don’t want reboots at any moment. Don’t forget to take care in your main installation about reboot. You still need to have it, but at the end of installation. When you install MSI first time, use this MST via command line and in this case the MSI which will be cached on the computer and used during repair will include this transform and REBOOT property will be set forever.
Well I would say finally that this is not a solution, but “hack”, because you are using 3d party MSI and should not suppress reboot if this package require by some reason ( file in use, force reboot, etc. ); but in your situation it will do the work.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)