473,796 Members | 2,573 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1825
On Jul 16, 12:56*am, "Elliot" <elliot_barc... @hotmail.co.ukw rote:
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.c omwrote in message
news:0d******** *************** ***********@r66 g2000hsg.google groups.com...
On Jul 16, 12:56 am, "Elliot" <elliot_barc... @hotmail.co.ukw rote:
>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.ukw rote:
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
4333
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 want to make first text as Table Heading/menu category. For examle in the given menu i want to make a heading as "Comp. Languages" which won't be a link. 2) The position of this menu is absolute to the page. I want to make it absolute to the Table...
6
1613
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. My client (who is trying to install the .NET webservices and ASP.NET apps I created for them) with the nifty new large disk partion is not the happiest... When will this likely be fixed?
2
2264
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 python24.dll size, it's 1.8 MB and I am sure I don't need much of what's in there. I downloaded python source code and built the dll using the VC 7.1 project (directory PCBuild/), still can't figure out how I can tweak the project so I get smaller...
1
1590
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 around 300 megs, and when trying to run it my machine goes out to lala land. (that's a technical term ya know). Anyway, is there any better way to package up the application data in a setup project so that the msi isn't so big? When I create...
8
7865
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 dimensions of the banner should be (in pixels preferably). I can do a rough match, but I'd rather things were a bit more perfect. As always any help would be greatly appreciated. Neil R
6
4904
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 the html page controls the form fields that are required. It doesn't function like it's supposed to and I can leave all the fields blank and it still submits the form. Also I can't get it to transfer the file in the upload section. The file name...
2
5464
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 include Microsoft.mshtml.dll in the Setup project. I am using VS 2003 Setup program and my app is in C#. Now the problem is the size of this dll is around 7.6 MB, so the size of setup program is huge.
15
6523
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 accept other controls. The control i drag drop on it becomes the child of my custom control's parent form and not the child of my custom control. Then i added this line "" before my custom control class (i dont know what this line does). Now
1
2998
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 property of the project which I suspect is a bad thing but I don't know any better so I do it anyway. I guess the question is: when should I increment the version of my setup project? And when I do should I change the ProductCode?
0
9684
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9530
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10017
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.