471,337 Members | 1,342 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

make setup project smaller in size

I have written a C# program and then make the setup project.
I specify the prerequisite (.NET Framework 3.5) to be downloaded as the same
location as my location. However, I find that my project built has almost
200MB because the folder DotNetFX35 occupies 194MB already.
How can I make it smaller?
I don't want the user download .NET Framework 3.5 on Microsoft's website.
Thanks for any idea in advance.

Jul 15 '08 #1
3 1739
On Jul 16, 12:56*am, "Elliot" <elliot_barc...@hotmail.co.ukwrote:
I have written a C# program and then make the setup project.
I specify the prerequisite (.NET Framework 3.5) to be downloaded as the same
location as my location. However, I find that my project built has almost
200MB because the folder DotNetFX35 occupies 194MB already.
How can I make it smaller?
I don't want the user download .NET Framework 3.5 on Microsoft's website.
Thanks for any idea in advance.
If you restrict yourself to .NET 2.0 (in Project properties, change
framework version to 2.0), it will be much smaller.

If this is not the option, you will have to wait for .NET 3.5 SP1,
which includes a so-called "client profile" - a significantly trimmed-
down version of .NET Framework suitable for running desktop
applications.
Jul 16 '08 #2
Any alternative?
My program has to use .NET 3.5.
If I use the .NET 3.5 SP1 solution, can I set that to be executed
automatically when users open my setup file, rather than users click .NET
3.5 SP1 to install and then click my program to install?
"Pavel Minaev" <in****@gmail.comwrote in message
news:0d**********************************@r66g2000 hsg.googlegroups.com...
On Jul 16, 12:56 am, "Elliot" <elliot_barc...@hotmail.co.ukwrote:
>I have written a C# program and then make the setup project.
I specify the prerequisite (.NET Framework 3.5) to be downloaded as the
same
location as my location. However, I find that my project built has almost
200MB because the folder DotNetFX35 occupies 194MB already.
How can I make it smaller?
I don't want the user download .NET Framework 3.5 on Microsoft's website.
Thanks for any idea in advance.

If you restrict yourself to .NET 2.0 (in Project properties, change
framework version to 2.0), it will be much smaller.

If this is not the option, you will have to wait for .NET 3.5 SP1,
which includes a so-called "client profile" - a significantly trimmed-
down version of .NET Framework suitable for running desktop
applications.
Jul 16 '08 #3
On Jul 16, 10:35*pm, "Elliot" <elliot_barc...@hotmail.co.ukwrote:
Any alternative?
My program has to use .NET 3.5.
If I use the .NET 3.5 SP1 solution, can I set that to be executed
automatically when users open my setup file, rather than users click .NET
3.5 SP1 to install and then click my program to install?
Yes, same as with any other 3rd-party installer.

Keep in mind that SP1 in general, and client profile in particular, is
still in beta though. If you want to go that way, you'll have to wait
until release. Meanwhile, you may just want to experiment with the
beta and see how much does it save you in terms of size:

http://www.microsoft.com/downloads/d...displaylang=en
Jul 17 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Stormbringer | last post: by
8 posts views Thread by Neil Robbins | last post: by
6 posts views Thread by scottyman | last post: by
1 post views Thread by =?Utf-8?B?TG9zdEN1Yg==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.