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: folder name via property?
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
Oct 29, 2010
12:30 PM
folder name via property?
I would think that this would be easy. I'm trying to create/name a folder dynamically via a dialog (public property).
I've found postings discussing adding custom actions???? Is this the only way?
I have also tried the custom action for rename directory, but I get an error that it can not find the network resource (which is only the name of the direcotry I was setting?)?
I'm trying to use a property to set my folder name. My final installed structure is showing the property name??
[FOLDERNAME] = i.e. "C:\here\there\[FOLDERNAME]" ????
How can I set this based on a dialog I have where I set the property for [FOLDERNAME]???
I also have this same issue when I attempt to set the DSN name?
resource = [DSNNAME] on dialog form. I get error that [DSNName] is incorrect when I run the install.
Please note that my dialog where I set property's works in other areas of the installation, i.e. Website naming, registry settings, etc.
Thank you
I've found postings discussing adding custom actions???? Is this the only way?
I have also tried the custom action for rename directory, but I get an error that it can not find the network resource (which is only the name of the direcotry I was setting?)?
I'm trying to use a property to set my folder name. My final installed structure is showing the property name??
[FOLDERNAME] = i.e. "C:\here\there\[FOLDERNAME]" ????
How can I set this based on a dialog I have where I set the property for [FOLDERNAME]???
I also have this same issue when I attempt to set the DSN name?
resource = [DSNNAME] on dialog form. I get error that [DSNName] is incorrect when I run the install.
Please note that my dialog where I set property's works in other areas of the installation, i.e. Website naming, registry settings, etc.
Thank you
1 Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 01, 2010
12:58 PM
Never received a response but was able to do this (in case someone esle needs the help):
Created custom action, use wizard, create directory action, find directory name in dropdown that you want to alter, for Directory value put full path including property, then place action right BEFORE 'CreateFolders' action.
On uninstall it leaves the custom structure but I'm sure I can figure out how to remove it.
Created custom action, use wizard, create directory action, find directory name in dropdown that you want to alter, for Directory value put full path including property, then place action right BEFORE 'CreateFolders' action.
On uninstall it leaves the custom structure but I'm sure I can figure out how to remove it.
