cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
fmoraleshtw
Level 3

Howto show a message to the user before running the installer?

Jump to solution

Hi, 

What is the best way to show to the user a simple message (like a popup) with an OK button, before the installer starts?. The user will click on the installer, and this message would be displayed ...after click OK, the installer will be executed.

Thks

Labels (1)
0 Kudos
(1) Solution
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @fmoraleshtw,

Thank you for your post.

Are you using a Basic MSI project? If you are using a Basic MSI project, you could try configuring an InstallScript custom action as <First Action> in the UI Sequence. For the InstallScript custom action, you could try configuring the custom action to call the MessageBox InstallScript function to display a message box with an OK button.

Here are two links to our documentation with more information about the MessageBox InstallScript function:

MessageBox
https://docs.revenera.com/installshield25helplib/installshield25helplib.htm#Subsystems/LangRef/helplibrary/LangrefMessageBox.htm

MessageBox Example
https://docs.revenera.com/installshield25helplib/installshield25helplib.htm#Subsystems/LangRef/helplibrary/LangrefMessageBox_example.htm

Please give these suggestions a try. Do they work for you?

I tested and confirmed that these suggestions worked for me.

Please let us know if you have any questions or concerns. Thanks!

View solution in original post

0 Kudos
(3) Replies
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @fmoraleshtw,

Thank you for your post.

Are you using a Basic MSI project? If you are using a Basic MSI project, you could try configuring an InstallScript custom action as <First Action> in the UI Sequence. For the InstallScript custom action, you could try configuring the custom action to call the MessageBox InstallScript function to display a message box with an OK button.

Here are two links to our documentation with more information about the MessageBox InstallScript function:

MessageBox
https://docs.revenera.com/installshield25helplib/installshield25helplib.htm#Subsystems/LangRef/helplibrary/LangrefMessageBox.htm

MessageBox Example
https://docs.revenera.com/installshield25helplib/installshield25helplib.htm#Subsystems/LangRef/helplibrary/LangrefMessageBox_example.htm

Please give these suggestions a try. Do they work for you?

I tested and confirmed that these suggestions worked for me.

Please let us know if you have any questions or concerns. Thanks!

0 Kudos

Works perfectly, thanks.

I'm happy to hear that, you're welcome @fmoraleshtw. Happy that I could help.

0 Kudos