We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ChuckO
Posts: 1
Joined: Mon Oct 14, 2013 4:16 pm

Advanced IIS Install Features

I'm attempting to generate an installer that allows the end-user to override the IIS website name (Provide a default name and location, but allow user override). From my reading of your help & forums this is possible, but only with an Enterprise and higher license. Is that true?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Advanced IIS Install Features

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
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”