jan.schneider.hi
Posts: 5
Joined: Wed Sep 02, 2009 9:22 pm

Exception - Unable to find row with id

I have a major problem with our actual setup project.
I saved the project and build the setup files yesterday evening. Now Advenced Installer throw an exception: Exception - Unable to find row with id: install.exe_347E0EEC_D5B6_B2FC_79C7DF02D7D1 in table: Binary.

What happens to our project? The build will work well and I don't delete any files.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception - Unable to find row with id

Hello,

This looks like it is being caused by a merge module, although I can not be sure. Could you send us your .aip project file to support at advancedinstaller dot com so we can further investigate the issue?

Thank you,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
mhatkinson
Posts: 32
Joined: Tue Apr 08, 2008 5:36 pm

Re: Exception - Unable to find row with id

Any progress with this issue? I'm experienceing the same thing.
When I click on a folder in advanced installer (one called "SystemFolder246EB7AD_...etc") I get that message. Also, at some point, the resulting .msi file has become 3MB bigger than it used to be even though the aip project hasn't changed. I almost wonder if it's a change to our build machine - some update or something that's now causing this.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception - Unable to find row with id

Hello,

Please describe your problem in more detail. Also please send your .aip project file to support at advancedinstaller dot com so we can further investigate the issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
mhatkinson
Posts: 32
Joined: Tue Apr 08, 2008 5:36 pm

Re: Exception - Unable to find row with id

Here's a more detailed explanation. My .aip file is attached.

The project was originally built by importing an existing .msi so there’s some cryptic (to me anyways) folder names and references in our project. I don’t completely understand how files are extracted from the merge modules and placd into the correct directories or whatever. But anyways…

When the installer runs, it works fine and finishes. But when the installed application is executed we get an error that reads “This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”.
It looks like the files from one of the merge modules – the one named ‘Visual C++ 9.0 MFC (x86) WinSXS MSM’ don’t get moved to the System32 folder.

Now, the strange thing is that everything used to work fine and after a specific point in time, we started getting this behavior. In addition, for some reason, the .msi file that gets built is about 3MB bigger than it used to be and the folder structure within the .msi is different. We haven’t made any changes to the advanced installer project itself – it’s just that when I rebuild the msi, it’s bigger than it used to be. I wonder if it’s actually some Windows update that’s causing this or if the merge modules we’re using have changed.

Also, under ‘Files and Folders’, when I right click on either ‘SystemFolder.246EB7AD…’ or ‘WindowsFolder.21022.08…’ folders and choose Properties from the context menu, I get an error that reads “Exception – A row with this key [id WindowsFolder21022.08…] was already registered in the table.” And then the folder disappears.

Any insight to all this would be greatly appreciated.
Thanks,
Mark Atkinson
Attachments
CityViewApplicationBuilder.aip
(56.3 KiB) Downloaded 777 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception - Unable to find row with id

Hello,

Please send the .msi you imported to support at advancedinstaller dot com so we can further assist you with this issue.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception - Unable to find row with id

Hello,

We have further analyzed the problem
- you will find attached the fixed .aip. That certain exception should no longer appear
- we also noticed you added a few merge modules. Some of them mai contain the same files as the ones imported from the .msi. ( SystemFolder.246EB7AD_459A_4FA8_83D1_41A46D7634B7 )
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”.
Does this happen after your application has been upgraded?
Also, is this issue encountered on a fresh install? (not an upgrade)

Please note that the .msi import should be viewed as a starting point for your project.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
mhatkinson
Posts: 32
Joined: Tue Apr 08, 2008 5:36 pm

Re: Exception - Unable to find row with id

Hi Gabriel,
Thanks so much for looking into this. It's really appreciated.

Is the attached, fixed .aip file replaced above in the one I'd attached a few posts ago? I don't see the attached file in your last post.

The error that occurs when the app is launched ('This application has failed to start...application configuration is incorrect...') definitely occurs on a fresh install. End users have claimed that it also happens during an upgrade but I haven't seen that myself. I suspect that it doesn't happen when a user has upgraded from a version that previously worked (i.e. that installed the merge modules, manifests, etc).

I tried to attach the problematic msi file both here and in an email but in both cases the file was too big. I'll see if I can use FTP to send them

Mark
GabrielBarbu wrote: you will find attached the fixed .aip. That certain exception should no longer appear
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.”.
Does this happen after your application has been upgraded?
Also, is this issue encountered on a fresh install? (not an upgrade)
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception - Unable to find row with id

Hello,

Oops, sorry about that, here is the attachment.
CityViewApplicationBuilder.zip
(7.38 KiB) Downloaded 652 times
The error might occur because your application may depend on runtimes that are either not installed or it can not properly find them. Please check to see if all your application's dependencies are correctly installed and are found by your application.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
mhatkinson
Posts: 32
Joined: Tue Apr 08, 2008 5:36 pm

Re: Exception - Unable to find row with id

We've had to create new .aip's by creating new projects and then merging older msi's (made from AI) because the resulting msi file that gets buit by Advanced Installer is different than it used to be - despite the fact that the .aip file hasn't changed.
That is, we haven't changed anything in our Advanced Installer projects, yet, the resulting .msi's no longer work.
This behaviour started the day after we installed some Microsoft Visual Studio updates. In particular, 'Windows SDK for Visual studio KB946733', 'Windows SDK for Visual Studio 2008 SP1 KB950424' and 'Windows SDK for Visual Studio 2008 SP1 KB946729'.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception - Unable to find row with id

Hello,

I am afraid there is not much we can do about this. It appears your application is missing dependencies. You can use Dependency Walker to check which dependencies your installed application is missing.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
mhatkinson
Posts: 32
Joined: Tue Apr 08, 2008 5:36 pm

Re: Exception - Unable to find row with id

Hi Gabriel,
Thanks for your help. Yes, I don't think it's an Advanced Installer problem but rather an issue that's a result of a change to the merge modules we're using.
Anyways, I think I have it working correctly now and fixed...except when we're trying to install on a Vista machine.
In that case we get the error shown in the attached image 'installererror.jpg'. I'm guessing that it's creating the folder that's highlighted in the other image attached called 'filesandfolders.jpg'.
That folders properties has the 'Create folder on target machine' checkbox checked but disabled. But, as far as I can tell, nothnig actually gets installed - it's empty. Any ideas?
I'll attach our current .aip file as well if that's any help.

thanks,
Mark Atkinson
Attachments
CityViewApplicationBuilder.aip
(65.42 KiB) Downloaded 855 times
filesandfolders.JPG
filesandfolders.JPG (111.04 KiB) Viewed 14564 times
installererror.jpg
installererror.jpg (35.51 KiB) Viewed 14564 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Exception - Unable to find row with id

Hello,

The merge modules have special logics to install the dependencies. Delete the "WindowsFolder.21022.08.Microsoft_VC90_MFC_x86..." from your project and use the merge modules instead to properly deploy the dependencies.
This should solve your problem.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
mhatkinson
Posts: 32
Joined: Tue Apr 08, 2008 5:36 pm

Re: Exception - Unable to find row with id

I'm unable to do that. When I try, I get a warning: "Some files and/or folders are referenced from other components and were not deleted" and the folders don't get deleted.
mhatkinson
Posts: 32
Joined: Tue Apr 08, 2008 5:36 pm

Re: Exception - Unable to find row with id

I'm unable to do that. When I try, I get a warning: "Some files and/or folders are referenced from other components and were not deleted" and the folders don't get deleted. That's in AI version 6.5

In 7.2.1, I get a similar message: "the items can't be removed because it is referred by other items. Do you want to search for those references?". Then when I click 'Yes', nothing happens.

Return to “Common Problems”