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!

dbanks
Posts: 4
Joined: Wed May 18, 2016 3:51 pm

stop install if..

Hey Guys,

i have 2 msi inside my exe package. exe will install both msi, 1 at a time and then perform a small modification that the current MSI dont do (delete left over folder from previous installs)

I cant figure out how to quit the package with errorcode if 1 of the msi fails to install. Right now, if 1 of the msi fails, it package keeps running, deletes the folder and then exits with success.

Is there any article or can anyone offer advice on a strategy ?

Thank you
DB
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: stop install if..

Hello,
Is there any article or can anyone offer advice on a strategy ?
Yes, you can use "Continue with main installation even if the prerequisite is not installed" option from the Prerequisite Properties Tab.

As described in the article, you must also have appropriate launch conditions for each MSI set with this option.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”