问题描述
我创建了一个自定义 Bootstrapper 主题 Wix 工具集应用程序。 我不知道如何阻止卸载应用程序或显示应用程序正在后台运行的警报。
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="ABV Manager" Version="0.0.1.0" Manufacturer="ABV" UpgradeCode="b76115c2-2479-44bc-a2b6-88753732c45c" IconSourceFile="Common\logo.ico">
<!--Upgrade if older version is peresent-->
<RelatedBundle Id="b76115c2-2479-44bc-a2b6-88753732c45c" Action="Upgrade"/>
<!-- Variable to set default checkBox value -->
<Variable Name="AddDesktopShortcut" Type="numeric" Value="1" />
<!-- Variable to pass value to msi-->
<Variable Name="AddDesktopShortcutMsiVariable" bal:Overridable="yes" Value="[AddDesktopShortcut]" />
<!-- Layout setup -->
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication
logoFile="Common\logo.jpg"
LicenseFile="Common\license.rtf"
ThemeFile="Common/MyCustomBootstrapperTheme.xml"
LocalizationFile="Common/MyCustomBootstrapperTheme.wxl" />
</BootstrapperApplicationRef>
<Chain>
<!-- Windows Desktop core runtime installation -->
<ExePackage Id="windowsdesktoprunExe" Cache="no" Compressed="yes" SourceFile="Redist\windowsdesktop-runtime-5.0.3-win-x64.exe"
PerMachine="yes" Vital="yes" Name="InstallnetWin503" Permanent="yes" InstallCommand="/q"
RepairCommand="/repair /quiet /norestart /log "[WindowsDesktopRuntime503Log]""
UninstallCommand="/uninstall /quiet /norestart /log "[WindowsDesktopRuntime503Log]"" Protocol="burn">
<ExitCode Behavior="success" Value="1638"/>
</ExePackage>
<!-- ABV Service Manager MSI installation -->
<MsiPackage Id="ABVMSI" Compressed="yes" SourceFile="$(var.Installer.TargetPath)"
Vital="yes" Name="InstallABVApplication" />
</Chain>
</Bundle>
</Wix>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)