Share 发表于 2017-5-30 05:15:15

汉化或破解我就注册表路径检索


AppName=你的软件名称
AppVersion=1.0
DefaultDirName={pf}\My Program
Uninstallable=no
DisableProgramGroupPage=yes
DisableDirPage=yes


Source: 32位\amtlib.dll; DestDir: {reg:HKLM\SOFTWARE\Wow6432Node\Adobe\Photoshop\60.0, ApplicationPath}; Flags: ignoreversion; check: Is32bitInstalled
Source: 64位\amtlib.dll; DestDir: {reg:HKLM\SOFTWARE\Adobe\Photoshop\60.0, ApplicationPath}; Flags: ignoreversion; check: Is64bitInstalled


function Is32bitInstalled(): Boolean;
begin
result:= RegValueExists(HKLM, 'SOFTWARE\Wow6432Node\Adobe\Photoshop\60.0', 'ApplicationPath');
end;

function Is64bitInstalled(): Boolean;
begin
result:= RegValueExists(HKLM, 'SOFTWARE\Adobe\Photoshop\60.0', 'ApplicationPath');
end;

页: [1]
查看完整版本: 汉化或破解我就注册表路径检索