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

Uninstall not working


1 reply to this topic

jsalil

jsalil
  • Members
  • 17 posts

Posted 21 January 2003 - 08:09

Hi,
I'm facing a problem with UNINSTALLKEY and UNINSTALL_DISPLAYNAME.
I'm using standard projects, on InstallShield Developer 7.02, and am not using any Custom Actions.
I have a SetupA that calls DoInstalls to Install SetupA1 and SetupA2.
After setup, "Add-Remove programs" shows entries SetupA, SetupA1  and SetupA2.
I actually want only the entry of SetupA to be present there.
For this, i put the statement UNINSTALLKEY = ""; in the OnFirstUIBefore() functions of SetupA1 and SetupA2. (I tried putting UNINSTALL_DISPLAYNAME = ""; initially, but it does not work and Add-Remove programs still shows the entries.)

UNINSTALLKEY = ""; works fine, and now i see only SetupA entry in the Add-Remove programs. But when i try to Uninstall it, i face a problem.
If I have the setup.exe for the above 3 setups under C:\Setups, i need to have the same files (including .cab and .msi files)
while Uninstalling too. If these files are not present there, the uninstallation fails. I suppose this is happening because setup does not get UnInstallation information from the registry since in have put UNINSTALLKEY = "".
Can anyone suggest a work-around?
I basically want to avoid SetupA1 and SetupA2 entries from coming into the Add-Remove programs applet.

Thanks,
-Salil.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 23 January 2003 - 18:50

You're using the Standard project type and no custom actions? So I better move your question from the Custom Actions forum to the InstallShield Developer - Standard Projects forum...