Hi,
Windows Installer does not have a predefined property for this folder. You need to create a "Property Based" folder. Here is how to do it:
Create a property in the "InstallParameters" page and name it MY_DIR for example. Switch to "Files and Folders" and create a "Property Based" folder with this property.
Now switch to "Custom Actions" page and create a "Property Set with Formatted" custom action under "InstallUISequence->Begin" section. Use following options for this custom action:
1. Property Name: MY_DIR (defined in the "InstallParameters" page)
2. Formatted Text: [%USERPROFILE]\Windows
3. Execution Condition: empty
Now drag & drop (while shift key is pressed) this custom action to "InstallExecutesSequence->Begin".
Let me know if you encounter any problems.
Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
FOLLOW US
Get the latest news in Application Packaging