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 read the registry before installing.


2 replies to this topic

Thief

Thief
  • Members
  • 3 posts

Posted 25 February 2002 - 16:58

My application needs to know, via the registry, if Windows Scripting Host and WinZip are loaded, before continuing.


Irina

Irina
  • Members
  • 227 posts

Posted 25 February 2002 - 17:51

HI,
1. You can create the condition to detect all requirements. Go to the Organize Your Setup - General Information - Product Properties - Install Condition. See the Windows Installer Help, topic "Install a Product Conditionally".
2. Create your custom action to detect they and enter it in the User Interface sequence before the InstallWelcome dialog, or set it on the any Next button in the dialogs directly.

Leigh Ravenhall

Leigh Ravenhall
  • Members
  • 269 posts

Posted 25 February 2002 - 23:10

To read those details from the registry, use the AppSearch and RegLocator tables.  For exact details on what to enter into the tables, have a look at InstallShield Knowledge Base article Q103290