试图为我的MSI制作patch.msp并尝试安装此修补程序。但它要求管理员权限。 1)在我的实际MSI安装过程中,它不要求管理员权限。 2)但在补丁安装/更新期间,它要求管理员权限。MSI WIX:补丁安装是否需要管理员权限?
我们可以在没有管理员权限的情况下安装/更新补丁吗?
下面是我Patch.wxs
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'
xmlns:util='http://schemas.microsoft.com/wix/UtilExtension'>
<Patch
AllowRemoval="yes"
Classification="Update"
Comments="Patch for FooTesting Software V 1.0.0"
Description="Update for Foo Testing Software V 1.0.0"
DisplayName="Foo Testing Patch"
Manufacturer="Foo Inc."
TargetProductName="Foo testig">
<Media Id="1000" Cabinet="FooTesting.cab">
<PatchBaseline Id="FooTesting" />
</Media>
<PatchFamily
Id="MyPatchFamily"
Version="1.0.1"
ProductCode="44139BED-5F1A-4C1E-BE12-C7148BE11189"
Supersede="yes"/>
</Patch>