---
title: "setup工程中安装net运行时收藏"
author: "dzgwt2004"
date: "2009-02-07T08:49:45Z"
tags: []
slug: "setup-net"
draft: false
lastmod: "2009-02-07T08:49:45Z"
id: 324676
url: "https://digga2012.iteye.com/blog/324676"
---

1.取得net分发包，可以在microsoft的网站上下载，是一个exe文件
 2.在file system中加入这个Exe文件 
 3.进入custome action.  执行Add custome Action, 选择这个Exe.
 4.在Custome Action中选中刚刚加入的文件，按F4,编辑属性。 Installer Class设置为false ;Arguments设置为命令行参数 

 Note: 命令行参数可以google到，下面是.net 3.0的命令行: 
  http://itgroup.blueshop.com.tw/joychen/blog?n=convew&i=1988