Can I use user input (for example "CLIENT_ID" and users inputs in custom dialog is "777") and then put it as folder name under the "Common Application Data"?
The result must be something like this [Common Application Data]Prefix_[CLENT_ID].
Expanded variant:
c:\PogramData\Prefix_777\
Create two properties in the "Install Parameters" page like this:
CLIENT_ID and MY_FOLDER, where MY_FOLDER represents the property you use as "Property Based Folder" in the "Files and Folders" page.
In the "Custom action" page create two custom actions like this:
1. Under "InstallUISequence->Begin" create a "Property Set With Formatted" custom action. Set MY_FOLDER as "Property Name" and [Common Application Data]Prefix_[CLENT_ID] as "Formatted Text".
2. Now drag & drop (while shift key is pressed) this custom action to "InstallExecuteSequence->Begin".
In the "Dialogs" page you can create an "EditBox" with CLENT_ID as associated property. In this way you can change the folder name at install time.
FOLLOW US
Get the latest news in Application Packaging