Installer reports invalid Setup - Advanced Installer Community
Moskito
Posts: 9
Joined: Tue Jun 26, 2012 8:17 am

Installer reports invalid Setup

Hello,

I have built a Setup and when using this Setup, it tells me an error.

Ungültiger Fremdschlüssel ('NAS') in der 'Feature_' Spalte der Tabelle 'Condition'.
Invalid foreign key ('NAS') in column 'Feature_' of table 'Condition'.

It is a big Setup with Serial numbers inside, so please let us Exchange the Project by email. The Problem seams to exist, since I activated licensing. Normaly it has gone when I toggled the builds-Settings on the organization page, but this time I cannot create a valid Setup.

What can I do?

Greetings

Horst
Moskito
Posts: 9
Joined: Tue Jun 26, 2012 8:17 am

Re: Installer reports invalid Setup

Hello,

I have some more Details. It seems to be related to stock keeping Units and Serials. If I use a build without a Feature, that is referenced in one of the stock keeping Units, the Setup is invalid.

Greetings

Horst
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer reports invalid Setup

Hello Horst,

Can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

Also, if you could isolate the behavior in a buildable sample (AIPs + its referenced files) this will be very useful for us too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Moskito
Posts: 9
Joined: Tue Jun 26, 2012 8:17 am

Re: Installer reports invalid Setup

Hello,

I just sent a complete Setup (small), that will reproduce the Problem.

Greetings

Horst
Attachments
AIP.rar
(330.93 KiB) Downloaded 463 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer reports invalid Setup

Hello Horst,

I've tested your installation scenario and I replicated the behavior. This seems to be caused by the fact that your second build doesn't include all features from "Organization" page. This is an Advanced Installer limitation and a fix will be available in a future version of AI, thank you for bringing it to our attention. We will notify you as soon as the fix will be out.

Until then, I'm afraid the only workaround would be to create two different AIPs (project files) for your current project builds.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Moskito
Posts: 9
Joined: Tue Jun 26, 2012 8:17 am

Re: Installer reports invalid Setup

Thank you,

I already did this solution

Horst
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installer reports invalid Setup

You're welcome Horst.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installer reports invalid Setup

Hello,

This was fixed in version 12.5 of Advanced Installer released on October 21st, 2015.

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

Return to “Common Problems”