search
Japanese Chinese Nederlands Espanol Italiano Deutsch Francais Twitter Rss Feeds
.NET Framework GroupsView
Deployment Server
.NET Distributed_Apps
.NET
.NET ADO.NET
.NET ASP.NET
.NET ASP.NET Security
.NET ASP.NET Webcontrols
.NET ASP.NET Web Services
.NET Clr
.NET Compact Framework
.NET Drawing
.NET Interop
.NET Micro Porting
.NET Performance
.NET Web Services
.NET Windows Forms
.NET Windows Forms Controls
.NET General
.NET Csharp
.NET Visual Basic
.NET Vc
.NET Security
.NET Xml
Scripting Jscript
Scripting Visual Basicscript
Scripting Wsh
Smartphone Developer
Visual Basic Com
Visual Basic Controls
Visual Basic Crystal
Visual Basic Database Ado
Visual Basic Syntax
Visual Basic Vista Compatibility
Visual Basic Winapi
Vc Atl
Vc Debugger
Vc Language
Vc Mfc
Vc Stl
Visio Developer Visual Basica
Vsnet Debugging
Windows Powershell
Windowsce Embedded Vc
Xml
Xsl

Group SummariesView
.NET Framework
Access
BizTalk
Certifications
CRM
DDK
Exchange Server
FoxPro
French
French .NET
Games
German
German .NET
Graphic Design
IIS
Internet
ISA Server
Italian
Italian .NET
Maps
MCIS
Miscellaneous
Mobile Application Development
Money
MSN
Networking
Office
Ops Mgr
Publisher
Security
SharePoint
Small Business
Spanish
Spanish .NET
SQL Server
Systems Management Server
Transaction Server
Virtual PC / Virtual Server
Visual Studio
Win32
Windows 2000
Windows 2003 Server
Windows 7
Windows Live
Windows Media
Windows Update
Windows Vista
Windows XP
 

View All Microsoft NET Csharp Posts  Ask A New Question 

make setup project smaller in size - Elliot

Tuesday, July 15, 2008 4:56 PM

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.
reply
 

Any alternative? - Elliot

Wednesday, July 16, 2008 2:35 PM

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?
reply

make setup project smaller in size - Pavel Minaev

Thursday, July 17, 2008 6:05 AM

ame

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.
reply

make setup project smaller in size - Pavel Minaev

Thursday, July 17, 2008 6:06 AM

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/details.aspx?FamilyID=3D4F7AE6FE-F4D1-41=
96-A372-80EAB6D56332&displaylang=3Den
reply

Previous Microsoft NET Csharp conversation.