Software Deployment Question

Run an executable from installed files

07/18/2012 7092 views


Can anybody help me in telling me how to execute an exe file from installed files. I am using wise studio to package this application. Any suggestions would really help me a lot.


Answer Summary:
See the below answer
0 Comments   [ + ] Show comments


Community Chosen Answer


You can use the following custom action

Execute Program From Installed Files
This custom action calls an .EXE file that is installed by this installation.

Before you add this custom action, add the file to be called to the Files page in Installation Expert

Ensure that you have added the file to be called to the current package

Shaded areas of MSI Script indicate restricted placement for this custom action; because this custom action calls an installed file, it must run after files are installed.


Double-click the custom action and complete the Details tab:

Custom Action Name

Enter a unique name for custom action

Executable File

Specify the .EXE file to run. It must have already been added to this installation.

Command Line


Enter command-line options to pass to the .EXE file.

On the Properties tab, In-Script Options is unavailable for this custom action.

Answered 07/18/2012 by: jagadeish
Red Belt

  • Thanks a million that helped a lot.

All Answers


The best place to run this action is just before Install Finalize.

If you have to launch an execuatable and want it to keep running and want the MSI to finish its actions then run it after InstallFinalize action in Async No wait.

Answered 07/18/2012 by: piyushnasa
Red Belt

  • Forgot to mention that part.. Thanks for pointing out..
    This custom action can not be sequenced before InstallFinalize standard action in Immediate Sequence... Can be sequenced after InstallFinalize standard action in Immediate Sequence..
    Also, It can be sequenced after InstallFiles standard action in Execute Deferred sequence..

    As Piyushnasa mentioned, you can sequence it after InstallFinalize standard action in Execute Deferred
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ