tn2006
Posts: 2
Joined: Thu Apr 18, 2013 9:04 pm

dialog question

I am using advanced installer professional 6.4.1 to create an MSI which installs a service on computers. The install process is rather simple, the users double clicks on the MSI the payload installs, a registry key is set and the service is turned on. There is very little interaction between the user and the installation since there is nothing to configure. During the installation process the MSI only shows two screens 1. "Preparing to install..." and 2. "Please wait..." message with a progress bar. The current MSI works fine however, users expect but do not get a message informing them that the installation process is finished. Ideally at the end of the installation process I would like to add a simple text message with no options which informs the user of a successful install. The message would display for 3 seconds and than disappear. From what I understand the enterprise version allows users to create custom defined dialogs which could accomplish such a task. But, is there a way to do it in professional?
tn2006
Posts: 2
Joined: Thu Apr 18, 2013 9:04 pm

Re: dialog question

Couple more items. We run the MSI in silent mode in order to use an active directory policy server side push. Also the windows installer displays the messages I mentioned in the last email.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: dialog question

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

Indeed, the "Dialog Editor" feature is available only in an "Enterprise" or higher project type and you can use it to create your own custom dialog. However, no dialog can be displayed if the MSI runs in silent mode.

Instead, you can display a message box using a "Script Inline" custom action which will be placed after "InstallExecutionSequence -> InstallFinalize" standard action, using the following code:

Code: Select all

createobject("wscript.shell").popup "Instalation Finish!", 3, "Wait 3 seconds...", 64
You can also take a look on the attached sample project.

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Attachments
test 6.4.1.aip
(6.35 KiB) Downloaded 408 times
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”