Source: "jre-8u11-windows-x64.exe"; DestDir: "{tmp}JREInstall.exe"; Check: IsWin64 AND InstallJava();Source: "jre-8u11-windows-i586.exe"; DestDir: "{tmp}JREInstall.exe"; Check: (NOT IsWin64) AND InstallJava();
他们应该像这样:
Source: "jre-8u11-windows-x64.exe"; DestDir: "{tmp}"; DestName: "JREInstall.exe"; Check: IsWin64 AND InstallJava();Source: "jre-8u11-windows-i586.exe"; DestDir: "{tmp}"; DestName: "JREInstall.exe"; Check: (NOT IsWin64) AND InstallJava();
这似乎已经解决了问题。
另外这行我被误认为:
Filename: "{tmp}JREInstall.exe"; Parameters: "/s"; Flags: nowait postinstall runhidden runascurrentuser; Check: InstallJava()
应该是:
Filename: "{tmp}JREInstall.exe"; Parameters: "/s"; Flags: nowait runhidden runascurrentuser; Check: InstallJava()
这是我使用此特定工具的有限经验所能提供的最佳解决方案。如果有机会,我将研究PrepareToInstall选项,但这暂时有效。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)