Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

how to uninstall one product(I know it's GUID) in silent uninstall


2 replies to this topic

gmpk82

gmpk82
  • Full Members
  • 40 posts

Posted 25 December 2013 - 17:52

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 

 

 


Edited by gmpk82, 25 December 2013 - 17:53.


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 01 January 2014 - 11:41

You could add a Major Upgrade entry with the Upgrade Code of the installer you want to remove.



gmpk82

gmpk82
  • Full Members
  • 40 posts

Posted 22 January 2014 - 18:53

you are always Great!, your suggestion worked well. many more thanks for your helps, this issue was real hell for me, now I am all set.

 

 

regards

GMP