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!

msommerville
Posts: 4
Joined: Tue Feb 28, 2006 6:14 pm

Prerequisite Properties

Is it possible to have a relative path to the installer for a prerequisite. I'm using 3.7.1 on XP.

The reason for this is I have had to bundle a number of third party installers with my own installer. One of these is a .exe and is a prerequisite for my software. The bundle is a self extracting archive to a temporary directory; from the temporary directory, a menu runs to allow the users to choose what packages to install.

With me so far?

My installer and the 3rd party one are unpacked to the same directory, however, I have no control over where that is, however, if I can give a relative path, it should work as the other installer is there (I've tried using a file:// URL but that didn't seem to work).

Alternatively, can I make AI bomb out with a "You must install package X first" message?

Any help gratefully received.

Thanks,

Malcolm
Ionut
Posts: 605
Joined: Tue Nov 22, 2005 11:29 am
Contact: Website

Hi,
With me so far?
Your explanation is not quite clear but I assume that your Prerequisite has more than one file, a feature which Advanced Installer does not currently support. A possible workaround would be to select the "Leave install files outside" radio button and the "Include CAB files into the MSI database" checkbox (in the Media page).
Alternatively, can I make AI bomb out with a "You must install package X first" message?
This can be done using a Launch Condition, which depends on the package that needs to be installed. Basically, you need to create a Search (for a file, registry value...) and use the result of that Search in the Launch Condition.

Regards,
Denis
Denis Toma
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”