ddeepti.kulkarni
Posts: 17
Joined: Mon Nov 09, 2015 11:13 am

Change prerequisites wizard

Hello,

I want to change message given on prerequisites wizard dialogue. Is it possible?

Thanks,
Deepti
Attachments
Change prerequisites wizard
Change prerequisites wizard
Prerequisites.png (258.6 KiB) Viewed 13129 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Change prerequisites wizard

Hi Deepti,

Yes, in order to achieve this, you can go in the "Dialogs" page, expend the "Pre-install UI" folder and edit the text form the "WelcomePrereqDlg" dialog. However, please keep in mind that the "Dialogs Editor" feature is available only in an "Enterprise" or higher project type.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ddeepti.kulkarni
Posts: 17
Joined: Mon Nov 09, 2015 11:13 am

Re: Change prerequisites wizard

Thank you very much for your response.

I also want to check possibility to show custom error message instead of prerequisite wizard, which can be done by predefined launch condition from "Launch Conditions".

What I am actually looking for is:
1. Show only message box and possibly add download link on that message.
2. When message bix is shown then background welcome dialogue should not be shown.
3, Customize text/controls on message box.

Thanks.
Deepti.
Attachments
Message
Message
Message.png (135.38 KiB) Viewed 13115 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Change prerequisites wizard

Hi Deepti,

I'm afraid that the launch conditions message box does not support text editing, neither an URL to a web location. You can create your own custom action to achieve this. Also, you need to set that custom action to return a value different than "0" (success), for the installer to fail in case the message is displayed.

If you want to display that message box before the "WelcomeDlg" dialog, you can add your custom action right after the "Wizard Dialogs Stage -> Searches" action group and use the [...] button from the right of the "Condition" field to be able to use the predefined conditions for it. At the bottom of the "Predefined Conditions" list you can see some software that you can check for.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
santoshadvanceinst
Posts: 22
Joined: Mon Nov 05, 2012 12:19 pm

Re: Change prerequisites wizard

Hi Eusebiu,

I have used custom action with one condition and condition specified was as follows:
Installed AND (NOT (REMOVE="ALL")).
Now I want to check following.

1. Internet Explorer 9.0 or higher
2. Microsoft Dotnet (.Net) Framework 4.0 or higher
3. Microsoft SQL Server 2008 or higher

Is there a way I can get conditions to check this. If I get the conditions I can use AND to check all and give message.

Regards,
Santosh
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Change prerequisites wizard

Hi Santosh,

As I mentioned above, you can use the predefined conditions to check for the version of the installed applications. In your case, you can use the following condition:

Code: Select all

(AI_DETECTED_IE_VERSION >= "09.0") AND (AI_DETECTED_DOTNET_VERSION >= "4.0") AND (AI_DETECTED_SQLEXPRESS_VERSION >= "2008")
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
santoshadvanceinst
Posts: 22
Joined: Mon Nov 05, 2012 12:19 pm

Re: Change prerequisites wizard

Hi Eusebiu,

I have added custom action but it is not executing and showing me message as desired.
I have attached my aip file in zip.
Can you please review and let me know what I am missing.

Regards,
Santosh
Attachments
Trial.zip
(63.46 KiB) Downloaded 535 times
santoshadvanceinst
Posts: 22
Joined: Mon Nov 05, 2012 12:19 pm

Re: Change prerequisites wizard

Hi Eusebiu,

"Yes, in order to achieve this, you can go in the "Dialogs" page, expend the "Pre-install UI" folder and edit the text form the "WelcomePrereqDlg" dialog. However, please keep in mind that the "Dialogs Editor" feature is available only in an "Enterprise" or higher project type."

Based on above feedback I did try to create an enterprise project so that I can try to make changes in prerequisite wizard but I am not seeing the option as mentioned. (Pre-install UI). Where is exactly to look for?
Can you please guide us as to where to look for exactly.

Regards,
Santosh
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Change prerequisites wizard

Hi Santosh,
I have added custom action but it is not executing and showing me message as desired.
I have attached my aip file in zip.
Can you please review and let me know what I am missing.
I noticed that your project is configured with an older version of Advanced Installer, however the support for detecting those software and put the results into the properties I mentioned was introduced in Advanced Installer 12.5 and that it why it does not work for you.
Based on above feedback I did try to create an enterprise project so that I can try to make changes in prerequisite wizard but I am not seeing the option as mentioned. (Pre-install UI). Where is exactly to look for?
Can you please guide us as to where to look for exactly.
I'm afraid that this option was also added in a newer version of Advanced Installer (13.2). In the old versions, you can go in the "Dialogs" page, "Bootstrapper UI" section and use the "Override information text with .rtf file" option.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ddeepti.kulkarni
Posts: 17
Joined: Mon Nov 09, 2015 11:13 am

Re: Change prerequisites wizard

Hello Eusebiu,

We have downloaded Trial Version 13.4. But in that also we are not able to edit prerequisites wizard, Pre-install UI does not show any dialogue.
I have attached my aip file in zip.
Can you please review and let me know what I am missing.

Thanks,
Deepti
Attachments
Your Application.zip
AIP
(3.17 KiB) Downloaded 597 times
Verison
Verison
Version.png (19.65 KiB) Viewed 13076 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Change prerequisites wizard

Hello Deepti,

The "Pre-install UI" dialogs are available in the "Dialogs" page only if "pre-install" prerequisites are added in the "Prerequisites" page. If no such prerequisites is added, those dialogs are not available in the "Dialogs" page and they will not be displayed during the installation.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ddeepti.kulkarni
Posts: 17
Joined: Mon Nov 09, 2015 11:13 am

Re: Change prerequisites wizard

Hello Eusebiu,

Thanks, it worked!

We want to add check for following prerequisites:
1. Microsoft Dotnet (.Net) Framework 4.0 or higher
2. Internet Information Server (IIS) enabled
IIS check should work for 32 and 64 bit both
3. 8GB RAM – 16GB or higher RAM preferred

We are able to add check for "Microsoft Dotnet (.Net) Framework 4.0 or higher", can you please tell us how to add other prerequisites?
I have attached AIP modified to change prerequisites wizard and added check for ''Microsoft Dotnet (.Net) Framework 4.0 or higher".

Thanks,
Deepti
Attachments
Your Application.zip
(5.13 KiB) Downloaded 511 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Change prerequisites wizard

Hello Deepti,

To achieve this you can use the predefined options from the "Launch Conditions" page, "System" tab, "System Requirements" section and from the "Software" tab of the same page. You do not need to manually create them in the "Custom" tab.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ddeepti.kulkarni
Posts: 17
Joined: Mon Nov 09, 2015 11:13 am

Re: Change prerequisites wizard

Hello Eusebiu,

We do not want to add it in "Launch Conditions", rather we want to show it to user in prerequisites wizard which we want to customize.

We want to add check for following prerequisites and show it to user in prerequisites wizard if they are not installed.:
1. Microsoft Dotnet (.Net) Framework 4.0 or higher
2. Internet Information Server (IIS) enabled
IIS check should work for 32 and 64 bit machines, since client machine can have any configuration.
3. 8GB RAM – 16GB or higher RAM preferred


We tried to add IIS check through prerequisites but it is not showing in prerequisites wizard.
Also there is no facility check RAM in prerequisites. Please let us know how to achive it.

Thanks,
Deepti
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Change prerequisites wizard

Hello Deepti,
1. Microsoft Dotnet (.Net) Framework 4.0 or higher
To add this prerequisite, you can go in the "Prerequisites" page, select "Packages" and add it from the "Predefined Prerequisites" list.
2. Internet Information Server (IIS) enabled
IIS check should work for 32 and 64 bit machines, since client machine can have any configuration.
This can be also added in the "Prerequisites" page by adding a new Windows Features bundle and selecting it from the predefined features list. However, I'm afraid that this will not be displayed in the prerequisites wizard, it will only be enabled automatically during your main package installation.
3. 8GB RAM – 16GB or higher RAM preferred
This cannot be displayed on the prerequisites wizard either. It can only be set as a condition in the "Launch Conditions" page.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”