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

Uninstalling earlier version from MSI project


3 replies to this topic

in_install

in_install
  • Members
  • 32 posts

Posted 24 March 2006 - 09:05

Hi all,

I am installaing a product using MSI Installer. For the product earlier, the install script type installer is used.


What I want is: Upgrade the Product..run the latest exe(using MSI project).....it need to check whether old version(Installed using install script installerer) exist...if yes...then uninstall the one silently...and install the latest version ...


How to do that??

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 24 March 2006 - 19:18

You would have to read the uninstall registry entry (using System Search). You could call the script based uninstaller from a custom action.

in_install

in_install
  • Members
  • 32 posts

Posted 28 March 2006 - 13:07

Will you please ellobrate this more.


When I call the the uninstallation msiexec /x {GUID} /qn from custom action, it shows error during installation, uninstallation can not be executed !!

GUID is for old product used old script based installer.

Edited by in_install, 28 March 2006 - 13:08.


antyagi

antyagi
  • Full Members
  • 121 posts

Posted 28 March 2006 - 13:29

Uninstalling Script based project with msiexec?? hummm doesn't look smart.
try this:
got o registry HKLM\Software\Microsoft\Windows\....\Uninstall\Product_key\UninstallString
and execute this key.

  ankur tyagi