A row with this key [...] was already registered in the table - Advanced Installer Community
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

A row with this key [...] was already registered in the table

Hello

We are getting "A row with this key [...] was already registered in the table" error while building the Installer from Command line. We found the same is working fine, when built from the GUI.

Attached is the project file.

Thanks
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: A row with this key [...] was already registered in the table

Here is the attachment
Attachments
iRely Accounting_upgrade_64bit.zip
(88.48 KiB) Downloaded 424 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A row with this key [...] was already registered in the table

Hello,

Can you please try to make sure that no other operation is done when building from command line? There is no difference for the build operation when building from the UI or from the command line.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: A row with this key [...] was already registered in the table

Hi Dan,

Yes, we checked to see is any other running on the same but its not.

Thanks
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: A row with this key [...] was already registered in the table

Hi Dan

Here is the commands that we used for building,

17-Sep-2015 06:19:23D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1>"C:\Program Files (x86)\Caphyon\Advanced Installer 12.3\bin\x86\AdvancedInstaller.com" /edit "D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1\INSTALLER_PROD\OriginInstaller\Upgrade\iRely Accounting_upgrade_64bit.aip" /SetVersion 15.3

17-Sep-2015 06:19:24 A row with this key [D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1\INSTALLER_PROD\OriginInstaller\Upgrade\help.ico] was already registered in the table.

17-Sep-2015 06:19:24 D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1>"C:\Program Files (x86)\Caphyon\Advanced Installer 12.3\bin\x86\AdvancedInstaller.com" /edit "D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1\INSTALLER_PROD\OriginInstaller\Upgrade\iRely Accounting_upgrade_64bit.aip" /SetOutputLocation -buildname DefaultBuild -path "D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1\Installers"

17-Sep-2015 06:19:24 A row with this key [D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1\INSTALLER_PROD\OriginInstaller\Upgrade\help.ico] was already registered in the table.

17-Sep-2015 06:19:25 D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1>"C:\Program Files (x86)\Caphyon\Advanced Installer 12.3\bin\x86\AdvancedInstaller.com" /rebuild "D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1\INSTALLER_PROD\OriginInstaller\Upgrade\iRely Accounting_upgrade_64bit.aip"

17-Sep-2015 06:19:25 A row with this key [D:\bamboo-home\xml-data\build-dir\ORGN-BASE1504-JOB1\INSTALLER_PROD\OriginInstaller\Upgrade\help.ico] was already registered in the table.


Hope this may help you 8-)

Please let us know asap.
Thank you.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A row with this key [...] was already registered in the table

Hello,

We analyzed the attached .AIP (project file) and it seems to be valid.
Also, we've successfully built the attached .AIP(project file) from the command line on our build machines (of course using dummy resources). Can you please make sure that the attached .AIP(project file) is the project where the build error can be encountered?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: A row with this key [...] was already registered in the table

Hi Dan,

Yes, we are using the same AI file still we are getting the same error.

Now even we are getting the error while opening the AI project itself.

Thanks
Attachments
2015-09-23 15_40_51-Clipboard.png
2015-09-23 15_40_51-Clipboard.png (33.72 KiB) Viewed 12861 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A row with this key [...] was already registered in the table

Hi,

In order to further investigate this, can you please send us the error report (Use the Send Error Report button) and the very last version of the .AIP(project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
karthick.k
Posts: 57
Joined: Tue Jul 14, 2015 1:30 pm

Re: A row with this key [...] was already registered in the table

Hi Dan,

I found this is happening when the installer project is copied to another directory and built. As the path specified for the icons are getting updated by itself, it is giving the error when we specify the same path referenced in the project.

We have changed it to update by itself and it works fine now.

Thanks for looking into it.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A row with this key [...] was already registered in the table

You're welcome,

I'm glad you got this working.
If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Re: A row with this key [...] was already registered in the table

I didn't change project since oct 23. Meanwhile advanced installer upgraded. Trying to do rebuild this morning gives this:

"Checking builds status... done.
Build required.

[ DefaultBuild ]
Building package (en): D:\DOKUMENTI\Projects\EPGP\Setup\Encryptomatic Open PGP-SetupFiles\EOPGP_Setup.exe
Preparing files... done.
Creating CAB file(s)... error.
A row with this key [1] was already registered in the table. Details

Build finished because an error was encountered."
velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Re: A row with this key [...] was already registered in the table

OK. I increased product version and restarted advanced installer and it passed. I sent you error reports. I am safe ;)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A row with this key [...] was already registered in the table

Hi velja,

I'm glad you got this working. However, if you get this error again, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
velja
Posts: 45
Joined: Tue May 14, 2013 12:01 pm

Re: A row with this key [...] was already registered in the table

Some additional info. It looks like Avast Free is causing this. First build fails with file in use error. Then even if you disable avast shields it fails with "A row with this key [1] was already registered in the table. Details". At that point if you restart advanced installer keeping avast disabled it will build the project successfully. It doesn't happen on every project.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: A row with this key [...] was already registered in the table

Hi Velja,

Thank you for your feedback. We will further investigate this on our end.

By the way it would be great if are you able to send us a project that replicates this behaviour. This will help us greatly to provide a solution in the shortest possible time.

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

Return to “Common Problems”