rdieter
Posts: 3
Joined: Thu Mar 17, 2005 11:56 pm

Exception - A row with this key [id ...] was already...

Every since upgrading to Advanced Installer 2.6.2 (from 2.5.x), I am having difficulties opening most of my existing Advanced installer projects. I receive the error:
Exception - A row with this key [id ...] was already registered in the table.

After seeing the error, AI opens with a blank/empty project.

What can I do? I would *really* like to avoid losing all my previous packaging work.
UdreaMihai
Posts: 90
Joined: Wed Mar 23, 2005 8:13 am

Hi,

This error message appears because of a rare condition in AI 2.5 where the same key was generated for different files. The generated MSI package was also faulty, with only one of the files ending up being installed, in all places.

The solution:

Remove one of the files with the same key (or all the files to be sure) in AI 2.5 and readd them in 2.6.

You can find out which files have the same key from the error message or by opening the AIP file in a text editor and looking under the caphyon.advinst.msicomp.MsiFilesComponent component, the "File" attribute of the ROWs.

Best regards,
Mihai.
Udrea Mihai
Advanced Installer Team
http://www.advancedinstaller.com
\

rare? not really...

UdreaMihai wrote: This error message appears because of a rare condition in AI 2.5 where the same key was generated for different files. The generated MSI package was also faulty, with only one of the files ending up being installed, in all places.
Rare? I'd have to say so far I've seen about 75% of my AI 2.5 pkgs hit with this problem. It's seems easy to duplicate. Have a file of the same name (case doesn't seem to matter) in multiple directories.

Thanks for the workaround.
Cata
Posts: 638
Joined: Thu Apr 10, 2003 7:37 am
Contact: Website

:) Rare for us at least - otherwise we would've cought it sooner...

You're welocome,
Cata
Catalin Rotaru - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”