Wininstall LE 的idea 14 注册码码

MSI Packaging Tools
:: Windows 2003
:: Articles & Tutorials
MSI Packaging Tools
This article discusses various third-party tools you can use to repackage applications into MSI files so you can deploy them using Group Policy in your Windows 2000 or Windows Server 2003 enterprise environment. The article also includes helpful links to resources
and third-party sites where you can find out more about repackaging applications and deploying them using Group Policy.
Windows Installer technology was introduced in the Windows 2000 platform to take some of the pain out of deploying and managing Windows applications across an enterprise. In previous versions of Windows (NT/9x), developers usually created installation packages using a variety of proprietary tools developed by third-party vendors such as InstallShield Software and Wise Solutions. To bring some kind of consistence to this situation, Microsoft included Windows Installer as a core service (msiexec.exe) within Windows 2000 to install, repair, and remove software based on instructions contained in .MSI files. These .MSI files are basically database files that contain all the information an application needs in order to install a packaged application. Then once you package your application you can deploy it using Group Policy by one of two methods:
Assigning an application. You can assign a .MSI package to either a computer or a user. If you assign it to a computer, the packaged application installs the next time the computer reboots. If you assign it to a user, the application typically installs when the user tries to run it from the Start menu or tries to open a file that has a file extension associated with the application.
Publishing an application. You can publish a .MSI package to users only. This provides the user with an option within Add or Remove Programs in Control Panel that lets them manually install the application if they want to.
Once Microsoft included Windows Installer technology in Windows 2000, they also made it their policy to include .MSI installation packages in all applications they developed for Windows. What they didn’t include at the time was a tool of their own for repackaging traditional Setup-based applications into .MSI packages. Instead, Microsoft decided to include a “light” version of WinINSTALL called WinINSTALL LE (WinINSTALL Limited Edition) in the Valueadd folder on the Windows 2000 product CD. Administrators could then use WinINSTALL LE to repackage legacy applications into .MSI packages that could then be deployed using Group Policy. Microsoft apparently also decided to leave it to third-party vendors to develop full-featured .MSI packaging tools to meet the needs of customers who needed to deploy third-party and custom applications across their enterprise.
As a result of this decision, the marketplace has a number of competing .MSI packaging tools and .MSI authoring environments available at present, and the remainder of this article looks at three popular packaging tools that are available. Some of these tools are free while others are commercial products with varied pricing and licensing requirements, check out their websites for details. Using any of these tools can make your life easier as an administrator of a large, Windows-based network, since they save you the time of having to visit desktops to install the applications that make your business work.
Advanced Installer
The free version of
from Aphyon is powerful and easy to use, but if you want to get into advanced packaging tricks like setting attributes, installing .NET assemblies, installing ODBC drivers and so on, then you’ll need to opt for the more powerful Professional version instead. Aphyon also provides optional features through add-ons that can be purchased extra. One cool feature of Advanced Installer is that it stores its Windows Installer project files in XML format. This simplifies versioning of packages you’re developing and lets you keep track of packages using a version control system. Another feature of Advanced Installer is that you can perform most actions from the command line. This allows you to automate application packaging using scripts, something that can be useful if you have a large enterprise with many applications to deploy. The current version of Advanced Installer is version 2.3 and you can download it
for Windows 2000/XP platforms.
WinINSTALL MSI Packager
from Software OnDemand is a tool from the same evolutionary line that produced WinINSTALL LE discussed previously. Because of this heritage, WinINSTALL MSI Packager is a popular .MSI packaging tool today in many enterprise environments. Not only can the tool be used to easily package applications for deployment, it also lets you test them against standards like the Microsoft Logo Certification. This ensures your packaged applications will install properly on the latest Windows operating systems. The current version of WinINSTALL MSI Packager is version 8.6 and you can download an evaluation version of this software . Software OnDemand also has two other tools you may want to look at: the upscale
full product that lets you not only deploy applications but also manage them, and
which is the latest incarnation of the free “light” version that was included on the Windows 2000 product CD.
Wise for Windows Installer
is another application packaging tool that is popular in some enterprise environments. This tool fully complies with Microsoft’s .MSI standards while also extending the capabilities of .MSI packages without making changes to their native format. The result is a powerful tool that can be used to deploy legacy, Web-based, and .NET applications quickly and easily. Enterprises that make heavy use of Microsoft SQL Server for back-end databases and Internet Information Services (IIS) 5.0 or 6.0 for front-end Web applications should take a close look at this product. If all you want to do is package applications into .MSI format, this tool is so easy and intuitive to use you hardly need a manual. Wise for Windows Installer comes in
including Standard, Professional, and Enterprise editions to meet your deployment needs according to your budget. Wise for Windows Installer is also part of a larger family of Wise Solutions products that includes
Additional Resources
Finally, there are a number of other resources you may want to look at when you consider which packaging solution to choose for deploying applications across your enterprise. These resources include the following:
Articles about Windows Installer and .MSI packaging in the
on Microsoft TechNet. Some key articles include:
Articles on , a popular site run by Windows management technologies guru Rod Trent. Here you’ll find an active community of IT professionals who regularly contribute articles on topics like Microsoft Systems Management Server (SMS), Microsoft Operations Manager (MOM), patch management, MSI packaging, Wise Solutions products, and more. There are also some active forums where you can post questions and have top experts in the field provide you with answers.
from Microsoft Press. I reviewed this book by Jerry Honeycutt
and it includes a terrific chapter on Software Installation (chapter 23) that provides an overview of Windows Installer technologies, package creation, working with transforms, elevating installation privileges, third-party distribution products, automating legacy installers, and more. I highly recommend this book as a must-have for administrators who deploy Windows operating systems and applications within enterprise environments, it’s well-written and easy to read while also being comprehensive in depth.
The Author & Mitch Tulloch
Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions.
Latest Contributions
Advertisement
Featured Links组策略1_资料内容_资料下载_学习资料共享网
当前位置: >>
第11章 组策略 章11.1 组策略概述 11.2 管理模板策略的设置 11.3 Windows 设置策略的管理 11.4 通过软件设置策略部署应用程序 本章学习目标 组策略概述 管理模板策略的设置 Windows 设置策略的管理 通过软件设置策略部署应用程序返回本章首页 11.1 组策略概述 11.1.1 组策略对象 11.1.2 组策略的应用顺序与规则返回本章首页 组策略包括:计算机配置、 组策略包括:计算机配置、用户配置 其组策略包含以下内容: 其组策略包含以下内容: 1) 管理模板 : 包括 ) 管理模板: 包括Windows组件 、 网络 、 桌 组件、 组件 网络、 以及任务栏和开始菜单等相关的策略。 以及任务栏和开始菜单等相关的策略。 2) Windows设置 : 包括脚本 、 安全设置 ( 户 ) 设置: 设置 包括脚本、 安全设置( 策略和本地策略)等相关的策略。 策略和本地策略)等相关的策略。 3) 软件设置 : 包括软件安装策略 , 可以进应 ) 软件设置: 包括软件安装策略, 用程序的指派与发布。 用程序的指派与发布。 11.1.1 组策略对象图 11 1 组 策 略 ” 选 项 卡 “ 1.更改组策略 .(1)选择“开始”→“程序”→“管理工 用户和计算机” 具”→“Active Directory用户和计算机”选项, “ 用户和计算机 选项, 选择“属性”→“组策略”命令。 选择“属性” “组策略”命令。 (2)选定“Default Domain Controllers Policy”, )选定“ , 然后单击“编辑”按钮。 然后单击“编辑”按钮。 所示的“ (3)打开如图 )打开如图11-2所示的“组策略”窗口后,然 所示的 组策略”窗口后, 后双击窗口右侧的“在本地登录” 后双击窗口右侧的“在本地登录”。 所示的对话框时, ( 4) 出现如图 ) 出现如图11-3所示的对话框时 , 单击 “ 添 所示的对话框时 单击“ 按钮,选择Domain Users组以便让所有的域 加”按钮,选择 组以便让所有的域 用户都具备“在本地登录”的权利。 用户都具备“在本地登录”的权利。完成后单击 确定”按钮关闭此对话框。 “确定”按钮关闭此对话框。 (5)返回“组策略”窗口时,请关闭此窗口。 )返回“组策略”窗口时,请关闭此窗口。 属性” (6)返回“Domain Controllers属性”对话框, )返回“ 属性 对话框, 单击“确定” 单击“确定”。 图11-2 组策略窗口 图11-3 有“在本地登录”权限的用户和组 2.验证更改组策略的有效性 .账户登录。 (1)在服务器端,以administrator账户登录。 )在服务器端, 账户登录 ( 2) 依次选择 “ 开始 ” →“ 程序 ” →“ 管理工 ) 依次选择“ 开始” “ 程序” “ 用户和计算” 具”→“Active Directory用户和计算”选项,从 “ 用户和计算 选项, 中选择“新建” “用户” 中选择“新建”→“用户”命令添加一个一般的 用户账户。 用户账户。 ( 3) 完成后 , 注销 ) 完成后, 注销administrator, 然后等待此 , 组策略生效。 组策略生效。 ( 4) 重新登录时 , 请用刚建立的域用户登录 , ) 重新登录时, 请用刚建立的域用户登录, 此时应该可以正常登录成功。 此时应该可以正常登录成功。返回本节 11.1.2 组策略的应用顺序与规则( 1) 如果是在高层容器内建立了组策略 , 则低 ) 如果是在高层容器内建立了组策略, 层容器会继承在高层容器内所建立的组策略。 层容器会继承在高层容器内所建立的组策略。 ( 2) 如果在低层的容器内建立了组策略 , 则此 ) 如果在低层的容器内建立了组策略, 组策略内的设置默认会替代由其高层的父容器所 传递下来的组略。 传递下来的组略。 ( 3) 如果在父容器的某个策略被设为 “ 未被配 ) 如果在父容器的某个策略被设为“ 则子容器并不会继承这个策略。 置”,则子容器并不会继承这个策略。 (4)如果在父容器的组策略内的某个设为“启用” )如果在父容器的组策略内的某个设为“启用” 禁用” 则子容器会继承这个设置。 或“禁用”,则子容器会继承这个设置。 (5)直接以子容器的组策略为其设置。 )直接以子容器的组策略为其设置。 ( 6) 在父容器的组策略内 , 通过 “ 禁止替代 ” ) 在父容器的组策略内, 通过“ 禁止替代” 子容器必须继承由父容器传递的组策略设置。 子容器必须继承由父容器传递的组策略设置。返回本节 11.2 管理模板策略的设置11.2.1 设置管理模板策略 11.2.2 设置组策略的替代功能返回本章首页 图11-4 组策略示例返回本节 11.2.1 设置管理模板策略( 1 ) 在 “ Active Directory 中 , 选 择 “ 属 性 ” →“ 组策略 ” →“ 新建 ” 命令 , 添加一个 “ 组策略” “ 新建” 命令, GPO,命名为“xuexiao Policy”。 ,命名为“ 。 ( 2 ) 在 如 图 11-5 所 示 的 对 话 框 中 , 单 击 “ 编 辑”。 所示的“ ( 3) 在如图 ) 在如图11-6所示的 “ 组策略 ” 窗口中 , 选 所示的 组策略” 窗口中, 用户配置” “ 管理模板” “ 择 “ 用户配置 ” →“ 管理模板 ” →“ 任务栏和 开始’菜单”选项。 ‘开始’菜单”选项。 所示选择“ ( 4) 在如图 ) 在如图11-6所示选择 “ 用户配置 ” →“ 管 所示选择 用户配置” “ 理模板” “桌面” 理模板”→“桌面”。 (5)完成后,关闭“组策略”窗口。 )完成后,关闭“组策略”窗口。 (6)单击“关闭”按钮,结束组策略设置。 )单击“关闭”按钮,结束组策略设置。 图 11 5 添 加 新 的 组 策 略 - 图11-6 设置组策略 图 11 7 设 置 策 略 的 是 否 启 用返回本节- 11.2.2 设置组策略的替代功能用户和计算” ( 1) 在 “ Active Directory用户和计算 ” 选择 ) 用户和计算 属性” “组策略” “新建”选项, “属性”→“组策略”→“新建”选项,添加一 个GPO,命名为“9901 Poliicy”,单击“编辑” ,命名为“ ,单击“编辑” 按钮。 按钮。 组策略” 中选择“用户配置” “ (2)在 “组策略” 中选择“用户配置”→“管 ) 理模板” “ 任务栏和‘ 开始’ 菜单” 理模板 ” →“ 任务栏和 ‘ 开始 ’ 菜单 ” , 选择 禁用” 单击“确定” “禁用”,单击“确定” 。 组策略”中选择“用户配置” “ (3)在 “组策略”中选择“用户配置”→“管 ) 理模板” “桌面” 选择“禁用” 单击“ 理模板”→“桌面”。选择“禁用”,单击“确 关闭“组策略”窗口。单击“关闭” 定”。关闭“组策略”窗口。单击“关闭”结束 组策略设置。 组策略设置。返回本节 11.3 Windows 设置策略的管理11.3.1 账户策略的设置 11.3.2 本地策略的设置 11.3.3 登录 注销、启动/关闭脚本 登录/注销、启动 关闭脚本 注销返回本章首页 图11-8 账户策略的设置 11.3.1 账户策略的设置 1.密码策略的设置 .(1) 密码最长存留期 ) (2)密码最短存留期 ) (3) 密码长度最小值 ) (4)强制密码历史 ) 2.账户锁定策略的设置 .账户锁定阈值 账户锁定时间 复位账户锁定计数器 图11-11 设置账户锁定策略 图11-9 设置密码策略 图11-10 “密码最长存留期”的设置返回本节 11.3.2 本地策略的设置 1.审核策略的设置 .审核目录服务访问 审核登录事件 审核对象访问 审核策略更改 审核特权使用 审核账户登录事件 审核账户管理 审核账户管理 审核过程追踪 2.用户权利指派策略的设置 .;(2)域中添加工作站;( ;(3) (1)在本地登录;( )域中添加工作站;( ) )在本地登录;( 关闭系统;( ;(4)从网络访问此计算机;( ;(5) 关闭系统;( )从网络访问此计算机;( )从 远端系统强制关机;( ;(6)备份文件和目录;( ;(7) 远端系统强制关机;( )备份文件和目录;( ) 还原文件和目录;( ;(8)管理审核和安全日志; 还原文件和目录;( )管理审核和安全日志; ;(10) (9)更改系统时间;( )装载和卸载设备驱 )更改系统时间;( 动程序;( ;(11) 动程序;( )取得文件或其他对象的所有权 3.安全选项策略的设置 .登录屏幕上不要显示上次登录的用户名 允许在未登录前关机 在密码到期前提示用户更改密码 禁用按Ctrl+Alt+Del进行登录的设置 进行登录的设置 禁用按 用户试图登录时消息文字与用户试图登录时 消息标题返回本节 11.3.3 登录 注销、启动/关闭脚本 登录/注销、启动 关闭脚本 注销 1.登录 注销脚本的设置 .登录/注销脚本的设置(1)准备好登录与注销脚本。 )准备好登录与注销脚本。 2) Directory用户和计算机 用户和计算机” (2)在“Active Directory用户和计算机” 中选 组策略”命令,选定GPO,双击 “登录” 登录” 择 “组策略”命令,选定 , 图标。 图标。 (3)单击“显示文件”按钮。 )单击“显示文件”按钮。 ( 4) 先切换到“ Windows资源管理器 ” 并选定 ) 先切换到 “ 资源管理器” 资源管理器 登录脚本,选择“复制” 粘贴”命令。 登录脚本,选择“复制” 、“粘贴”命令。 所示的对话框后, (5)返回到图 ) 返回到图11-14所示的对话框后, 单击 “添 所示的对话框后 单击“ 加”。 所示的对话框时, (6)出现图 )出现图11-16所示的对话框时,单击“ 浏览” 所示的对话框时 单击“浏览” 按钮, 按钮, 7)返回到图 所示的对话框时, )返回到图11-14所示的对话框时,单击“ 确定” 所示的对话框时 单击“确定” 按钮。 按钮。 所示的窗口, (8)回到图 ) 回到图11-13所示的窗口,单击画面右方的 所示的窗口 注销” 图标, 然后重复步骤( ) ( ) “ 注销 ” 图标 , 然后重复步骤 ( 2) ~( 6) , 以 便设置注销脚本。 便设置注销脚本。 图11-13 设置登录和注销脚本 图 11 14 登 录 属 性 ” 对 话 框 “ 图11-15 复制登录脚本 图11-16 指定登录脚本 2.启动 关闭脚本的设置 .启动/关闭脚本的设置的启动脚本。 (1)创建一个名称为 )创建一个名称为startup.bat的启动脚本。 的启动脚本 用户和计算机” ( 2)在 “ Active Directory用户和计算机” 对话 ) 用户和计算机 框中, 选择“ 属性” “ 组策略” 命令, 框中 , 选择 “ 属性 ” →“ 组策略 ” 命令 , 选定 GPO后,出现图 所示的窗口, 启动” 后 出现图11-17所示的窗口,双击 “启动” 所示的窗口 图标。 图标。 (3)单击“显示文件”按钮。 )单击“显示文件”按钮。 资源管理器” ( 4) 切换到 “ Windows资源管理器 ” 中 , 选择 ) 切换到“ 资源管理器 复制” 粘贴” 命令, “ 复制 ” 粘贴 ” 命令 , 将登录脚本复制到该窗 口中后关闭窗口。 口中后关闭窗口。 (5)单击“添加”按钮。 )单击“添加”按钮。 所示的对话框, (6)出现类似图 ) 出现类似图11-16所示的对话框, 单击 “浏 所示的对话框 单击“ 按钮, 文件夹内选定登录脚本。 览”按钮,从startup文件夹内选定登录脚本。如 文件夹内选定登录脚本 果你的脚本需要输入参数,则在“脚本参数” 果你的脚本需要输入参数,则在“脚本参数”文 本框中输入参数,完成后单击“确定”按钮。 本框中输入参数,完成后单击“确定”按钮。 (7)单击“确定”按钮。 )单击“确定”按钮。 所示的窗口后, (8)回到图 ) 回到图11-17所示的窗口后, 单击画面右方 所示的窗口后 关机” 图标, 然后重复步骤( ) ( ) 的 “ 关机 ” 图标 , 然后重复步骤 ( 2) ~( 6) , 以便设置“关机脚本” 以便设置“关机脚本”。 图11-17 设置启动和关机脚本返回本节 11.4 通过软件设置策略部署应用程序11.4.1 给用户发布或指派应用程序 11.4.2 给计算机指派应用程序 11.4.3 更改部分应用程序的设置返回本章首页 通过软件设置策略, 通过软件设置策略,可以为用户与计算机来部署 应用程序。 应用程序。 1、将应用程序发布或指派给用户。 、将应用程序发布或指派给用户。 2、将应用程序指派给计算机。 、将应用程序指派给计算机。 3、自动修复应用程序。 、自动修复应用程序。 4、删除用户的应用程序。 、删除用户的应用程序。 11.4.1 给用户发布或指派应用程序1.给用户发布或指派应用程序 . 2.安装被发布或指派应用程序 . 1.给用户发布或指派应用程序 .账户登录到域控制器。 (1)利用 )利用administrator账户登录到域控制器。 账户登录到域控制器 ( 2) 在域控制器上建立一个文件夹 , 设为共享 ) 在域控制器上建立一个文件夹, 文件夹。 文件夹。 (3)将Windows 2000CD文件夹内的所有文件复 ) 文件夹内的所有文件复 制到共享文件夹内。 制到共享文件夹内。 ( 4) 依次选择 “ 开始 ” →“ 程序 ” →“ 管理工 ) 依次选择“ 开始” “ 程序” “ 用户和计算” 具”→“Active Directory用户和计算”选项,打 “ 用户和计算 选项, 开对话框,选择“属性” “组策略”命令, 开对话框,选择“属性”→“组策略”命令,选 定 GPO, 软件安装 ” 选项 , 打开如图 , 软件安装” 选项, 打开如图11-18所示 所示 的窗口。 的窗口。 软件安装”中弹出的选择“属性” (5)将 “软件安装”中弹出的选择“属性”命 ) 出现如图11-19所示的对话框 , 在 “ 默认程 所示的对话框, 令 。 出现如图 所示的对话框 序包位置” 路径。 序包位置” 用UNC路径。 路径 (6)将鼠标指向“软件安装” 中选择“新 建 ” →“ 程序包 ” 命令 。 出现如图 “ 程序包” 命令。 出现如图11-20所示的 所示的 窗口,单击“打开”按钮。 窗口,单击“打开”按钮。 所示的对话框时, (7)出现图 ) 出现图11-21所示的对话框时,在 “选择部 所示的对话框时 署方法”选择区中选择,然后单击“确定”按钮。 署方法”选择区中选择,然后单击“确定”按钮。 ( 8 ) 出 现 图 11-22 所 示 的 窗 口 , 图 中 右 方 的 己被发行成功。 “WinINSTALL LE”己被发行成功。 己被发行成功 图11-18 软件安装 图11-19 “软件安装属性”窗口 图11-20 选择程序包 图11-21 选择部署方式 图11-22 “WinINSTALL LE”发行成功 发行成功 2.安装被发布或指派应用程序 .( 1) 注销 , 然后利用域内的用户账户来登录 。 ) 注销, 然后利用域内的用户账户来登录。 依次单击“ ( 2)依次单击 “ 开始 ” →“ 设置 ” →“ 控制面 依次单击 开始” “ 设置” “ →“添加/删除程序” 板”→“添加/删除程序”。 删除程序 ( 3) 单击 “ 添加新程序 ” 按钮 , 则右方的 “ 从 ) 单击“ 添加新程序” 按钮, 则右方的“ 网络添加程序” 网络添加程序”处就会显示所有己被发布的应用 程序。 程序。 ( 4) 选择要安装的应用程序 , 然后单击 “ 添加 ” ) 选择要安装的应用程序, 然后单击“ 添加” 按钮,就会安装该应用程序。 按钮,就会安装该应用程序。返回本节 11.4.2 给计算机指派应用程序应用程序被安装在用户的用户配置文件内, 应用程序被安装在用户的用户配置文件内 , 只能被用户使用;也可以将应用程序“ 只能被用户使用 ; 也可以将应用程序 “ 指派给计 算机”, 则只要计算机启动,这个应用程序就会 算机” 则只要计算机启动, 自动被安装到此计算机的“公用程序组” 自动被安装到此计算机的 “ 公用程序组 ” 内 , 所 有在这台计算机上登录的用户都可以使用这个应 用程序。 用程序。返回本节 11.4.3 更改部分应用程序的设置改变应用程序的部署类型。 改变应用程序的部署类型。 取消被部署的应用程序。 取消被部署的应用程序。 设置当安装此应用程序时, 设置当安装此应用程序时,是否出现完整的 安装界面,或者只显示部分的安装界面。 安装界面,或者只显示部分的安装界面。 将应用程序升级 。返回本节 THANK YOU VERY MUCH !本章到此结束, 本章到此结束, 谢谢您的光临! 谢谢您的光临!结 束放映 返回本章首页 是一个在线免费学习平台、通过收集整理大量专业知识,职业资料、考试资料,考试复习指导,试题资料等给大家分享;同时提供学习互动交流;更好的帮助大家学习。

我要回帖

更多关于 wininstall 的文章

 

随机推荐