Marek
Posts: 24
Joined: Mon Dec 28, 2009 9:25 am

Environment variable 'Path' is not correct during install

env_error.png
env_error.png (482.07 KiB) Viewed 2942 times
My installer copies two DLL's files to "C:\Program Files (x86)\common files\trx shared\ssl" and append System variable 'PATH' as on image (look at windows: Command Prompt and Dependency Walker). After that the installer registers the other files, on example KonsolaLogger.dll. This operation creates error (look at window: TRX Konsola 2).

In my opinion the installer (process 2764 and his child's) has incorrect PATH variable for satisfy dependencies (look at window: msiexec.exe:2764 Properties).
It is necessary to the installer modify also their local environment if it modifies system environment.

Best regards
Marek
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Environment variable 'Path' is not correct during instal

Hi Marek,

Unfortunately the system is notified of the change of the environment variables after the installation process is completed. So you cannot use the environment variable under the same installation process which creates it.
Here's a MSDN article with the technical details.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”