【发布时间】:2012-06-13 06:37:33
【问题描述】:
我一直在通过比较旧版本和新版本的 pdb 文件来生成补丁文件。 补丁文件 (msp) 安装成功,没有弹出系统重启对话框。 卸载补丁时会弹出重启系统对话框。 请告诉我如何在卸载时限制重新启动系统对话框。
补丁文件
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Patch
AllowRemoval="yes"
Manufacturer="Test"
MoreInfoURL="http://www.test.com/"
DisplayName="Patch 1.0.1"
Description="Patch"
Classification="Update"
>
<Media Id="5000" Cabinet="RTM.cab">
<PatchBaseline Id="RTM">
<Validate ProductId="no" />
</PatchBaseline>
</Media>
<PatchFamilyRef Id="PatchFamily"/>
</Patch>
<Fragment>
<PatchFamily Id='PatchFamily' Version='1.0.1' Supersede='yes' >
<!--<ComponentRef Id="C__F12B37CBEAE157D538B2BAC1CF30713C"/>
<ComponentRef Id="C__3430F83A3728AE39FA075656EBFCA0BD"/>-->
</PatchFamily>
</Fragment>
</Wix>
【问题讨论】:
标签: wix installation patch