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 remove the Application from Add-Remove?


1 reply to this topic

Gabrielbh

Gabrielbh
  • Members
  • 1 posts

Posted 15 August 2002 - 07:30

Hi,

I'm creating an Upgrade tool and I don't want the user to be
able to uninstall it.

I want to remove the application from the Add-Remove panel during the installation, the problem is that I have to reboot the computer after installation because I replace registerd and locked DLLs and the installation can be completed only after reboot.

EberhardH

EberhardH
  • Members
  • 137 posts

Posted 15 August 2002 - 07:43

Hi,

to answer your first question: the user sees Add/Remove entries only in case there's a  registry entry
   DisplayName="<display_text>"
under
    HKLM\Software\Microsoft\Windows\Currentversion\Uninstall\<your_GUID>

If you have to perform additional tasks after the reboot: just use the OnRebooted() function which will be in effect if InstallShield sets the BATCH_INSTALL variable.

Eberhard