0

如何检查系统是 32 位还是 64 位,然后运行正确的 silverlight 安装程序?

[Run]
Filename: "{tmp}\Silverlight_x64.exe"; Check: SilverlightIsNotInstalled ; Flags: nowait

[code]
function SilverlightIsNotInstalled: Boolean;
   begin
Result := not RegKeyExists(HKEY_LOCAL_MACHINE, 'SOFTWARE\Microsoft\Silverlight');
end;
4

0 回答 0