cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Thesorus
Flexera beginner

Custom Action to launch EXE that is installed with the installer?

:confused:

I thought I edited that post with the full text...

My original problem was with launching a BATCH file from the custom action; I tried different scenarios, and nothing worked.

Since the BATCH file is a simple one liner that called an EXE, I ended up creating a custom action calling that EXE (installed filekey) instead.

That worked.

Thanks.
Labels (1)
Tags (1)
0 Kudos
3 Replies
Not applicable

Write a custom action to lauuch the executable

Hi

There are two ways to launch the EXE once installed

1. Launch exe immediately after installation is finished
-> Go to Project Assistant
-> Installation Interview Tab
-> Select "Yes" (Do you want to give users an option to launch your application when the installation completes?)
-> Browse the required executable file.

You can see the option enabled in the Setup Success dialog


2. Custom action to launch: If followed the above steps we can see a custom action is added to the Custom Actions window
-> Here make it Asynchronous (No wait for completion)
-> Immediate Execution
-> Always excute
-> Install Exec Sequence -> After InstallFinalize
-> Provide the condition _IsMaintanance = "Change" OR _IsMaintanance = "Repair"

With the above steps, it worked for me. Once try and see if it works for you or not !!!
0 Kudos
Thesorus
Flexera beginner

Thanks.

Thanks,

Max.
0 Kudos
tanvi_07
Flexera beginner

Re: Custom Action to launch EXE that is installed with the installer?

Hi , Can you please tell the sequence you used to call that exe file. I have a redist file(.exe) that I need to launch before main installation.

0 Kudos