ClickOnce Bloat

  • Thread starter Thread starter Richard Coltrane
  • Start date Start date
R

Richard Coltrane

Hello,

Is there any reason why when viewing the size of the installation of my 20MB
application in Add/Remove Programs its listed as being 234MB??

Whats the deal there?

Thanks

Richard
 
Maybe the .NET Framework was included in your install???

===================
Clay Burch
Syncfusion, Inc.
 
Hi,
Is there any reason why when viewing the size of the installation of
my 20MB application in Add/Remove Programs its listed as being
234MB??

Well, I don't know either, but I can give you some hints:

- Locate %USER%/Local Settings/Apps/2.0/ and then a unique id for each
ClickOnce App.
- Do a right-click properties and for a 16MB (fresh) install I get some
68 MB used on disc.
This is, because the files are duplicated. There is only one folder,
that has the complete program (all files) and all other directories in
there have duplicate records of my dlls.
- Now comes another problem, if you make an upgrade. An upgrade does NOT
remove the previous version. So out of this almost 70 MB I will get
140 MB.
However, there will only be 2 installations kept on disc. If you
upgrade a second time, the first installation will be deleted... so
the disc space is not really gone forever ;-).
- So why do you have 234MB and I have only 2x68MB?
I am pretty sure, that most of your files are .NET assemblies. These
get duplicated into other directories. I have a lot of resource files,
and these don't get duplicated so often.

I don't know why all this happens but seems to be another story from MS
that goes under the title "sad but true" (just to mention Metallica here
;-) ).

hope this helps... and if you get a hint to shrink this - get back to
me; I am curious about that, too.

Markus
 
Hi Thanks for both your replies.

I actually overstated the size of my app...its 20MB with PDBS etc. Its
actually only about 5 MB. In fact if i follow your suggestion Marcu the size
of
%USER%/Local Settings/Apps including subdirs...is only 5.4MB??

Download size is 5.3 MB. If i remove the app my used disk size is 17 963 302
912 once i download its 17 968 926 720 which is consistent with download
size.

So it seems that on disk its right but its being misreported in Add-Remove
programs. Im not pre-reqing the .Net Framework at all.
I wonder where its getting its numbers from.....and if other files in other
directories are being taken into account??

Great why to freak out my users huh?? Whys your app so big, etc??

Richard
 
Back
Top