卸载后如何打开网站?

How to open a web site after uninstallation?

安装软件后我可以这样打开一个网站:

[Run]
Filename: "http://example.com"; Flags: shellexec runasoriginaluser

有没有办法在卸载软件后打开另一个网站?

为了在卸载完成后打开一个不可执行的文件,我会这样写:

[Code]
const
  UninstSiteURL = 'http://example.com/uninstalled.html';

procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep);
var
  ErrorCode: Integer;
begin
  if CurUninstallStep = usDone then
    ShellExec('', UninstSiteURL, '', '', SW_SHOW, ewNoWait, ErrorCode);
end;