ShellExecuteEx Fail; code 255.

35 views
Skip to first unread message

Miguel Labolida

unread,
Feb 27, 2020, 4:25:10 AM2/27/20
to innosetup-test
Error message:
--------------
ShellExecuteEx Fail; code 255.
Extended attributes are inconsistent.

Script:
-------
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "Biblio"
#define MyAppVersion "1.00"
#define MyAppExeName "App.jar"

[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value 

in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{346D19D6-7141-430D-BA1C-6E7A36172248}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=c:\Biblio\{#MyAppName}
DisableProgramGroupPage=yes
; Uncomment the following line to run in non administrative install mode (install for current 

user only.)
;PrivilegesRequired=lowest
OutputDir=C:\Source\Java\Bib\Instal_Inno
OutputBaseFilename=Biblio_inst
SetupIconFile=C:\Source\Java\Bib\Instal_Inno\appl.ico
Compression=lzma
SolidCompression=yes
WizardStyle=modern

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "portuguese"; MessagesFile: "compiler:Languages\Portuguese.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: 

"{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "C:\Source\Java\Bib\App.jar"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Source\Java\Bib\img\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs 

createallsubdirs
Source: "C:\Source\Java\Bib\sqlite-jdbc-3.25.2.jar"; DestDir: "{app}"; Flags: ignoreversion
Source: "C:\Source\Java\Bib\biblio.db"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, 

'&', '&&')}}"; Flags: shellexec postinstall skipifsilent

Reply all
Reply to author
Forward
0 new messages