Hello Michael and welcome to Advanced Installer forums,
In order to achieve that, you can proceed as it follows:
1. First, you can create a
search for the "D:\" drive. Based on this search, we will force the installation in
"D:\Program Files" folder.
2. After creating the search, you can go to
"Dialogs" page --> select
"FolderDlg" from
"First Time Install" section --> click on the
"Next" button --> under
"Published Events" tab click
"New..." and create an event as it follows:
Event: Set installer property value
Property: APPDIR
Argument: D:\Program Files
Condition: <the_property_which_stores_the_result_of_your_search>
This way, if the search was correctly done, we will modify the value of the
APPDIR property (this property represents the installation folder).
Hope this helps.
Best regards,
Catalin
FOLLOW US
Get the latest news in Application Packaging