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

Environment Variables


1 reply to this topic

zaphod

zaphod
  • Members
  • 6 posts

Posted 13 May 2003 - 10:16

Hi,
I'm trying to read out some environment variables to customize my setup.
This means: If I have the variable 'Installation=TEST' is set the setup should install
the Beta-Files of the Application. If the variable is set to 'Installation=Prod' the
Productive-Files should be installed.

How can I realize it "the best way"?

Regards

anthonyh

anthonyh
  • Full Members
  • 93 posts

Posted 13 May 2003 - 16:37

You will want to create a type 51 custom action. This will allow you to set a property to the value of the environment variable. The row in the CustomAction table should look something like this.

Action: GetInstallationValue
Type: 51
Source: INSTALLATION
Target: [%Installation]



Anthony
Product Availability Developer
Avantis
Invensys Process Systems

Using InstallShield Developer 7.04 - Basic Project