View Single Post
  #99  
Old 14-12-2022, 14:15
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow

Quote:
Originally Posted by ffmla View Post
I am testing this in win 10(I only have this).
In the example script ie. Example_DefaultSkin.iss, while compiling(Inno EE 5.5.1) it throws the following exception msg.
Code:

Code:
[22:29:28.728]   InitializeWizard raised an exception (fatal).
[22:29:28.730]   Exception message:
[22:29:28.732]   Message box (OK):
	Runtime Error (at 301:2942):
	
	Exception "EFOpenError" at address 00497587.
found out what the problem was...

Code:
Error:

Memo1.LoadFromfile('C:\Program Files (x86)\Inno Setup 5\license.txt');
Code:
Fix:

[Files]
...

Source: ".\license.txt"; DestDir: "{tmp}"; Flags: dontcopy;


{Code]
...

Memo1.LoadFromfile(ExtractAndLoad('license.txt'));
Code:
Hint:

* Use BlankForm instead of FluentForm for Windows 10.


Example:

#define Windows10

....

#ifdef Windows10
  FMXForm.FCreateBlankForm(WizardForm.Handle, ALCoral, '');
#else
  FMXForm.FCreateFluent(WizardForm.Handle, True, False, 0.56, 0);
#endif

...

,

Last edited by BLACKFIRE69; 14-07-2024 at 01:43.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (16-12-2022), audiofeel (14-12-2022), ffmla (15-12-2022), Razor12911 (17-12-2022)