Why Inno Setup c admin rights can't reach the system tools of Windows?

Good time of day!

Written scripts for Inno Setup.

[Setup]
AppID={#AppID}
AppName={#ApplicationName}
AppVerName={#ApplicationName} {#ApplicationVersion}
AppVersion={#ApplicationVersion}
VersionInfoVersion={#InstallerVersion}
AppPublisher=
AppPublisherURL=
DefaultDirName={userappdata}\
DefaultGroupName=
OutputDir=h:\jService
OutputBaseFilename=JServiceSetup
SetupLogging=yes
SolidCompression=yes
Compression=lzma2/ultra64
PrivilegesRequired=admin

Why the next section of the Run doesn't work???

Filename: "C:\Windows\System32\cmd.exe"; Parameters: "/C ""some.bat"" "; Flags: shellexec postinstall runascurrentuser;
July 12th 19 at 16:37
1 answer
July 12th 19 at 16:39

Find more questions by tags Windows