﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-微软技术-文章分类-Active Directory</title><link>http://www.cnitblog.com/ken/category/5833.html</link><description>　　Ken's Blog</description><language>zh-cn</language><lastBuildDate>Mon, 26 Sep 2011 12:58:09 GMT</lastBuildDate><pubDate>Mon, 26 Sep 2011 12:58:09 GMT</pubDate><ttl>60</ttl><item><title>如何制作MSI 安装文件</title><link>http://www.cnitblog.com/ken/articles/31048.html</link><dc:creator>Ken</dc:creator><author>Ken</author><pubDate>Tue, 31 Jul 2007 11:06:00 GMT</pubDate><guid>http://www.cnitblog.com/ken/articles/31048.html</guid><wfw:comment>http://www.cnitblog.com/ken/comments/31048.html</wfw:comment><comments>http://www.cnitblog.com/ken/articles/31048.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/ken/comments/commentRss/31048.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/ken/services/trackbacks/31048.html</trackback:ping><description><![CDATA[&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MSI安装文件包是微软专门为软件部署而开发的。这两个文件有些软件的安装程序会直接提供，有些软件的安装程序是不提供的。对于不提供MSI文件的软件我们可以使用一个叫WinInstall LE的打包工具来创建，通过使用它可以将一些没有提供MSI文件的软件打包生成MSI文件以便于组策略和SMS软件布署。WinInstall LE工具我们可以从Windows 2000安装光盘的\VALUEADD\3RDPARTY\MGMT目录下找到，但该软件实际使用的效果并不是很理想,推荐大家到http://www.ondemandsoftware.com/PurchaseLE.asp 下载最新的WinInstall Le 2003版。下面我以Acdsee 5.0这个软件为例，网络环境为：域服务器Windows 2003 R2,客户端：Windows xp sp2，以下是详细的操作步骤：<br><br>１．客户端操作系统<br>这个干净的客户端操作系统，要求采用全新的安装，只包括操作系统和系统自带的驱动<br>程序，不要安装任何其它程序，也不做其它的任何设置，尽量不要做对系统和注册表有改变的操作。因为WinInstall Le的工作原理，就是执行两次系统的快照扫描，将两次快照扫描之间的系统和注册表的变化对比后，将差异记录并保存，再结合Acdsee程序打包成为ＭＳＩ包。每打包完一个程序，就再用一个干净的操作系统。为此，我们将客户端xp安装在虚拟机上，可以很好的解决这个问题。将客户端加入域并登陆，注意不要应用任何的组策略和脚本命令。<br><br>２．服务器端<br>服务器端没有特别要求，我这里将其安装在域服务器上。在域服务器上安装WinInstall Le，如图，因WinInstall Le是共享软件，要注册，我们选试用<br><a href="http://www.winsvr.org/bbs/uploads/7/post-3093-1165539493.jpg" target=_blank><img onmousewheel="return bbimg(this)" height=256 alt=上传的图片 src="http://www.winsvr.org/bbs/uploads/7/post-3093-1165539493.jpg" onload="javascript:x=this.width;y=this.height;limity=screen.height/3;if(this.height>limity)this.height=limity; if(this.width>screen.width-333)this.width=screen.width-333" border=0></a><br><br>安装时会要求填写在网络上的共享名，这里我们选默认的WinINSTALL就可以了，点下一步，直到完成安装。我们在网络上可以看到共享目录下有三个文件夹：<br><a href="http://www.winsvr.org/bbs/uploads/7/post-3093-1165539797.jpg" target=_blank><img onmousewheel="return bbimg(this)" style="ZOOM: 100%" alt=上传的图片 src="http://www.winsvr.org/bbs/uploads/7/post-3093-1165539797.jpg" width=691 onload="javascript:x=this.width;y=this.height;limity=screen.height/3;if(this.height>limity)this.height=limity; if(this.width>screen.width-333)this.width=screen.width-333" border=0></a><br><br>其中的Bin下就是Winstall的程序文件目录，我们可以找到这个&#8220;Discover.exe&#8220;的程序。
<img src ="http://www.cnitblog.com/ken/aggbug/31048.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/ken/" target="_blank">Ken</a> 2007-07-31 19:06 <a href="http://www.cnitblog.com/ken/articles/31048.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>