create setup project that includes .Net Framework

2019-02-18 15:40发布

I am creating a setup project. The client would like to have the setup.exe file that includes already the .Net framework 3.5 SP1.

However, when I right click setup project | properties On the "properties page" there is a button called "Prerequistes.."

There you have 3 choices: Vendors's website same location as my application download from following location.

However, the client doesn't want to download anything. So I need to package it with the setup.exe.

Is there any way to do this?

How big will the setup.exe, if it includes the .Net framework?

Many thanks for any suggestions,

3条回答
一纸荒年 Trace。
2楼-- · 2019-02-18 16:08

The full .net 3.5 sp1 installer is 231 Mb which is rather large to include on a disc. If you want to go down this route then this should help.

If it's just for a single client in a one-off scenario you could stick all the pre-reqs on a file share somewhere on their network and use the "Download prerequisites from the following location" option.

查看更多
我想做一个坏孩纸
4楼-- · 2019-02-18 16:15

http://www.hanselman.com/smallestdotnet/ (i hate this) but i thought you should see it. Hey its only 28meg HE HE HE , ya and it ONLY puts on the stuff that you need. where do they get the information from?

You see i guess after making some .net Stuff, the developer can tell the "user" hey piece of cake only 28meg.
To bad that is only for the Installer. hey anybody else know of an updater program that takes 28MEGS ??

ok ok, but it is small cute and the client will never know LOL , hey its working for someone out there ;-)

查看更多
登录 后发表回答