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: How To Use A User Entered Property Value As the Destination Directory For Files?
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
Jan 19, 2018
02:54 PM
How To Use A User Entered Property Value As the Destination Directory For Files?
Hello all,
I have created a basic MSI. It contains prompts for the user to enter a specific directory where files are to be installed. This entered value is stored as a property _PXPInsLoc. How can I use this property as the destination of a component that was defined that has the files to be installed?
I have attached a PDF with screen snapshots.
Thanks,
AJB
I have created a basic MSI. It contains prompts for the user to enter a specific directory where files are to be installed. This entered value is stored as a property _PXPInsLoc. How can I use this property as the destination of a component that was defined that has the files to be installed?
I have attached a PDF with screen snapshots.
Thanks,
AJB
(1) Reply
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 02, 2018
12:33 PM
I'm assuming all the Directory Name properties are created in the Fils and Folders view with default values. What you can then do is create separate "Set Directory" custom actions for each directory, I'm not sure if you should use different names for the entries or the same name but you could schedule the custom actoins when clicking the Next button.
Custom Action -> New Set Directory
Directory Name = DIRECTORY_NAME
Directory Value = [NEW_DIRECTORY_NAME]
DIRECTORY_NAME needs to exist in Directory table, can be created in Application Data - Files and Folders.
Custom Action -> New Set Directory
Directory Name = DIRECTORY_NAME
Directory Value = [NEW_DIRECTORY_NAME]
DIRECTORY_NAME needs to exist in Directory table, can be created in Application Data - Files and Folders.