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 variable in InstallScript project


1 reply to this topic

anand_g2

anand_g2
  • Members
  • 4 posts

Posted 02 April 2004 - 11:14

Hi All,

How do I set "system" environment variables in InstallScript project.

I tried updating "SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment"," registry key, but I guess it needs a reboot to take effect.

Is there something I am missing...?

Thanks for the help in advance...

regards,
Anand G


Ozone

Ozone
  • Full Members
  • 77 posts

Posted 02 April 2004 - 15:44

Look in your IS help for details to use:

BatchAdd(szKey,szValue,szRefKey,nOptions)

or

EzBatchAddPath(szKey,szPath,szRefDir,nPosition)