Environment Variables - Advanced Installer Community
Trax
Posts: 46
Joined: Wed May 06, 2009 5:24 pm

Environment Variables

Our software creates a entry in the registry HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths that tell windows where to find the DLLs needed for out applicaiton. We do this so we dont have to EDIT the Systems Environment Variables. The problem is that if our software is installed on Citrix we need some of the value found in the Path variable under the Environment Variables in the system. Is there some built in property like [APPDIR] or [ProgramFilesFolder] we can use to get this value and use it when we build our regitry key?

Thanks
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Environment Variables

Hello,

Please take a look on the Reading environment variables forum thread which debates a similar subject.
You can also take a look on the Windows Installer Formatted Type article which may be useful to you.

Please let us know if that helped otherwise give us more details about your specific scenario (maybe exemplify).

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

Return to “Common Problems”