首页 > 解决方案 > 在 Bundle 中设置 InstallPrivileges = "elevated"。引导程序蜡

问题描述

我发现为你必须设置的 Wix 安装程序设置管理权限:

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

<Product/>. 但是在哪里/如何为Bundle设置它,因为我无法创建<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>

标签: wixbundlebootstrapper

解决方案


Burn 自动检测您何时有perMachine包;你不必告诉它。


推荐阅读