- How do I add a dialog after "SetupTypeDlg"?
- Why can't I have both a SetupType and a Folder dialog for my "First Time Install"?
- How can I modify the Dialog Repository path?
- How can I use a checkbox to condition an element in the installer?
- How can I show a language selection dialog?
- I am using the External UI and I have a custom action without sequence that sets a property. Why is the property empty on Install Execution Stage?
- Why is my EULA not visible in "LicenseAgreementDlg" dialog?
How do I add a dialog after "SetupTypeDlg"?
Any dialog can be added after "SetupTypeDlg". The principle is the same like for any other dialog. With "SetupTypeDlg" selected use the or toolbar buttons. The same options are available from the context menu once the dialog is selected.
This requires an Enterprise or Architect
project.
Why can't I have both a SetupType and a Folder dialog for my "First Time Install"?
The "SetupTypeDlg" and "FolderDlg" dialogs are mutually exclusive because they have the same purpose and they offer the same functionality. While "FolderDlg" allows you to simply set the installation path, "SetupTypeDlg" offers a little more through the "Custom" option (the "Typical" and "Complete" options use the default installation path).
How can I modify the Dialog Repository path?
The Dialog Repository path is stored in this registry entry:
HKEY_CURRENT_USER\Software\Caphyon\Advanced Installer\Settings\Repository Path
You can modify this registry value to the path you want.
How can I use a checkbox to condition an element in the installer?
You can create a custom checkbox by following these steps:
- make sure you are using an Enterprise or Architect project
- go to the Dialogs page
- create a new dialog or select an existing one
- create a checkbox on it
- in the Text field from the Properties pane set the text of the checkbox
- in the Property Name field from the "Properties" pane set the property of the checkbox (for example CHECK)
The property of this checkbox can now be used to condition any project element which has a condition field :components, custom actions, feature install levels, chained packages, environment variables, SQL Scripts, scheduled tasks, IIS elements, Windows Firewall settings etc. For example you can set the Install Condition to CHECK. This way when the checkbox is enabled the condition validates and when the checkbox is disabled the condition is not met.
How can I show a language selection dialog?
This can be done by using the EXE bootstrapper. First, you can add the languages you want by using the Languages tab of the "Translations" page. You should also make sure that you are building a multi-language package. After that, in the Bootstrapper tab of the "Media" page you can check the Create EXE setup file option and select Display language selection dialog (for multi-language packages).
When the installation is launched through the EXE bootstrapper, it should show a language selection dialog. The available languages are the ones selected in the "Translations" page.
I am using the External UI and I have a custom action without sequence that sets a property. Why is the property empty on Install Execution Stage?
Just make sure you are using a DLL custom action, and not a VBScript/JScript one. If you are using a VBScript or JScript custom action, you will need to convert it into a DLL custom action in order for the properties to get passed to Install Execution Stage.
Why is my EULA not visible in "LicenseAgreementDlg" dialog?
This could happen if Windows Installer does not recognize the format used to save the RTF file. To solve the problem open the RTF file using WordPad and use "Save As.." option to obtain a new file, then use this file in your setup project.