modify the PATH variable - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

perrin_wolf
Posts: 28
Joined: Mon May 07, 2007 11:16 pm

modify the PATH variable

I need to add a new system PATH of JAVA_HOME, value: C:\Program Files\Java\jdk1.5.0_11

then edit the system variable PATH to include %JAVA_HOME%/bin (in the begaining of the varible value)

How would I go about this when creating a professional package?

thanks
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

This can be done in the "Environment" view. Read more about this here:
http://www.advancedinstaller.com/user-g ... ables.html

If the env variable (for ex: PATH) is a system variable then choose "Windows NT/2000 system variable" option. Also you can specify the behavior when the env var already exist (append, perpend, etc).

Also note that all environment variables set during installation will be available only after installation.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”