Environment variables not taking affect - 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!

mweintr
Posts: 10
Joined: Mon Sep 22, 2008 7:58 pm

Environment variables not taking affect

In my project, we create certain environment variables via the Search function that we need for Custom Actions at the end of the installation.

However, the scripts called by the Custom Actions don't recognize the environment variables, even when the Custom Actions are put in the Commit list.

Running the scripts manually post-installation works fine, but is not ideal. How can we remedy this?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Environment variables not taking affect

Hi,

Please note that an environment variable cannot be accessed by the process which creates it. Therefore, the environment variables created by your installation can be accessed only after the install process is finished.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”