ans
Posts: 17
Joined: Tue Jul 26, 2011 9:06 pm

Prerequisites version check is broken (8.6)

It seems the min/max version requirement test for prerequisites is broken (8.6 Professional). Example:

- Prerequisite set to min: 1.4.4 and max: 1.4.4 (must match exactly)
- Installed version is 1.3.5

AI does not install 1.4.4 and leaves 1.3.5 in place! The installed product then is broken.

Am I missing somehting? Do the version requirements need a special syntax?

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

Re: Prerequisites version check is broken (8.6)

Hello,

Can you please send us the .AIP (project) to support at advancedinstaller dot com so we can investigate it?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ans
Posts: 17
Joined: Tue Jul 26, 2011 9:06 pm

Re: Prerequisites version check is broken (8.6)

This is the prerequisite component in the AIP:

Code: Select all

  <COMPONENT cid="caphyon.advinst.msicomp.PreReqComponent">
    <ROW PrereqKey="Render_Engine" DisplayName="Render Engine" VersionMin="1.6.2" VersionMax="1.6.2" SetupFileUrl="build\Render Engine.msi" Location="0" ExactSize="0" Win9xVersions="Windows 9x/ME" Operator="1" Options="m" TargetName="Render Engine.msi"/>
    <ROW PrereqKey="Render_Engine_x64" DisplayName="Render Engine (x64)" VersionMin="1.6.2" VersionMax="1.6.2" SetupFileUrl="build\Render Engine (x64).msi" Location="0" ExactSize="0" Win9xVersions="Windows 9x/ME" WinNTVersions="Windows NT/2k/XP/Vista/Windows7 x86" Operator="1" Options="mx" TargetName="Render Engine (x64).msi"/>
    <ATTRIBUTE name="PrereqsOrder" value="Render_Engine Render_Engine_x64"/>
  </COMPONENT>
I cannot send the entire project, but hopefully this is helpful. Both prerequisite products "Render Engine" have a separate upgrade id, of course. Neither of the two engines is detected as outdated when installing the parent product.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Prerequisites version check is broken (8.6)

Hello,

We don't need the entire project, just the .AIP file so we can investigate any other dependencies or reasons this may happen. Would it be possible to send that to our e-mail address?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ans
Posts: 17
Joined: Tue Jul 26, 2011 9:06 pm

Re: Prerequisites version check is broken (8.6)

I believe I found the issue:

In the Edit Prerequisite dialog, I edited the field "Ver Min:" under "Properties". I also had to edit the search criteria under "Install Conditions" (field: "Minimum Version"). It was not updated automatically and I just missed it. IMHO it should be updated automatically, or are the two entries completely unrelated?

Andre
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Prerequisites version check is broken (8.6)

Hi Andre,

These versions fields are not related. The fact that they use the same value for your prerequisite is a coincidence. One of them is for display and the other is part of installation logic.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”