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!

sekharsam
Posts: 12
Joined: Tue Aug 16, 2011 9:40 am

Lunch Batch File in Pre Install

How I lunch a Batch before installation
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Lunch Batch File in Pre Install

Hi,

If you want to launch a batch file before the installation, you can use one of the following methods based on your scenario:
1. add the batch file in your project using the "Temporary Files" toolbar button that is available in the "Files and Folders" page, then launch it using a "Launch file" custom action that is executed after the "Wizard Dialogs Stage -> Paths Resolution" action group
2. add the batch file as a "pre-install" prerequisite in the "Prerequisites" page
3. add the batch file in a simple MSI, launch it using a custom action, then add the simple MSI as a "pre-install" prerequisite in the "Prerequisites" page

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”