Orchid Software
Posts: 2
Joined: Thu May 19, 2005 5:44 pm

Environment variables and prerequisites

I am trying to use an environment variable in the "file to search" field of a prerequisite definition. The file to search is declared as [%GPIBDIR]GPIB-32.DLL. I can see that the environment variable is defined on my target system but the dll cannot be found during installation. The DLL is present on the target system and it has the correct version level but the installation process wants to install the prerequisite package anyway. Can environment variables be "seen" when checking prerequisites? If so, what is wrong with my path declaration? (GPIBDIR is defined as "C:\GPIB_32\" in this instance.)

Regards... John
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi John,

No, you can not use environment variables in the "File To Search" field.
When looking for a file, its path can be specified using Windows Installer Properties like [SystemFolder], [ProgramFilesFolder], [WindowsFolder], etc.

We added this feature to our TO DO list.

Regards,
Mihai
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com
Orchid Software
Posts: 2
Joined: Thu May 19, 2005 5:44 pm

Thank you for your reply Mihai. I can work around the problem for now but I do look forward to having this feature.

Regards, John

Return to “Common Problems”