This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Unable to find key file component in dynamic linking
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 14, 2009
04:31 PM
Unable to find key file component in dynamic linking
I have an installer created using Dynamic Linking. When I am trying to create a patch with a later version, it gives me the following error "error Val0004: The file '_CBFA5EF4F65048A2A410D3CB24D934B9' in component '_EBCD693E56F39F0320ED64F239C2AA10' is different from the file in the previous package, but the key file for this component did not change. As a result, the changed file will not get installed in an upgrade scenario."
However I am not able to find the component '_EBCD693E56F39F0320ED64F239C2AA10' nor the file '_CBFA5EF4F65048A2A410D3CB24D934B9' in the msi. I tried searching the Direct Editor but no luck. Where can I find the component referred by '_EBCD693E56F39F0320ED64F239C2AA10'?
Even with the error the patch is working just fine. So where is the error coming from?
However I am not able to find the component '_EBCD693E56F39F0320ED64F239C2AA10' nor the file '_CBFA5EF4F65048A2A410D3CB24D934B9' in the msi. I tried searching the Direct Editor but no luck. Where can I find the component referred by '_EBCD693E56F39F0320ED64F239C2AA10'?
Even with the error the patch is working just fine. So where is the error coming from?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 15, 2009
08:34 AM
You might want to take the time to read the help and search these forums for more detailed information on dynamic file linking, if you haven't already. When you set up a dynamic file link, InstallShield generates a GUID for each component for the component table. Thus, you won't be able to find the GUIDs in your project, but should be able to find them in the compiled MSI file.
In short, if you are creating an upgrade, you need to optimize it in the release wizard so that InstallShield can try to use the same generated GUID for each file/component. If your dynamic link contains subdirectories, IS cannot match the GUIDs, and you could have trouble trying to patch.
In short, if you are creating an upgrade, you need to optimize it in the release wizard so that InstallShield can try to use the same generated GUID for each file/component. If your dynamic link contains subdirectories, IS cannot match the GUIDs, and you could have trouble trying to patch.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 15, 2009
03:13 PM
I did indeed find the said component '_EBCD693E56F39F0320ED64F239C2AA10 in the msi (thanks a lot), however i could not find the file '_CBFA5EF4F65048A2A410D3CB24D934B9'.
Could the patch validation give an error about a file which was never a part of the final msi (earlier msi), but could have been a part of the msi sometime in the past?
Could the patch validation give an error about a file which was never a part of the final msi (earlier msi), but could have been a part of the msi sometime in the past?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
08:28 AM
In InstallShield 2009 and earlier, Val0004 errors were often erroneously reported. InstallShield 2010 has eliminated the cause of these erroneous errors. (The revised Val004 error and message are described in the following InstallShield 2010 help topic: Val0004.)
So, if the patch is working fine, you should be able to safely ignore this error.
I hope that helps.
So, if the patch is working fine, you should be able to safely ignore this error.
I hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 16, 2009
09:45 AM
Thanks Debbie.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)