正式会员享受无限制浏览网站功能和高速网盘下载,赶快加入本站吧!
您需要 登录 才可以下载或查看,没有账号?立即注册
x
- [Setup]
- AppName=你的软件名称
- AppVersion=1.0
- DefaultDirName={pf}\My Program
- Uninstallable=no
- DisableProgramGroupPage=yes
- DisableDirPage=yes
- [Files]
- 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
- [Code]
- 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;
复制代码
|