Martin
Posts: 6
Joined: Thu Oct 23, 2008 2:36 pm

No message box if launch conditions not met?

Hi!

I've got the following problem: our current project is a .NET application, so I enabled the "Minimum .NET version" checkbox with the appropriate version value. However, when I try to install our app on WinXP with no .NET environment (i.e. the launch condition is not met), the installer just does nothing. No message box appears, and not even the mouse cursor does turn into the usual hourglass, it's just as if you never tried to start the installer.

Naturally I would expect a message box telling the user to install the .NET framework. What do I have to do to make this work?

Thx in advance!
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: No message box if launch conditions not met?

Hi,

Is the package installed with no UI? Please note that the launch condition errors are not shown for a completely silent installation package (the package is simply not installed). If this is not the case, please send us the AIP (project) file you are using to support at advancedinstaller dot com so we can investigate it.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Martin
Posts: 6
Joined: Thu Oct 23, 2008 2:36 pm

Re: No message box if launch conditions not met?

A software prerequisite is set to install silently, so that seems to be blocking the message. Is there a way to install this prerequisite silently, but still have the launch condition message appear? The launch condition (.NET 2.0 needed) is supposed to block users from installing our app when they have no .NET Framework installed, the prerequisite has nothing to do with that, so it would be nice to be able to install the prerequisite silently while still informing users that they don't have .NET.

Thanks for your help so far.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: No message box if launch conditions not met?

Hi,
Is there a way to install this prerequisite silently, but still have the launch condition message appear?
Is the launch condition shown by the prerequisite or by the main installation package. If it is set by the main package, you can first install the prerequisite by disabling the "Check predefined launch conditions before searching for prerequisites" option in the Software Prerequisite page. After the prerequisite is installed, the package should be launched with full UI or at least basic UI in order to show the launch condition message. If the main package is launched with no UI, the launch condition will not be shown.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Martin
Posts: 6
Joined: Thu Oct 23, 2008 2:36 pm

Re: No message box if launch conditions not met?

Thanks a lot! :)

Return to “Common Problems”