在Bundle中设置InstallPrivileges = "enlevated"。Bootstrapper Wix

问题描述 投票:0回答:1

我发现要设置Wix安装程序的管理权限,你必须设置。

<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" InstallPrivileges="elevated"/>

<Product/>. 但如何设置为捆绑,因为我不能创建 <Package/> ?

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Bundle Name="Bootstrapper13" Version="1.0.0.0" Manufacturer="" UpgradeCode="86064926-b150-448f-aba9-fb0c8f4a83b5">
    <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />

    <Chain>
        <!-- TODO: Define the list of chained packages. -->
        <!-- <MsiPackage SourceFile="path\to\your.msi" /> -->
    </Chain>
</Bundle>

wix bundle bootstrapper
1个回答
0
投票

燃烧会自动检测您是否有 perMachine 包;你不必告诉它。

© www.soinside.com 2019 - 2024. All rights reserved.