We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

NovaES
Posts: 149
Joined: Tue Feb 24, 2015 5:20 pm

Run a file from my installer

Hello friends.

I would like to ask you a question.

I wonder how I can run my installer file before the end of installation.

I mean, I want to run a file with a parameter (command) before the end of installation. Or else, if you can run two files at a time when the installation (where I have checked the box to run one of the main file of my program) and can run the main file but at the same time run another ends but with a parameter.

It's posible?
Thank you
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Run a file from my installer

Hi,

To launch a file, you can use the predefined Launch file custom action. This is a predefined attached custom action. It allows the launching of a file into execution or opening of a folder (the same action that occurs when you double-click it in Explorer). Through the Command Line field you can specify command line parameters that will be passed to the target file.

Use the condition field from the Custom Action Properties to condition the custom action execution. The condition must be true for the Custom Action to be executed.

You can also take a look on the How to launch a file after an installation? article which may be useful to you.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”