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

Services fail to uninstall


1 reply to this topic

Mariscal

Mariscal
  • Full Members
  • 50 posts

Posted 30 July 2008 - 23:11

Hello,

I've run into an issue and I need some outside perspective. My services install and uninstall fine when the user installs to the default path of Program Files\App, but if they select something outside of PF, say C:\Temp, the files and services install fine, but they fail to uninstall. I think it has to do with the folder I have set to INSTALLDIR, that the install does not know where to look during the uninstallation. (Though the user-defined value for INSTALLDIR is set in the script.)

Can someone out there please suggest a solution? Thanks for any suggestions, because I am at a loss.

Mariscal

Mariscal
  • Full Members
  • 50 posts

Posted 05 August 2008 - 17:23

In case it's of use to anyone, the workaround to this is to create a registry key called [INSTALLDIR] under HKLM\Software\CompanyName\ProductName, and then add a System Search for this registry key for when the installation is in maintenance mode. After a clean install, you can see the install path stored in the aforementioned registry location; the key is removed during a Remove.