Images in the MSI Setup - 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!

sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Images in the MSI Setup

Hi Support,

I want to add some custom images in the dialogs in the msi set up file without creating exe for the application. how can I do this? Its urgent .Please reply soon.

Regards
Sony
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Images in the MSI Setup

Hi Sony,

You don't need an EXE to customize the MSI dialogs of your package. What you need is to use the Dialog Editor, please note that this feature is available only in an Enterprise project.

Using it you can customize existent dialogs or create new ones. Only certain UI elements require Enhanced UI, therefore the EXE you are trying to avoid.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Hi Bogdan,

Thanks for the quick reply.

Please provide your suggestions in detail..

Regards
Sony
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Images in the MSI Setup

Hi,

Here is tutorial that shows how you can create a new custom dialog, with no images. The following tutorial shows how to display billboards on a dialog
from your package. But you can also display a bitmap without using the billboard control, just use the toolbox to add the desired bitmap control and afterwards set the desired image.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Hi Cosmin,

Thank you for the information.

I have another question..

I have some custom dialogs in my installer. There is a help button on the dialogs. Whenever "Help" button is clicked, a html page opens in the browser. Now the issue is that, the installation is not continued until the browser is closed. If the browser is opened, the focus doesnot return to the installer.i.e it will be under processing stage.

I have added the .html files as the temporary files in the temp location. I would like to continue the installation by clicking next button, even if the file is opened in the browser. Please let me know how to do it?

Regards
Sony
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Hi Cosmin,

Any updates??

Regards
Sony
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Images in the MSI Setup

Hi Sony,

Please make sure the custom action launching the browser is set to "asynchronous execution, do not wait for return".
Let me know how that worked for you.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Hi Gabriel,

It worked... Thanks

Regards
Sony
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Hi Gabriel,

I would like to know the sequence of the dialogs (on back and next button) that has to be displayed during first installs and maintenance mode installation.

I have many dialogs that has to be displayed based on the feature selection. During first install, the sequence of dialogs are displayed properly as per the conditions on back and next button, but the problem is during maintenance mode installation, I have added the AI_MAINT in the event conditions but even then the dialogs are not getting displayed correctly when the "back" button is pressed. I have number of conditions in the event wizard.

Could you please tell the correct way of having the condition/event sequence in the event wizard, on both "Back" and "Next" buttons..

Regards
Sony
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Images in the MSI Setup

Hello Sony,

You can condition the NewDialog events on the Next and Back buttons using the Condition editor. Use the Feature Action button in the condition editor.
You can also check our guide on conditionally displaying a dialog.

Let me know if this helps.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Hi Gabriel,

I believe that you have not got my issue.

I have already conditioned the custom Dialog events on the Next and Back buttons. But want to know how the installers executes/checks the sequence of custom Dialog events in the event wizard in the maintanence installation.

I have a another question....

I have added an exe in the temp location and launching it using "Launch File or URL" action.The files is launched and installed silently using "/S,/v,/qn" commands. During uninstallation, I have added the "Launch File or URL" action under the InstallFinalize and trying to uninstall the same exe file silently by using the "/S and /x" command line parameters. The custom action is not getting executed if the "Asynchronous execution, do not wait for return" option is selected.If "synchronous execution, check for return code" option is selected, the installer is throwing an windows installer error during uninstallation? Could you please tell me, if I am doing anything wrong...

Please provide quick response to my second question...

Regards
Sony
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Images in the MSI Setup

Hi Sony,

The InstallFinalize step is too late. That is when the temporary files are deleted. Try right before that standard action.

Regarding the sequence of dialog events, Windows Installer evaluates the published events on a button in the order in which they are found. You can see the order by selecting the button in our Dialog Editor under the Published Events tab. The events are executed upon pressing the button.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Hi Gabriel,

Please tell the exact standard action that should be used.

Regards
Sony
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Gabriel,

I have added the Launch File or URL" action under "Remove Files" standard action. The custom action is not getting executed if the "Asynchronous execution, do not wait for return" option is selected.If "synchronous execution, check for return code" option is selected, the installer is throwing an windows installer error.

Please tell the correct "Execution Properties" and "Execution Options" that I have to be set to uninstall the exe silently..

I look forward to hear back from you soon....

Regards
Sony
sony
Posts: 134
Joined: Wed Apr 07, 2010 9:55 am

Re: Images in the MSI Setup

Any Suggestions??

Regards
Sony

Return to “Common Problems”