elindauer
Posts: 5
Joined: Fri May 18, 2012 2:00 am

Problem setting Path variable on Windows7

I am trying to append [APPDIR] to the Path so that I can run the updater manually from my application. I find that the Path variable is changed during installations on WindowsXP machines, but not on Windows7.

Anyone else had a problem like this? AIP file and verbose log have been submitted to support, I will update this if they provide a solution.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Problem setting Path variable on Windows7

Hi,

In the log, at line 960 I can see the following: "An error occured while refreshing environment variables updated during the installation of ''. Some users logged on to the machine may not see these changes until they log off and then log back on."

Have you tried to log off and log on back, then check the environment variable?

Do you have any custom settings on the machine that could prevent this refresh operation started by the OS? Advanced Installer uses standard API from Microsoft for creating/editing environment variables, so it should work without any problems.

Also, as a side note, please do not duplicate a question on the forums if you have already sent us an e-mail with it. Both communication channels have the same priority to us, therefore posting the question in both places doesn't really help.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”