Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear all, I made a small project by .Net frame work (C#) , now I would like to make setup package of .Net for client. When I make setup file by using .net setup system. , It make setup package but its too big size of file such as 500MB which is too much to put on web. Is any idea to how to make small size of setup package? or any idea to summary just important library from .Net framework to include thier in my setup file.in the end I want to become my setup file small size (around 5 MB) and no need to install all .NET framework libraries
Many thanks in advance.
Posted
Comments
[no name] 30-Aug-12 10:50am    
The size is going to depend on what you put into the setup. It should only include what is needed to run your application. But if you wrote your application in .NET then your users will have to have the framework installed.
T.P.M 30-Aug-12 11:01am    
Thank you:
I want a way to install any small program that include important library from .Net framework or include my setup file(in install shield or wise installer v7 or visual studio 2008 setup project) the important library instead install .Net framework and Windows installer
[no name] 30-Aug-12 11:07am    
The problem with your thinking is that libraries depend on other libraries that depends on other libraries... getting all of those things together is a huge pain. More of a pain than I hope that you ever know. I have been there and done that. Just create a setup for your files. If the framework is not installed on the users computer then have the user, not you, install it. Otherwise you go around and around wondering why your application does not work on their computer because some DLL you never heard of is missing and you never thought in a million years that it would have anything to do with your app.
T.P.M 30-Aug-12 11:15am    
Ok,Ok in the end ,where I can find the library that I used in my visual studio 2008 windows forms application project to includ thier DLL files in my setup project in (another visual studio setup project)project,
Many thanks

1 solution

Remove all prerequisites in your setup project =)

Set "download prerequisites from website of the component owner" so the prerequisites will be downloaded from Microsoft or another vendor.

See these links:
http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/7508cbf8-01e5-4819-be3f-ff95da01b266/[^]

http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/IHelpSetPrereqRemove.htm[^]

http://www.dreamincode.net/forums/topic/231074-setup-and-deployment-in-visual-studio-2010/[^]

Hope it helps.
 
Share this answer
 
v3
Comments
T.P.M 30-Aug-12 10:58am    
Dear Christian Amado:
if I remove all prerequisites in my project the setup file will not running on client computer because .Net faramework and Windows installer are not installed.You can imagine :my idea is: creat setup file include all important library not need to install .net framework like any program we often install it and no need to install .Net framewrok.
Thank you for your answer and help me
Christian Amado 30-Aug-12 11:05am    
Improved solution :)
AmitGajjar 30-Aug-12 11:12am    
Correct 5+
T.P.M 30-Aug-12 11:17am    
I can't understand what you want to tell me.
Please explain.
Thanks
Christian Amado 30-Aug-12 11:24am    
Improved, again :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900