This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Using property in directory name?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 24, 2010
10:30 AM
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?
Is there a way to display the value of a property in a directory name? Or how would I accomplish this?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2010
03:25 PM
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?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 28, 2010
10:32 AM
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.
http://community.flexerasoftware.com/archive/index.php?t-188811.html
Seems I had the scheduling of my custom actions off a bit.