【发布时间】:2020-03-13 23:28:12
【问题描述】:
我创建了 wix bootsrapper 应用程序,它安装 2 个 msi 并运行 1 个 exe 文件。 每当我运行它时,它都会出现在控制面板中(重复)。 但是当我想从控制面板中删除时,它只是在运行而不是卸载。
我的 bootsraperr 代码是这样的:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<?define LibsDir="..\Shared\Lib\" ?>
<Bundle Name="Product Setup" Version="1.0.0.0" Manufacturer="MyCompany" UpgradeCode="{32FC4B59-99BE-4617-867C-4620E2E5772F}">
<BootstrapperApplicationRef Id="ManagedBootstrapperApplicationHost">
<Payload SourceFile="BootstrapperCore.config" />
<Payload SourceFile="$(var.LibsDir)WixWPF.dll" />
<Payload SourceFile="$(var.LibsDir)WixWPF.pdb" />
<Payload SourceFile="msi\p1.msi" />
<Payload SourceFile="msi\p2.msi" />
<Payload SourceFile=".../.exe" />
</BootstrapperApplicationRef>
<Chain>
<PackageGroupRef Id="NetFx40Web" />
<MsiPackage Id="Product1" SourceFile="msi\p2.msi" InstallCondition="InstallP=1" />
<MsiPackage Id="Product2" SourceFile="msi\P1.msi" />
<ExePackage Id="Product3" SourceFile="p2.exe" />
</Chain>
</Bundle>
</Wix>
我想从控制面板卸载它。 我该如何处理?
【问题讨论】:
-
msi 日志告诉你什么?
标签: c# wix uninstallation wix3.5 bootstrapper