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

Custom action for button

Hi,
I'm working with basic MSI project. One of the dialogs should appear when the user has to install an application prior to the current installation. I'm using a pre-made dialog but I want to create a custom button that will direct the user to a specific URL.
Is that possible? :confused:

Thanks
Labels (1)
0 Kudos
(3) Replies
dan_galender
Level 10

Create a custom action that launches the web browser pointing to the web page you want. Then in the Dialogs view, go to the Behavior node of the dialog box, select the button, and add a DoAction event whose target is the custom action you created.
0 Kudos
lilache
Level 3

I would do that.
Thanks 🙂
0 Kudos
AshishBhatt
Level 3

following thing can fulfill your purpose

LaunchAppAndWait(path for browser exe, url you want to launch, LAAW_OPTION_HIDDEN);


for eg

LaunchAppAndWait(PROGRAM_FILES^"Internet Explorer"^"iexplore.exe", "http://www.google.com", LAAW_OPTION_WAIT);
0 Kudos