InstallShield 2010 中如何部署.net 3.5

来源:互联网 发布:淘宝卖的钢琴是玩具吗 编辑:程序博客网 时间:2024/05/13 15:39

在InstallShield打包时经常要会把.net 3.5安装到客户端上,这样我们就要在打包时进行设置,以下为步骤:

1、在Application Data---Prerequesites 中找到 Microsoft .net framework 3.5(web download),点击会提示你是否download,点击确定后,在你的 program files ---InstallShield --2010--SetupPrerequesites--microsoft.net会出现3.5。

2、右键Microsoft .net framework 3.5(web download)此项的Edit Prerequesites,一般会看到 dotnetfx3.5setup.exe和helper.exe,我一般都是删除helper.exe。在这六个属性页里,可以不对它进行设置。因InstallShield已设置好!

3、右键Microsoft .net framework 3.5(web download)选属性,选择build location 里的---download from the web!

4、编译,安装时若客户机上没有.net 3.5或更高,则提示用户安装!