Hi Art,
Please note that you need to use a
property-based folder not a regular one. Here are the steps for your case:
- go to the
Install Parameters page and create a custom property
- set its name to
AKPSOFT and its value to "C:\"
- go to the
Files and Folders page
- create a property-based folder by using the custom property (AKPSOFT) and add your files in it
- go to the
Custom Actions page
- show the "InstallUISequence" -> "Begin" standard action (you can use the "Show Standard Action" button on the toolbar)
- under "Begin" create a new "Property set with Formatted" custom action
- set the "Property Name" field to
AKPSOFT (the property of the folder)
- set the "Formatted Text" field to
[CommonAppDataFolder]akpSoft
- set the "Expression" field to
VersionNT <> 600 (non Vista OS)
- under this custom action create another "Property set with Formatted" custom action
- for the new custom action set the "Property Name" field to
AKPSOFT
- set the "Formatted Text" field to
[WindowsVolume]Users\Public\akpSoft
- set the "Expression" field to
VersionNT = 600 (for Vista)
Depending on the target OS, the AKPSOFT property-based folder will be resolved to a folder in "All Users\Application Data" or to a folder in "Users\Public"
Regards,
Cosmin
FOLLOW US
Get the latest news in Application Packaging