Serafín
Posts: 27
Joined: Wed Aug 30, 2006 11:12 am

Incorrect property evaluation in custom launch condition

Hi,

I'm getting a problem evaluating condition for launch the installer.
I have got a main project that install other prerequisites. The same launch conditions are in all projects, in main project fails but in the others work well.

the main project is an EXE file while the others are MSI files.

anybody knows something about this?

TIA
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Incorrect property evaluation in custom launch condition

Hello Serafín,
I have got a main project that install other prerequisites. The same launch conditions are in all projects, in main project fails but in the others work well. the main project is an EXE file while the others are MSI files.
This may happens if the prerequisites are added as pre-install. The pre-install prerequisites are installed before the main installation package, while the custom launch conditions are checked at the beginning of the main installation package.

If you want to check the custom launch condition first, then you can add the prerequisites as feature-based or post-install prerequisites. This way your main MSI will execute first, evaluate the custom launch conditions and only after that will continue with the installation.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”