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!

Alext
Posts: 5
Joined: Tue Dec 04, 2018 7:30 pm

CA during install & uninstall

Hello,

Pretty new at building Msi. :oops:
I need advice for my simple project.

I need to run an exe (installed by the msi) with some arguments at install.
I also need to run this same exe but with other arguments at uninstall.

Someone can point me in the right direction ?

Cheers,
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: CA during install & uninstall

Hello Alex,

In order to achieve this, you can use our predefined support for the "Launch File" custom action. This custom action lets you specify the arguments you need to pass through the "Command line:" field.

Also, in what regards the execution stage, you can either set it for "Install" or "Uninstall" from under the "Execution Stage Condition" section:
Capture.PNG
Capture.PNG (58.06 KiB) Viewed 4454 times
Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”