使用参数调用 C# CA 时无法调用 command.exe(SQL Server Setup.exe)



开发人员环境:Wix 3.10,Visual Studio 2010(带Wix扩展),Windows 7 x64

我想创建一个 SQL Server 实例安装程序(将固定参数传递给Microsoft官方安装程序Setup.exe)

即使在阅读如何使用 WiX 将自定义操作数据传递给自定义操作?之后,我也无法使用参数调用 C# 延迟CustomAction。我认为安装 SQL Server 需要提升状态,因此我需要延迟操作。

似乎安装程序正在停止,而 msi 在 JIT 调试代码之前调用 C#CustomAction(System.Diagnostics.Debugger.Break) 有时会发生明显的错误(通常在使用详细日志模式调用 msi 时)"Windows 主机进程 (Rundll32) 停止"。

Msi SELECTMessage错误可能是运行时错误的原因之一,但似乎错误的主要原因是缺乏用户权限或 x86/x64 兼容性?,或者我的愚蠢错误......有什么想法吗?

以下是与此问题相关的wxs和cs文件的一部分:

CallSQLSvrInstallDlg.wxs

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<!-- You should replace any GUID in this file with one of your own. i put ones in here so it would actually build -->
<Product Id="*" Name="SQL Server for FugaFuga" Manufacturer="HogeHoge" UpgradeCode="8508eabe-5ea7-4280-992b-85fa29722108" Language="1033" Codepage="1252" Version="1.0">
<Package Id="*"  Keywords="Installer" Description="SQL Server for FugaFuga" Comments="FugaFuga is registered trademark of HogeHoge Inc." Manufacturer="HogeHoge" InstallerVersion="200" Languages="1033" Compressed="yes" SummaryCodepage="1252" Platform ="x64" />
~Snip~

<Binary Id="InstallerCsharpModules.CA.dll" SourceFile="$(var.InstallerCsharpModules.TargetDir)InstallerCsharpModules.CA.dll" />
<CustomAction Id="SetCustomActionData" Return="check" Property="ExecuteSQLServerInstanceInstall" Value="INSTALLCONDITIONPARAMS=[INSTALLCONDITIONPARAMS]" />
<CustomAction Id="ExecuteSQLServerInstanceInstall" Return="check" Execute="deferred" Impersonate="no" BinaryKey="InstallerCsharpModules.CA.dll" DllEntry="ExecuteSQLServerInstanceInstall"/>

<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="CompanyRoot" Name="HogeHoge">
<Directory Id="INSTALLDIR" Name="HogeHoge Service" />
</Directory>
</Directory>
</Directory>
<!--<Property Id="CMD">
<DirectorySearch Id="CmdFolder"  Path="[SystemFolder]" Depth="1">
<FileSearch Id="CmdExe" Name="cmd.exe"  />
</DirectorySearch>
</Property>-->
<!-- this property links the UI InstallDir chooser to the destination location defined -->
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<!-- this property links to the UI SQLSvrInstanceDlg defined -->
<Property Id="INSTANCESTATUS" Secure="yes" Value="0" />
<Property Id="SAPASSWORD" Secure="yes" Value="FugaFuga_for_web" />
<Property Id="SETUPEXEPATH" Secure="yes" Value="E:Setup.exe" />
<Property Id="X64ROOTPATH" Secure="yes" Value="C:Program Files" />
<Property Id="X86FLDSAMEASX64" Secure="yes" Value="1" />
<Property Id="X86ROOTPATH" Secure="yes" Value="C:Program Files (x86)" />
<Property Id="FOLDERTYPE" Secure="yes" />
<Property Id="CURFLDR" Secure="yes" />
<Property Id="INSTANCETYPE" Secure="yes" Value="0" />
<Property Id="INSTANCENAME" Secure="yes" Value="MSSQL" />
<Property Id="SYSADCURWINUSER" Secure="yes" Value="0" />
<Property Id="CURRENTWINUSER" Secure="yes" />
<Property Id="INSTALLSETTING" Secure="yes" />
<Property Id="INSTALLCONDITIONPARAMS" Secure="yes" />
<Property Id="VERIFYDLGMSG" Secure="yes" />
<!-- depending on what components you want, you may need to add additional features to this command line -->
<InstallExecuteSequence>
<Custom Action="SetCustomActionData" Before="ExecuteSQLServerInstanceInstall"><![CDATA[INSTANCESTATUS = "1"]]></Custom>
<Custom Action="ExecuteSQLServerInstanceInstall" After="InstallInitialize"><![CDATA[INSTANCESTATUS = "1"]]></Custom>
</InstallExecuteSequence>
<UI Id="MyWixUI_FeatureTree">
<UIRef Id="WixUI_FeatureTree" />
<DialogRef Id="SQLSvrInstanceDlg" />
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="SQLSvrInstanceDlg">1</Publish>
<Publish Dialog="CustomizedVerifyReadyDlg" Control="Back" Event="NewDialog" Value="SQLSvrInstanceDlg">1</Publish>
</UI>
</Product>
</Wix>

CustomizedVerifyReadyDlg.wxs

<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<UI>
<Dialog Id="CustomizedVerifyReadyDlg" Width="370" Height="330" Title="!(loc.VerifyReadyDlg_Title)" TrackDiskSpace="yes">
<Control Id="edtInstallStatus" Type="Edit" Multiline="yes" X="5" Y="130" Width="360" Height="120" Property="VERIFYDLGMSG" TabSkip='yes'>
<Condition Action="disable">1</Condition>
<Publish Property="VERIFYDLGMSG" Value="Sa Password=[SAPASSWORD]"><![CDATA[INSTANCESTATUS = "0"]]></Publish>
</Control>
~Snip~
</Dialog>
</UI>
</Fragment>
</Wix>

自定义操作.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinForms = System.Windows.Forms;
using System.IO;
using Microsoft.Deployment.WindowsInstaller;
using System.Threading;
public class CustomActions
{
~Snip~
[CustomAction]
public static ActionResult ExecuteSQLServerInstanceInstall(Session session)
{
try
{
System.Diagnostics.Debugger.Break();
session.Log("Begin ExecuteSQLServerInstanceInstall Custom Action");
var task = new Thread(() => ExecuteByDOSCommand(session));
task.SetApartmentState(ApartmentState.STA);
task.Start();
task.Join();

session.Log("End ExecuteSQLServerInstanceInstall Custom Action");
}
catch (Exception ex)
{
session.Log("Exception occurred as Message: {0}rn StackTrace: {1}", ex.Message, ex.StackTrace);
return ActionResult.Failure;
}
return ActionResult.Success;
}
private static void ExecuteByDOSCommand(Session session)
{
string condition_str = null;
condition_str = session.CustomActionData["INSTALLCONDITIONPARAMS"];
//    <CustomAction Id="SetDialogParameter" Property="INSTALLCONDITIONPARAMS" Value="[SAPASSWORD]|[SETUPEXEPATH]|[X64ROOTPATH]|[X86ROOTPATH]|[INSTANCETYPE]|[INSTANCENAME]|[SYSADCURWINUSER]|[CURRENTWINUSER]"/>
string SaPassword = null;
string SetupExePath = null;
string X64RootPath = null;
string X86RootPath = null;
//string InstanceType = null;
string InstanceName = null;
string SysAdCurWinUser = null;
string CurrentWinUser = null;
string ExecuteCmd = null;
string[] stArrayData = condition_str.Split('|');
for(int i=0; i<stArrayData.Length; ++i){
switch (i)
{
case 0:
SaPassword = stArrayData[0];
break;
case 1:
SetupExePath = stArrayData[1];
break;
case 2:
X64RootPath = stArrayData[2];
break;
case 3:
X86RootPath = stArrayData[3];
break;
case 4:
if (stArrayData[4] == "0"){
InstanceName = "MSSQLSERVER";
}else{
InstanceName = "MSSQLSERVER";
}
break;
case 5:
SysAdCurWinUser = stArrayData[5];
break;
case 6:
if (SysAdCurWinUser == "0")
{
CurrentWinUser = """ + stArrayData[6] + """;
}
break;
}        
}
ExecuteCmd = SetupExePath +
" /Action=Install /QS /IACCEPTSQLSERVERLICENSETERMS /SECURITYMODE=SQL " +
" /SAPWD=" + SaPassword +
" /InstanceName=" + InstanceName +
" /UpdateEnabled=True /FEATURES=SQLEngine,FullText " +
" /INSTANCEDIR=" + X64RootPath +
" /INSTALLSHAREDDIR=" + X64RootPath +
" /INSTALLSHAREDWOWDIR= " + X86RootPath +
" /AGTSVCACCOUNT="NT AUTHORITY\SYSTEM"" +
" /AGTSVCSTARTUPTYPE="Automatic" /SQLCOLLATION="Japanese_CI_AS"" +
" /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /SQLSYSADMINACCOUNTS=" + CurrentWinUser;
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.Verb = "RunAs";
p.StartInfo.UseShellExecute = false;
p.StartInfo.RedirectStandardOutput = true;
p.StartInfo.RedirectStandardError = true;
p.OutputDataReceived += p_OutputDataReceived;
p.ErrorDataReceived += p_ErrorDataReceived;
p.StartInfo.FileName =
System.Environment.GetEnvironmentVariable("ComSpec");
p.StartInfo.RedirectStandardInput = false;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.Arguments = @"/c " + ExecuteCmd + " /w";
p.Start();
p.BeginOutputReadLine();
p.BeginErrorReadLine();
p.WaitForExit();
p.Close();
Console.ReadLine();
}
//OutputDataReceived Event Handler
static void p_OutputDataReceived(object sender,
System.Diagnostics.DataReceivedEventArgs e)
{
Console.WriteLine(e.Data);
}
static void p_ErrorDataReceived(object sender,
System.Diagnostics.DataReceivedEventArgs e)
{
Console.WriteLine("ERR>{0}", e.Data);
}
}

详细日志中的错误代码段如下所示:

{Snip}
MSI (c) (58:18) [10:41:17:968]: Note: 1: 2205 2:  3: Error 
MSI (c) (58:18) [10:41:17:968]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 
Info 2898.For WixUI_Font_Normal textstyle, the system created a 'Tahoma' font, in 128 character set, of 13 pixels height.
MSI (c) (58:18) [10:41:17:968]: Note: 1: 2205 2:  3: Error 
MSI (c) (58:18) [10:41:17:968]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 
Info 2898.For WixUI_Font_Bigger textstyle, the system created a 'Tahoma' font, in 128 character set, of 19 pixels height.
{Snip}
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: _RemoveFilePath 
MSI (c) (58:C0) [10:41:18:019]: PROPERTY CHANGE: Modifying CostingComplete property. Its current value is '0'. Its new value: '1'.
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: Registry 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: BindImage 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: ProgId 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: PublishComponent 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: SelfReg 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: Extension 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: Font 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: Shortcut 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: Class 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: Icon 
MSI (c) (58:C0) [10:41:18:019]: Note: 1: 2205 2:  3: TypeLib 
MSI (c) (58:C0) [10:41:18:020]: Note: 1: 2727 2:  
MSI (c) (58:18) [10:41:19:305]: Note: 1: 2205 2:  3: Error 
MSI (c) (58:18) [10:41:19:305]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 2898 
Info 2898.For WixUI_Font_Title textstyle, the system created a 'Tahoma' font, in 128 character set, of 14 pixels height.
{Snip}
MSI (s) (5C:5C) [10:41:23:678]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (5C:5C) [10:41:23:689]: Machine policy value 'LimitSystemRestoreCheckpointing' is 0
MSI (s) (5C:5C) [10:41:23:689]: Note: 1: 1715 2: SQL Server for FugaFuga 
MSI (s) (5C:5C) [10:41:23:689]: Note: 1: 2205 2:  3: Error 
MSI (s) (5C:5C) [10:41:23:689]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1715 
MSI (s) (5C:5C) [10:41:23:689]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed SQL Server for FugaFuga".
MSI (s) (5C:5C) [10:41:34:534]: The call to SRSetRestorePoint API succeeded. Returned status: 0, llSequenceNumber: 342.
MSI (s) (5C:5C) [10:41:34:537]: File will have security applied from OpCode.
{Snip}
MSI (s) (5C:5C) [10:41:38:885]: Adding new sources is allowed.
MSI (s) (5C:5C) [10:41:38:885]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (s) (5C:5C) [10:41:38:886]: Package name extracted from package path: 'SQLServerInstaller.msi'
MSI (s) (5C:5C) [10:41:38:886]: Package to be registered: 'SQLServerInstaller.msi'
MSI (s) (5C:5C) [10:41:38:886]: Note: 1: 2205 2:  3: Error 
MSI (s) (5C:5C) [10:41:38:889]: Note: 1: 2262 2: AdminProperties 3: -2147287038 
MSI (s) (5C:5C) [10:41:38:889]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (5C:5C) [10:41:38:889]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (5C:5C) [10:41:38:889]: Running product '{BFAE49AD-07EF-454F-A1B5-1A90E8015138}' with elevated privileges: Proper credentials provided for LUA.
MSI (s) (5C:5C) [10:41:38:889]: PROPERTY CHANGE: Adding INSTALLDIR property. Its value is 'C:Program Files (x86)HogeHogeHogeHoge Service'.
MSI (s) (5C:5C) [10:41:38:889]: PROPERTY CHANGE: Modifying INSTANCESTATUS property. Its current value is '0'. Its new value: '1'.
MSI (s) (5C:5C) [10:41:38:889]: PROPERTY CHANGE: Adding CURRENTWINUSER property. Its value is '{Domain Name}{User Name}'.
MSI (s) (5C:5C) [10:41:38:889]: PROPERTY CHANGE: Adding VERIFYDLGMSG property. Its value is 'FugaFuga_for_web
{Snip}
MSI (s) (5C:5C) [10:41:42:835]: Note: 1: 2205 2:  3: Error 
MSI (s) (5C:5C) [10:41:42:835]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1302 
MSI (s) (5C:5C) [10:41:42:835]: Note: 1: 2205 2:  3: MsiSFCBypass 
MSI (s) (5C:5C) [10:41:42:835]: Note: 1: 2228 2:  3: MsiSFCBypass 4: SELECT `File_` FROM `MsiSFCBypass` WHERE `File_` = ? 
MSI (s) (5C:5C) [10:41:42:835]: Note: 1: 2205 2:  3: MsiPatchHeaders 
MSI (s) (5C:5C) [10:41:42:835]: Note: 1: 2228 2:  3: MsiPatchHeaders 4: SELECT `Header` FROM `MsiPatchHeaders` WHERE `StreamRef` = ? 
MSI (s) (5C:5C) [10:41:42:837]: Note: 1: 2205 2:  3: PatchPackage 
MSI (s) (5C:5C) [10:41:42:837]: Note: 1: 2205 2:  3: MsiPatchHeaders 
MSI (s) (5C:5C) [10:41:42:837]: Note: 1: 2205 2:  3: PatchPackage 
Action ended 10:41:42: InstallFiles. Return value 1.
MSI (s) (5C:5C) [10:41:42:839]: Doing action: RegisterUser
MSI (s) (5C:5C) [10:41:42:839]: Note: 1: 2205 2:  3: ActionText 
Action 10:41:42: RegisterUser. Registering user
Action start 10:41:42: RegisterUser.
Action ended 10:41:42: RegisterUser. Return value 1.
MSI (s) (5C:5C) [10:41:42:844]: Doing action: RegisterProduct
MSI (s) (5C:5C) [10:41:42:844]: Note: 1: 2205 2:  3: ActionText 
Action 10:41:42: RegisterProduct. Registering product
Action start 10:41:42: RegisterProduct.
MSI (s) (5C:5C) [10:41:42:847]: Note: 1: 2205 2:  3: Error 
MSI (s) (5C:5C) [10:41:42:847]: Note: 1: 2228 2:  3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1302 
RegisterProduct: Registering product
MSI (s) (5C:5C) [10:41:42:851]: PROPERTY CHANGE: Adding ProductToBeRegistered property. Its value is '1'.
Action ended 10:41:42: RegisterProduct. Return value 1.
MSI (s) (5C:5C) [10:41:42:852]: Doing action: PublishFeatures
MSI (s) (5C:5C) [10:41:42:852]: Note: 1: 2205 2:  3: ActionText 
Action 10:41:42: PublishFeatures. Publishing Product Features
Action start 10:41:42: PublishFeatures.
{Snip}
MSI (s) (5C:5C) [10:41:42:945]: Executing op: CustomActionSchedule(Action=ExecuteSQLServerInstanceInstall,ActionType=3073,Source=BinaryData,Target=ExecuteSQLServerInstanceInstall,CustomActionData=INSTALLCONDITIONPARAMS=FugaFuga_for_web|E:Setup.exe|C:Program Files|C:Program Files (x86)|0|MSSQL|0|{Domain Name}{User Name})
MSI (s) (5C:44) [10:41:43:021]: Invoking remote custom action. DLL: C:WindowsInstallerMSI7C77.tmp, Entrypoint: ExecuteSQLServerInstanceInstall
MSI (s) (5C:68) [10:41:43:021]: Generating random cookie.
MSI (s) (5C:68) [10:41:43:025]: Created Custom Action Server with PID 3236 (0xCA4).
MSI (s) (5C:0C) [10:41:43:545]: Running as a service.
MSI (s) (5C:0C) [10:41:43:548]: Hello, I'm your 32bit Elevated Non-remapped custom action server.
SFXCA: Extracting custom action to temporary directory: C:WindowsInstallerMSI7C77.tmp-
SFXCA: Binding to CLR version v4.0.30319
Calling custom action InstallerCsharpModules!CustomActions.ExecuteSQLServerInstanceInstall
SFXCA: RUNDLL32 returned error code: 255
CustomAction ExecuteSQLServerInstanceInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 10:41:44: InstallFinalize. Return value 3.
MSI (s) (5C:5C) [10:41:44:387]: User policy value 'DisableRollback' is 0
MSI (s) (5C:5C) [10:41:44:387]: Machine policy value 'DisableRollback' is 0
MSI (s) (5C:5C) [10:41:44:394]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1286493494,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=1)
MSI (s) (5C:5C) [10:41:44:394]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (5C:5C) [10:41:44:394]: Executing op: DialogInfo(Type=1,Argument=SQL Server for FugaFuga)
MSI (s) (5C:5C) [10:41:44:395]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
Action 10:41:44: Rollback. Rolling back action:
Rollback: ExecuteSQLServerInstanceInstall
{Snip}

P.S 我克服了错误"Windows 主机进程 (Rundll32) 停止",通过从自定义操作"执行SQLServerInstanceInstall"中删除"Impersonate=no"属性,但它可能不是 SQL Server 安装的正确解决方法...而且我不知道为什么在模拟中会发生这样的错误。

我不确定是否应该继续此线程以解决后续问题。

这必须简短,我刚刚略过了你的问题。首先:你如何安装这些MSI文件?您是否将他们从SCCM或其他分销系统中踢出?几个一般提示:

无并发 MSI 安装 :Windows 安装程序不允许并发msiexec.exe会话。换句话说,两个MSI文件不能同时运行

  • 从技术上讲,不能同时运行的InstallExecuteSequence- MSI 安装的提升部分 - 而不是 GUI 序列。您可以启动两个 MSI 文件并进入 GUI,但实际安装不能同时完成。
  • 其效果是,您无法启动随后启动任何其他 MSI 安装程序的 MSI 或随后启动 MSI 的 EXE 文件。保证。我怀疑这就是您看到的问题 - 即使我对SQL安装程序不太熟悉。
  • 曾经有一个概念是通过自定义操作(称为嵌套 MSI 安装)或并发安装(MSDN 信息)启动嵌入式 MSI,但这早已被弃用,并且被认为是徒劳的尝试。如果你正在考虑它,那么我引用传奇的前Installshield支持酋长Robert Dickau:">不要"。他对多年经验的简明总结!:-).
  • 系统管理员编写的与并发 MSI 安装相关的问题的较旧说明。可能是一个更好的阅读。

WiX捆绑包:与WiX一起使用的方法是使用刻录工具 - 引导程序,排序器,下载器功能,这是WiX工具包的一部分。它可用于创建WiX捆绑包:它们是带有嵌入式MSI和EXE文件(以及其他部署文件)的包装EXE文件,能够按所需顺序按顺序安装文件。可能需要一段时间才能习惯WiX标记和做事方式。我目前没有很多样本可以给你,但这里有几件事可以开始:

  • 官方刻录文档。
  • https://github.com/frederiksen/Classic-WiX-Burn-Theme(烧伤样本)
  • WiX 工具集在 Github 上刻录源代码和示例。
  • http://neilsleightholm.blogspot.no/2012/05/wix-burn-tipstricks.html

解压缩SQL安装程序:也可以解压缩SQLsetup.exe以提取嵌入式MSI文件和嵌入式EXE设置(而不是从WiX捆绑包运行原始SQLsetup.exe)。如果目标环境是统一的,则通常可以消除许多不必要的先决条件安装程序。但是,我对此表示怀疑,因为处理这些核心MSI安装程序(SQL,.NET或任何核心Microsoft运行时或组件)的努力通常是不明智的,您应该尽可能"按原样"运行它们(您正在尝试这样做)。

其他工具:商业工具,如高级安装程序,Installshield,PACE Suite和其他一些工具通常具有帮助安装重要运行时和组件的功能 - 以防您的公司已经提供工具。这是我自己对部署工具和MSI(工具优势和劣势等)的文章:如何创建Windows安装程序。

最新更新