cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kaddy99
Level 3

Could not find dependent file! Warning -6248!

We keep getting this warning with a few of our third party dlls(most work and get added in the setup), but this one and a Telerik DLL don't.

C:\Program Files\MSBuild\InstallShield\2011Limited\InstallShield.targets : warning : -6248: Could not find dependent file C1.Win.C1Ribbon.2.dll, or one of its dependencies of component User_Interface.Primary_output


-6248

The missing file is required by the feature’s key file. Make sure the missing file is on the build system in the same directory as the feature’s key file.

If the dependency is not required, you can turn off .NET dependency scanning for the feature. To turn off dependency scanning, set the feature’s .NET Scan at Build property to None or Properties Only.


The dll gets copied to the output directory, it just won't get added to the msi? It is a required reference, as when it's removed, the project won't compile.

Any help would be appreciated, as we've been pulling our hair out trying to figure this out. We just recently starting using installshield w/TFS 2010.

Thank You!
0 Kudos
(9) Replies
kaddy99
Level 3

daily bump
0 Kudos
kaddy99
Level 3

daily bump
0 Kudos
kaddy99
Level 3

up up up up
0 Kudos
Madusree
Level 7

Hi,

Utilizing Dependency Scanners would have been Ideal ,but since this feature is not supported by InstallShield Limited Edition, I suggest you to use Dependency walker which can be downloaded from the following Link

http://www.dependencywalker.com/

Could you kindly confirm me if you are encountering this Error while building with Team Explorer?

Thanks,
Madu
0 Kudos
brennan_pike
Level 2

I am having the exact same issue as kaddy99 and am using Team Explorer to build.

Dependency walker seems a little complicated, but I'm looking at it right now.

If I add the .dlls as Files (destination computer's files) along with Primary Output, they are added to the MSI correctly, but when the .dlls aren't added as files to the setup project and only Primary Output is added, the .dlls are not added to the MSI.

Do you have any other words of wisdom to point kaddy and myself in the right direction?

Thank you very much.
0 Kudos
Madusree
Level 7

Hi,

To overcome this error you have to either add the dependent file to the Primary Output location or add a Reference to their Visual Studio project to the dependent file using Visual Studio’s Solution Explorer.

Thanks,
Madusree
0 Kudos
jonhayward
Level 2

Hi,

I'm having a problem with dependent files and TFS builds. I have all dependent files added as references in the VS project. When I build the IS2011 LE project inside visual studio all the dependent files are added to the MSI, but when TFS builds it (also when I use MSBUILD command line) lots of the dependent files are missing from the MSI.

Any ideas why, I feel like I keep running at a brick wall. :mad: :eek: :mad:
0 Kudos
reuvenyusupov
Level 3

I am using the InstallShield2019 and the same problem still exists.
Please supply a solution, we about to stop using REVENERA!

0 Kudos
varul
Revenera Moderator Revenera Moderator
Revenera Moderator

@reuvenyusupov : Is your primary dll or dll added in ism file has all the dependencies available in your build machine(where Installshield installed), for ex: if you have create a dll in a machine1 and if you try to build that dll using installshield in machine2 you will see this error, the dll dependencies also copied to machine2.

Can you try the steps in this KB article and see if it resolves the issue

https://community.flexera.com/t5/InstallShield-Knowledge-Base/Warning-6248-When-Using-Visual-Studio-NET-2003-Project-Outputs/ta-p/4636

https://community.flexera.com/t5/InstallShield-Knowledge-Base/Warning-6248/ta-p/4630

Also, check similar error community discussion

https://community.flexera.com/t5/InstallShield-Forum/warning-6248-cannont-find-dependent-file/m-p/87510#M59372

If you still face same error, Please open a case with our Support Team about this issue either by email at support@revenera.com, or dialing support number provided in below link

https://community.flexera.com/t5/Support-Information/Support-Contacts/ta-p/94720

0 Kudos