0

卸载完成后,我遵循了Wix Open 网页上的解决方案

它有效,但我想修改解决方案,以便在使用 light.exe 时不必放置 -ext WixUtilExtension

<Property Id="MyURL"><![CDATA[http://www.myurl.com/]]></Property>
<CustomAction Id="SetOpenURL" Property="WixShellExecTarget" Value="[MyURL]" />
<Binary Id="WixCA" SourceFile="C:\LocationOfFile\WixUtilExtension.dll" /> 
<CustomAction Id="OpenURL" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" Return="ignore" />

<InstallExecuteSequence>
    <!-- Launch webpage during full uninstall, but not upgrade -->
    <Custom Action="SetOpenURL" After="InstallFinalize"></Custom>
    <Custom Action="OpenURL" After="SetOpenURL"></Custom>
</InstallExecuteSequence>

但是,此解决方案不起作用。有人可以向我解释为什么吗?

4

0 回答 0