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 one product(I know it's GUID) in silent uninstall mode while instal
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
Dec 25, 2013
10:58 AM
how to uninstall one product(I know it's GUID) in silent uninstall mode while instal
hi All,
I need to uninstall one product(I know it's GUID) in silent uninstall mode while installing my product. I want to use silent uninstall command like msiexec /u GUID to uninstall another product while install my product, is it possible? can you please help me, can we launch another msiexec while installing one product?.
to explain my scenario more in detail.
we have released our product some time back and installer was designed to be installscript wrapper should install 2 setup.exe's , when we click on productSetup.exe, installscript wrapper launches first setupFile( lets say A), once it gets install completed 2nd SetupFile(lets say B ) will be launched. after completion of productSetup.exe installation, we can see 2 separate entries for 2 setupsFiles in add/remove programs and 2 separate registry entries . it is perfect
in our new release ,we are planning to add all 2nd setupFile(B)'s files to 1st setupFile(A) and one new featureNew is created in SetupFile(A) for all SetupFile(B)'s files.,
there is no more wrapper script is being used since we added all setupFile(B ) files to setupfile(A).
now we have only one installer that is Setupfile(A)
on upgrades , from previous release to new release(Setupfile(A)), whenever user selects this new feature FeatureNew , my setupFile(A) installer should uninstall SetupFile(B ) in silent mode. this is what requirement exactly.
my story is little big 🙂 , can some one please suggest me how to do it.
thanks
GMP
I need to uninstall one product(I know it's GUID) in silent uninstall mode while installing my product. I want to use silent uninstall command like msiexec /u GUID to uninstall another product while install my product, is it possible? can you please help me, can we launch another msiexec while installing one product?.
to explain my scenario more in detail.
we have released our product some time back and installer was designed to be installscript wrapper should install 2 setup.exe's , when we click on productSetup.exe, installscript wrapper launches first setupFile( lets say A), once it gets install completed 2nd SetupFile(lets say B ) will be launched. after completion of productSetup.exe installation, we can see 2 separate entries for 2 setupsFiles in add/remove programs and 2 separate registry entries . it is perfect
in our new release ,we are planning to add all 2nd setupFile(B)'s files to 1st setupFile(A) and one new featureNew is created in SetupFile(A) for all SetupFile(B)'s files.,
there is no more wrapper script is being used since we added all setupFile(B ) files to setupfile(A).
now we have only one installer that is Setupfile(A)
on upgrades , from previous release to new release(Setupfile(A)), whenever user selects this new feature FeatureNew , my setupFile(A) installer should uninstall SetupFile(B ) in silent mode. this is what requirement exactly.
my story is little big 🙂 , can some one please suggest me how to do it.
thanks
GMP
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 26, 2013
10:03 AM
You could use the LaunchAppAndWait to uninstall the previous product. The command line switch to uninstall an MSI is msiexec /x product.msi.
For setup.exe uninstall see this article for parameters: http://helpnet.flexerasoftware.com/installshield18helplib/IHelpSetup_EXECmdLine.htm
For setup.exe uninstall see this article for parameters: http://helpnet.flexerasoftware.com/installshield18helplib/IHelpSetup_EXECmdLine.htm