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!

Blinker_Fluid
Posts: 1
Joined: Wed Jun 03, 2015 11:38 pm

MST File with IF Exists Statement

Hello. I'm attempting to install software via group policy. I have an MSI file. I'm creating an MST file using the Transform function of Advanced Installer.

The problem is that I only need to install the software on machines with another program installed. It's not a software upgrade. It would be like installing Java only on computers that have Adobe Reader installed.

I read through the documentation but couldn't find an easy way to make an "if exists" statement for the MST file.

Is there way to modify the existing MSI file or make an MST that would check to see if a folder, file, or registry entry exists before it installs?

Thanks!
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: MST File with IF Exists Statement

Hi and welcome to Advanced Installer forums,

After creating a new transform project pointing to the existing MSI you could add a search from the Search page and then use the search name in a custom Launch Condition.

You could also use the MSI Import wizard and simply add Adobe Reader as a prerequisite.

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

Return to “Building Installers”