Wix Open Page而不使用WixUtilExtension

时间:2012-10-02 17:35:36

标签: wix wix-extension

我按照Wix Open web page when uninstall completes

上的解决方案

它可以工作,但我想修改解决方案,这样我就不必在使用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>

但是,此解决方案不起作用。有人可以向我解释一下原因吗?

0 个答案:

没有答案