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 run repair via commandline using setup.exe
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Nov 12, 2009
10:42 AM
How to run repair via commandline using setup.exe
Hi All,
I do have a question. I want to run a repair via the commandline and I am currently using this format.
msiexec /fomus {ProductGUID}
I want to use the setup.exe and just past the argument of the msiexec option but it's NOTworking. Am I missing something here?
setup.exe /v"/fomus {ProductGUID}"
Hope to hear your comments.
Thanks.
I do have a question. I want to run a repair via the commandline and I am currently using this format.
msiexec /fomus {ProductGUID}
I want to use the setup.exe and just past the argument of the msiexec option but it's NOTworking. Am I missing something here?
setup.exe /v"/fomus {ProductGUID}"
Hope to hear your comments.
Thanks.
(2) Replies
‎Nov 12, 2009
11:24 AM
It appears that setup.exe doesn't have a special installation mode command line argument to instigate a MSI repair operation. So it will be necessary to accomplish this with command line parameters directly to msiexec as in the following command line:
(silent repair)
setup.exe /v"REINSTALL=ALL REINSTALLMODE=omus /qn"
(basic ui repair)
setup.exe /v"REINSTALL=ALL REINSTALLMODE=omus /qb"
You can modify the value of REINSTALLMODE to control what is reinstalled during the repair. Also note that no MSI ProductCode should be passed in. This is because setup.exe will use the MSI file that it is associated with (via setup.ini).
REINSTALLMODE Property
http://msdn.microsoft.com/en-us/library/aa371182(VS.85).aspx
(silent repair)
setup.exe /v"REINSTALL=ALL REINSTALLMODE=omus /qn"
(basic ui repair)
setup.exe /v"REINSTALL=ALL REINSTALLMODE=omus /qb"
You can modify the value of REINSTALLMODE to control what is reinstalled during the repair. Also note that no MSI ProductCode should be passed in. This is because setup.exe will use the MSI file that it is associated with (via setup.ini).
REINSTALLMODE Property
http://msdn.microsoft.com/en-us/library/aa371182(VS.85).aspx
‎Nov 12, 2009
11:42 AM
Instead of passing the /fomus argument from my msiexec repair option. I can use the REINSTALLMODE property.
Thank you very much!
Thank you very much!