Newbie... Running .cmd - Advanced Installer Community

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!

deadwood
Posts: 3
Joined: Wed Aug 15, 2007 10:36 am

Newbie... Running .cmd

Hi

Any help will be appreciated.

I am wanting to run a .cmd once the files have been installed via the msi, but BEFORE the windows services are created...
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

In order to accomplish this you go to the "Custom Actions" page and you add a "Before Finalization" standard action (you can do this by using the "Show Standard Action" button on the toolbar).

In the "Before Finalization" submenu there is a list of standard actions; the first one is "InstallFiles" and in the middle of the list is "InstallServices".
You can select any standard action you want between those two (for example "RegisterProgIdInfo").

Under the RegisterProgIdInfo folder you create a "Launch File or Open URL" custom action which will launch your .cmd file

Regards,
cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”