[Code]
function InitializeSetup(): Boolean;
var ErrorCode: Integer;
begin
if Is64BitInstallMode then
begin
if MsgBox('您的系统为32位,请对应去下载安装本工具的32位版本!', mbInformation, MB_OK)=IDOK then
begin
ShellExec('open', 'http://www.test.com.cn/soft/test.rar', '', '', SW_SHOWNORMAL, ewNoWait,ErrorCode)
Result :=false //安装程序退出
end
end
else
Result :=true;
end;