wix - 在 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>
解决方案
Burn 自动检测您何时有perMachine
包;你不必告诉它。
推荐阅读
- security - 存在“严格动态”,因此禁用了基于主机的白名单
- docusignapi - DocuSign C# 基础项目的重定向 URL 应该是什么?
- java - 带有继承的 Java 中的 NullPointerException
- c# - 我的 C# DotNet DLL 被 Windows Defender 检测为勒索软件
- biztalk - BizTalk 或 SSIS
- csv - 带有 INTO OUTFILE 指令的 SQL 请求语法错误
- react-native - React Native 设置输入焦点
- javascript - 带有“未定义”函数参数的简单类型错误
- r - 尝试在 R 中对我的数据框中的列名进行子集化
- python - 混淆矩阵Python中数字的位置不合适