ihsiu1
Posts: 17
Joined: Tue Feb 21, 2006 4:36 pm

initial value for the property based directory?

Hi,

For the property based directory which I'll change its value on the fly,
if I use the default value, "Your Value", I'll get the error
"Could not access network location Your Value".

Using [APPDIR] or [TempFolder] has similar result.

C:\ is a valid value but how do I know if the target always has C:\?
What should I use for the initial value?

Thanks,
ihsiu
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,
Using [APPDIR] or [TempFolder] has similar result.
This is because the value of a Property can be set to the value of another Property only through a Custom Action (usually a "Property Set with Formatted" CA).
C:\ is a valid value but how do I know if the target always has C:\?
What should I use for the initial value?
The Windows boot drive letter is (almost) always C: (it can only be changed through registry manipulation for WinNT based systems as far as I know).

However, you can use the Windows Installer Property "WindowsVolume" which is set to the volume of the windows folder. Instead of setting the Property in the Install Parameters page, you will use a "Property Set with Formatted" Custom Action.

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”