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!

Jayme65
Posts: 1
Joined: Sun May 26, 2013 1:39 pm

Execute a (temp) application, then delete it

Hi,
I was wondering how I should do to if I want to launch a (temp) app at the near end of install, then delete it before the installer quit?

So, the main application and date are installed, then the temp application is ran...and finally is deleted

How should I please do to achieve this sequence?

Thanks
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Execute a (temp) application, then delete it

Hi and welcome to Advanced Installer forums.

Thank you for your interest in Advanced Installer.

In order to achieve this you can follow the steps below:
- go in the Files and Folders page and use the [Temporary Files] toolbar button to add the file you want to run during the installation
- go in the Custom Actions page and add a "Launch file" custom action
- in the "File To Launch" field, write the name of your temporary file like in the example: [&myfile.exe]
- build and run the project

Let us know if this helped, otherwise give us more details about your scenario.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”