Setting the IIS Certificate File at Runtime

InstallShield 2020

Project:This information applies to the following project types:

Basic MSI

You can choose to include a Configure SSL for IIS dialog (IISBrowseSSLCertificate) in your installer that enables the end user to browse to a IIS certificate file that they provide for the SSL Certificate and enter a password at installation runtime.

Configure SSL for IIS Dialog

To add a Configure SSL for IIS dialog to your installer, perform the following steps:

To add a “Configure SSL for IIS” dialog to your installer:

1. In the View List under Server Configuration, click Internet Information Services.
2. Right-click the Web Sites explorer and click Add Web Site. InstallShield adds a new Web site.
3. Select the new web site and locate the SSL Certificate and SSL Certificate Password properties under Security > Secure Communication.
4. Set the SSL Certificate and SSL Certificate Password properties to the following values:

Property

Value

SSL Certificate

[IS_IIS_WEBCERTPATH]

SSL Certificate Password

[IS_IIS_WEBCERTPASSWORD]

5. Open the User Interface > Dialogs view and add the IISBrowseSSLCertificate dialog to the dialog sequences.

The property name for the SSL Certificate and password configured by the user is required to update in the IISBrowseSSLCertificate dialog for the Edit boxes (IISWebCertPassword and IISWebCertPath) and the push button (BrowseCertificate) events.

See Also