cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
anom217
Level 8

Using property in directory name?

In the directory structure of my project under the INSTALLDIR folder, I want to have a directory named with the product's version, and everything will be installed under that, for example "Version 2.1". I tried using Version [ProductVersion] but the property didn't display the value when the directory was created.

Is there a way to display the value of a property in a directory name? Or how would I accomplish this?
Labels (1)
0 Kudos
(2) Replies
anom217
Level 8

Okay, I'm using a Type 35 custom action to set the directory. For the directory name I specify the identifier of the directory whose value I want to set. For the directory value field I set it to [ProductVersion]. I place the custom action after InstallInitialize in the Execute sequence, and during execution I get "Error 1606 Could not access network location 1.0.0.0". So do I have to place the custom action after the directory structure is physically created?
0 Kudos
anom217
Level 8

I found a solution here:
http://community.flexerasoftware.com/archive/index.php?t-188811.html

Seems I had the scheduling of my custom actions off a bit.
0 Kudos