Hello and welcome to Advanced Installer forums,
Thank you for your interest in Advanced Installer.
The
Internet Information Services feature is available starting with the professional project type. You can take a look on the
Advanced Installer Features by Edition article.
Because you want to let the user to provide a custom name for the website and a custom location for your website you will need the
Dialog editor feature which is available starting with the “Enterprise” project type.
In order to let the user to choose a custom name for their website you can go in the “Dialogs” page and add an
Edit Box control. You will further use the control property(by default it is
EDIT_1_PROP ) in the
Name field from the
Web Site Settings (e.g. EDIT_1_PROP).
To let the user to have a custom location for the website installation you can add a
path Edit control and make the same functionality as the one for the installation folder of the application.
Now you can go in the “Install Parameters” page and create a
new property. You can define a property something like:
Name field: WEB_CUSTOM_PATH
Value field: C:\My Application
Then, you can go in the
Files and Folders page and add a
property-based folder, which will be the installation folder for the IIS and choose the previos defined property. Property based folders will be resolved at install time to the values from the respective property.
Also in the
Custom Actions page you should add a
Set installer property predefined custom action
without sequence. You can edit its properties something like:
Property field: WEB_CUSTOM_PATH
Value field: [APPDIR]
You should schedule it in the “Wizard Dialogs Stage” after the “Paths Resolution” group.
If you need any help, please let us know.
Best regards,
Dan
FOLLOW US
Get the latest news in Application Packaging