我正在设置一个Wix Bootstrapper安装程序,它安装了许多必备的应用程序组件(大部分来自Microsoft)。许多是软件的x86或x64版本。这些部件中的每一个都将安装在各种默认目录中。是否有可能生成一个主日志,其中包括最终软件产品目标目录中的所有片段Exe/msi包安装?
MyBootstrappedApp.exe /log "Installation.log“在更高层次上做得很好。但是我真的很想确保用户只需点击并安装,但是让MyBootstrappedApp.exe自动保存它和所有组件的详细安装。这是WIX/MSI的限制吗?
<Chain>
<!--<PackageGroupRef Id="Netfx35_Package" />-->
<!-- Software uses the excel automation code to read Excel data files. -->
<PackageGroupRef Id="Ace12_Installation_x64_Package" />
<PackageGroupRef Id="Ace12_Installation_x86_Package" />
<!-- Software reporting is based on SQL Server Reporting Services. -->
<PackageGroupRef Id ="Microsoft_Reports_2010_Installation_Package" />
<!-- To communicate with SQL Server, the MS Access components will require the SQL Server Native Client. -->
<PackageGroupRef Id ="Microsoft_SQL_Server_2012_x64_Installation_Package" />
<PackageGroupRef Id ="Microsoft_SQL_Server_2012_x86_Installation_Package" />
<MsiPackage Id="CadiSoftware_Package" DisplayName="CADI (Computer Aided Data Input) software" Compressed="yes" Vital="yes" SourceFile="$(var.Cadi.Wix.TargetPath)" DisplayInternalUI='yes' />
</Chain>下面是Microsoft 2012 x64本机驱动程序安装的示例片段
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
<Fragment Id="Microsoft_SQL_Server_2012_x64_Installation_Fragment">
<PackageGroup Id="Microsoft_SQL_Server_2012_x64_Installation_Package">
<!-- Install the SQL Server 2012 Native Client drivers x64. -->
<!-- DownloadUrl="http://go.microsoft.com/fwlink/?LinkID=239648&clcid=0x409"-->
<MsiPackage
Id="SQLClient2012_x64_Package"
Name="SQLClient2012_x64"
DisplayName="Microsoft SQL Server Native Client drivers"
SourceFile="Prerequisites\SqlNativeClient\x64\sqlncli.msi"
InstallCondition="VersionNT >= v5.1 AND VersionNT64"
Compressed="yes"
Vital="yes"
DisplayInternalUI="no"/>
</PackageGroup>
</Fragment>
发布于 2014-02-05 17:08:16
刻录引擎今天不“合并”日志文件。您将为Bundle获得一个日志文件,该文件可以引用每个包的子日志文件和日志文件。但是,Burn引擎确实提供了Variables,它将提供所有日志文件的路径。然后,您可以使用这些变量来创建一个uber日志文件或一个特殊的报告,或者您想向用户展示的任何东西。
https://stackoverflow.com/questions/18690194
复制相似问题