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!

jimprow
Posts: 1
Joined: Wed Apr 01, 2015 10:22 pm

Environment Variables require reboot

For the past year I have been getting an increasing number of calls about a problem that is caused by Environment Variables set during an installation not being available until the system is restarted. I found a few articles in the Forums related to WM_SETTINGCHANGE to force the system to read the changes but they seemed to say this should not be required.

Does anyone have a suggestion on how I can force the system to read the new or updated Environment Variables when the install completes?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Environment Variables require reboot

Hello and welcome to Advanced Installer forums,

Indeed, the modifications to the environment variables do not result in immediate change, so you do not have access to the newly created environment variables until the machine is rebooted.
Please take a look on our Environment Variables forum thread which debates this subject.

If you have other questions, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”