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
- :
- How to uninstall another MSI in MSI?
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
Mar 30, 2011
12:56 AM
How to uninstall another MSI in MSI?
There are 4 EXE files in my product.(A.exe B.exe C.exe D.exe)
I create one MSI for each EXE file.(A.msi B.msi C.msi D.msi)
There is another EXE file in A.msi.
It is run by A.exe to download B.msi C.msi D.msi, and install them.
The property [ARPSYSTEMCOMPONENT] of B.msi, C.msi and D.msi is set to 1.
So it looks like one product.
The problem is how to uninstall B.msi, C.msi and D.msi while user uninstall A.msi in the [Add and Remove....]?
I tried to write a custom action in A.msi.(It is an DLL file)
There is a Function in the DLL to call "msiexec /uninstall {...} /qn".
But it always faild.
The question is
Q1:Which sequence should my custom action be put after it?
Q2:Is there any problem in Windows 7(UAC)?
I create one MSI for each EXE file.(A.msi B.msi C.msi D.msi)
There is another EXE file in A.msi.
It is run by A.exe to download B.msi C.msi D.msi, and install them.
The property [ARPSYSTEMCOMPONENT] of B.msi, C.msi and D.msi is set to 1.
So it looks like one product.
The problem is how to uninstall B.msi, C.msi and D.msi while user uninstall A.msi in the [Add and Remove....]?
I tried to write a custom action in A.msi.(It is an DLL file)
There is a Function in the DLL to call "msiexec /uninstall {...} /qn".
But it always faild.
The question is
Q1:Which sequence should my custom action be put after it?
Q2:Is there any problem in Windows 7(UAC)?
(1) Reply
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 01, 2011
09:45 PM
You can try the feature Chained .msi Packages in the Releases View.