Creating Setup from INNO Tool, Exe is not running?

1.5k Views Asked by At

enter image description hereTeam,

Creating Setup file using INNO Tool and execute the setup file in windows 10 OS, and issue showing,

Unable to execute File:
c:\Program Files (X86)\Setup1\Test.exe
createprocess failed; code 740.
the requested operation requires elevation.

Please provide how to resolve this issue. I have used sqlite database in my project.

thanks.

2

There are 2 best solutions below

0
On

you need to run the exe as administrator, see http://www.jrsoftware.org/ishelp/index.php?topic=setup_privilegesrequired

As a normal user you are not allowed to install this on your computer.

0
On

you can add the shellexec flag

Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}; Flags: nowait postinstall shellexec skipifsilent