Re: Cab file problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Can you check if you have any dependencies (references) in your project pointing to full framework dlls instead of the Compact Framework versions?

--

Alberto Silva
http://www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development


"Andy Baker" <abaker@xxxxxxxxxxxxxxxxxx> wrote in message news:nrGdndjzQfNNDirXnZ2dnUVZ8sSdnZ2d@xxxxxxxxxxxxxxxxxxx
I have a VB.NET 2005 solution that has a Smart Device CAB project as part of it that creates my installation CAB file. It has been working successfully for months, and usually creates a CAB of around 2MB in size.

Suddenly and for no apparent reason I have started getting a CAB of about 20MB in size. Whan I looked at the detected dependencies list, it contains alot more files than it used to - including System .dll files that weren't there before and after I install it I get type load errors at runtime that suggests to me that files on the device are being overwritten when they shouldn't be. If I exclude all these files then rebuild the CAB, it works but I'm not sure if I am excluding something important.

I have not added any new projects / files to the solution and I don't know what I am doing differently. Also I am getting the same .dll file included more than once in the cab even though it is referenced once in the solution. Is this a problem. Any help would be appreciated. Thanks in advance.

Andy Baker


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4443 (20090921) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




__________ Information from ESET NOD32 Antivirus, version of virus signature database 4443 (20090921) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



.



Relevant Pages

  • Re: DHTML apps and Cab file
    ... I was long in as admin on the work station when I was test it. ... > One of the causes that the dll is not registering correctly when it ... >> CAB so it doesn't have to go to Microsoft Site. ... >> have the CAB with digital signature before it acctually install. ...
    (microsoft.public.vb.6.webdevelopment)
  • new questions about com control
    ... I've created the dll as a Windows Control Library project with VS 2003. ... Is a Smart Device Cab project a good way to create the CAB file? ... I've tried to create a .Net 2.0 Smart Device CAB project with the dll. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Custom Uninstall Question
    ... The CAB configuration file has a parameter for the custom setup dll file. ... The CAB file is copied and executed on the device itself so your custom DLL ... >>> settings that get created post installation. ...
    (microsoft.public.pocketpc.developer)
  • RE: DHTML apps and Cab file
    ... One of the causes that the dll is not registering correctly when it finishes ... > CAB so it doesn't have to go to Microsoft Site. ... > like it download and install it. ... > have the CAB with digital signature before it acctually install. ...
    (microsoft.public.vb.6.webdevelopment)