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: 6596
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 3852 times
Hope this helps.

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

Return to “Building Installers”