Questions about editing dialogs - Advanced Installer Community

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!

BrandonK
Posts: 5
Joined: Thu May 01, 2008 4:20 pm

Questions about editing dialogs

I'm trying out Advanced Installer and have some (probably beginner) questions about editing dialogs:

- I've added the ShortcutsDlg to the First Time Install sequence. However, a startup icon doesn't make sense for my application. I'd like to remove the StartupShorcutsCheckBox (<- AI typo) control, but that option is grayed out. I set Visible = False, but it still shows up when the project is run. How do I remove/hide this checkbox?

- I've made minor cosmetic changes to almost all of the dialogs in this install, including some required by Windows Installer. Is there any way to share/import these dialogs into future AI projects we build?

Thanks for your help.
BrandonK
Posts: 5
Joined: Thu May 01, 2008 4:20 pm

Re: Questions about editing dialogs

- Do the Text controls support multiple lines? Is there a way to insert a carriage return/new line into a Text control?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Re: Questions about editing dialogs

Hi,
- I've added the ShortcutsDlg to the First Time Install sequence. However, a startup icon doesn't make sense for my application. I'd like to remove the StartupShorcutsCheckBox (<- AI typo) control, but that option is grayed out. I set Visible = False, but it still shows up when the project is run. How do I remove/hide this checkbox?
Those options are controlled from "Shortcuts Actions" tab in "Control" view. So to hide that check box uncheck the "Show "Start Menu Programs folder" option".
- I've made minor cosmetic changes to almost all of the dialogs in this install, including some required by Windows Installer. Is there any way to share/import these dialogs into future AI projects we build?
This can be done by using the "Dialog Repository" feature. Use "Move To Repository" option on dialog context menu. Read more about "Dialog Repository" here:
http://www.advancedinstaller.com/user-g ... itory.html
- Do the Text controls support multiple lines? Is there a way to insert a carriage return/new line into a Text control?
This is done by default and its controlled by the "No Wrap" control option. There is no need for carriage return/new line. Note that the wrap will not be visible in dialog preview.

Best regards.
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
BrandonK
Posts: 5
Joined: Thu May 01, 2008 4:20 pm

Re: Questions about editing dialogs

Thanks for your reply.
gigi wrote:Those options are controlled from "Shortcuts Actions" tab in "Control" view. So to hide that check box uncheck the "Show "Start Menu Programs folder" option".
Found this. Thanks!
gigi wrote:This can be done by using the "Dialog Repository" feature. Use "Move To Repository" option on dialog context menu.
To test Advanced Installer, I'm translating two related installs (client and server), and would like to keep the customizations in the two projects syncronized. The changes being made are cosmetic, involving wording and layout changes. What you suggest works for custom dialogs, but the option is grayed out for required dialogs like WelcomeDlg.

:?: Is there an easy way to "share" changes made to required dialogs between projects, or do I need to manually change each project?
gigi wrote:This is done by default and its controlled by the "No Wrap" control option. There is no need for carriage return/new line. Note that the wrap will not be visible in dialog preview.
I am trying to translate the wording and layout (below) from another installer tool to Advanced Installer.

Code: Select all

This [WIZARD] will install [ProductName] [ProductVersion] on your computer.

The [ProductName] software is used to perform data entry and run reports.  You should install [ProductName] on the computer of every user needing access to the application database.

- Click Next to start the installation.

- Click Cancel to exit [WIZARD].
:?: The text has multiple paragraph breaks. To achieve this text layout, do I need to use one Text control with new-lines, or multiple Text controls?

Thanks again,
Brandon
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Questions about editing dialogs

Hi,
Is there an easy way to "share" changes made to required dialogs between projects, or do I need to manually change each project?
Currently the mandatory installation dialogs cannot be moved to the repository. However, I have added this feature on our TODO list and it will be available in a future version. Thank you for your suggestion.

Until this feature is included you need to manually make the changes to each project.
The text has multiple paragraph breaks. To achieve this text layout, do I need to use one Text control with new-lines, or multiple Text controls?
The best approach is to use multiple Static Text controls (one for each line) because it gives you more control over the text. Also, please note that you cannot manually insert new lines into a static text control (this is done automatically when the text is wrapped).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BrandonK
Posts: 5
Joined: Thu May 01, 2008 4:20 pm

Re: Questions about editing dialogs

Currently the mandatory installation dialogs cannot be moved to the repository. However, I have added this feature on our TODO list and it will be available in a future version. Thank you for your suggestion.
An excellent enhancement. Until then I can modify these dialogs manually.
The best approach is to use multiple Static Text controls (one for each line) because it gives you more control over the text. Also, please note that you cannot manually insert new lines into a static text control (this is done automatically when the text is wrapped).
I'd like to suggest this as an enhancement too. It would make doing multi-line text layouts a lot easier, especially when translating to other languages.

Thanks for your assistance! :D
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Questions about editing dialogs

Hi,
I'd like to suggest this as an enhancement too. It would make doing multi-line text layouts a lot easier, especially when translating to other languages.
I'm afraid that this cannot be done because it is not supported by Windows Installer (Advanced Installer uses the Windows Installer engine).

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BrandonK
Posts: 5
Joined: Thu May 01, 2008 4:20 pm

Re: Questions about editing dialogs

I'm afraid that this cannot be done because it is not supported by Windows Installer (Advanced Installer uses the Windows Installer engine).
That's interesting... the installer product we're using now (but don't like) does have this capability. It's a minor thing, really. It would be nice to have if you ever thought of a way to do it.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Questions about editing dialogs

Hi,

Most likely the tool you are currently using does not work with the Windows Installer technology. Windows Installer does not support multi-line static text controls.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
invalidptr
Posts: 79
Joined: Thu Nov 18, 2010 7:10 pm

Re: Questions about editing dialogs

Those options are controlled from "Shortcuts Actions" tab in "Control" view. So to hide that check box uncheck the "Show "Start Menu Programs folder" option".
FYI, "Shortcuts Actions" does not appear in your help file. I had to find this thread to learn how to do this. Might I suggest adding to following to the "Optional Install Dialogs" help page. Something like
Show/hide or changing the default checkbox state is controlled from the "Shortcuts Actions" tab in "Control" view.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Questions about editing dialogs

Hello,

Thank you for your suggestion, I have forwarded your request to our technical writing team and the modification will be available in a future release.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”