Problem setting Path variable on Windows7

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Problem setting Path variable on Windows7

Postby elindauer » Fri May 25, 2012 12:36 am

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.
elindauer
 
Posts: 5
Joined: Fri May 18, 2012 2:00 am

Re: Problem setting Path variable on Windows7

Postby Bogdan » Fri May 25, 2012 11:56 am

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
http://www.advancedinstaller.com/
Bogdan
 
Posts: 2398
Joined: Tue Jul 07, 2009 7:34 am


Return to Common Problems

Who is online

Users browsing this forum: No registered users and 10 guests