473,394 Members | 1,865 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 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 1807
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ajay | last post by:
I have following code for a slide menu but i twiked it to work for a single level menu. Open it in a Browser to get a clear picture. I have 2 Qs 1) How to make first entry as non-link. i.e i...
6
by: afh3 | last post by:
Create a setup.exe deployment package and try to execute it on a server with 2TB of disk space. The installer will report that the drive is negative in size, and will therefore refuse to install. ...
2
by: Stormbringer | last post by:
Hello, I am trying to make an executable for one of my applications with cx freeze. All works ok although I must include python24.dll with it if I want to redistribute it. The big problem is...
1
by: Derrick | last post by:
I have an app that relies on text file data. The app .exe and .dlls are only around 500k, the data however, is hundreds of megs. I wrote a setup project for this, and it compiled, but the .msi is...
8
by: Neil Robbins | last post by:
I have created a setup project using the setup wizard and am now editing the properties of this project. I want to replace the default banner with one of my own. Could someone tell me what the...
6
by: scottyman | last post by:
I can't make this script work properly. I've gone as far as I can with it and the rest is out of my ability. I can do some html editing but I'm lost in the Java world. The script at the bottom of...
2
by: JM | last post by:
Hi, I have created a windows application which uses Microsoft.mshtml.dll for displaying browser window in the application for showing html. When I am creating a setup program, I have to...
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
1
by: =?Utf-8?B?TG9zdEN1Yg==?= | last post by:
I was told (I suspect incorrectly) to increment the Version of my setup project every time I build a new MSI or the MSI won't install. When I do that it tells me to change the ProductCode...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.