Installshield The specified File key not found in the File table
Asked Answered
T

5

7

I've packaged my WinForms app with the Visual Studio Installshield Limited Edition wizard.

When installing the app, I get this error during installation.

Error 2715. The specified File key ('myappname.xml_serializa') not found in the File table

Any ideas from anyone? I'm completely loss on this one.

Tani answered 27/8, 2013 at 8:24 Comment(7)
What version of Visual Studio? What type of installshield wizard? I'd recommend using the Orca tool to examine the MSI file you are using, there are a lot of tutorials online. support.microsoft.com/kb/255905Fanni
Thanks, will check it out. I'm using VS2012 and the default built-in Installshield option for winforms.Tani
There isn't any default installshield option for winforms in VS2012.Fanni
Well, I added a new project in VS2012, chose Other Projects, and selected 'Setup and Deployment'. Then I selected the only available option of Installshield, and went through the wizard step-by-step.Tani
What level of VS2012 do you have? I have Premium and there isn't a default option for installshield. It might be Installshield LE.Fanni
I understand your question now. I was thinking of what option for Installshield, and not what Edition. But yes, it is Installshield LE.Tani
In my case I made a mistake when i clicked the buttom Add project output. Check if it's the same in your case.Amoral
G
12

In your installer project directory, open the *.isl file and search for the text in your error message, myappname.xml_serializa. It will most likely be in there quite a few times. Either remove it or correct all instances of it.

Griswold answered 8/9, 2013 at 17:3 Comment(1)
Thanks a lot for the reply. I've opened the isl file in Visual Studio and did a search just for 'serializa', but there were no matches.Tani
L
4

I had a similar problem recently and found out that it didn't find the key because I was not adding the .primaryoutput file on the section Specify Application Data -> Files. Check if you are adding all the necessary files for your setup before creating the installer. The installer will be created even if it doesn't have all the files, but it won't execute properly.

Hope this helps

Long answered 19/5, 2015 at 12:57 Comment(1)
This worked for me when I combined it with stricq's answer above: first remove all references to the component in the .isl file, then add the files in Visual StudioShaynashayne
E
2

Changing the *.isl file resolved our issue. I found that we had changed the .NET framework of a project and when we removed the project output from the Installshield using the prompt it did not update this file so when we added the output again it now contained two outputs. OUTPUT and OUTPUT1. Hope this helps

Estey answered 7/12, 2015 at 17:0 Comment(0)
O
1

This is what worked for me: The project in my case was readonly as it was connected to TFS. If you are working offline, make sure you make the project files writable. (Uncheck Read Only at the folder level)

Obolus answered 17/1, 2016 at 12:52 Comment(0)
P
0

This worked for me:

  1. In your setup project double-click Project Assistant.
  2. Click on Application Files.
  3. Select file(s) with the file extension that was reported in the error message(s).
  4. Click on Delete.
  5. Repeat for any files as needed.
  6. Go back to setup project in Solution Explorer.
  7. Click on Rebuild
Plata answered 24/10, 2018 at 18:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.