enter image description here团队,
使用INNO Tool创建安装文件并在Windows 10 OS中执行安装文件,并显示问题,
Unable to execute File: c:\Program Files (X86)\Setup1\Test.exe createprocess failed; code 740. the requested operation requires elevation.
请提供如何解决此问题。 我在项目中使用了sqlite数据库。
谢谢。
答案 0 :(得分:0)
您需要以管理员身份运行exe,请参见http://www.jrsoftware.org/ishelp/index.php?topic=setup_privilegesrequired
作为普通用户,您不能在计算机上安装它。
答案 1 :(得分:0)
您可以添加shellexec标志
Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}; Flags: nowait postinstall shellexec skipifsilent