Sign in to follow this  
Followers 0
Iczer

Compilation fail on #AutoIt3Wrapper_Res_requestedExecutionLevel

4 posts in this topic

Trying to port some of my scripts to 3.3.10.2 from 3.3.8.1 but, compilation in complete version of SciTE fail with Exit code: -1073741819 if #AutoIt3Wrapper_Res_requestedExecutionLevel is set to anything beside "default"

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /ShowGui /in "E:\Program Files\Auto-it scripts\AM\AM.au3"
+>19:05:04 Starting AutoIt3Wrapper v.2.1.4.0 SciTE v.3.3.7.0 ;  Keyboard:00000409  OS:WIN_XP/Service Pack 2  CPU:X64 OS:X64    Environment(Language:0409  Keyboard:00000409  OS:WIN_XP/Service Pack 2  CPU:X64 OS:X64)
-> No changes made..
>Running AU3Check (3.3.10.2)  from:C:\Program Files (x86)\AutoIt3\Beta
+>19:05:07 AU3Check ended.rc:0
>Running:(3.3.10.2):C:\Program Files (x86)\AutoIt3\Beta\aut2exe\aut2exe.exe  /in "E:\Program Files\Auto-it scripts\AM\AM.au3" /out "C:\Documents and Settings\***\Local Settings\Application Data\AutoIt v3\Aut2exe\~AU3tuvgtqw.exe" /nopack /icon "C:\Program Files (x86)\AutoIt3\Icons\au3.ico" /comp 2
+>19:05:10 Aut2exe.exe ended.C:\Documents and Settings\***\Local Settings\Application Data\AutoIt v3\Aut2exe\~AU3tuvgtqw.exe. rc:0
>19:05:10 Performing the Program Resource Update steps:
!>19:05:10 Error: Failed to enumerate RT_VERSION resources, using defaults.
...>Updating Program Version information.
!>19:05:10 Error: Failed to enumerate RT_MANIFEST resources, using defaults.
...>Setting Program ExecutionLevel Manifest information to asInvoker
...>Updating Program Manifest information.
>Exit code: -1073741819    Time: 6.467
>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /ShowGui /in "E:\Program Files\Auto-it scripts\AM\AM.au3"
+>19:04:03 Starting AutoIt3Wrapper v.2.1.4.0 SciTE v.3.3.7.0 ;  Keyboard:00000409  OS:WIN_XP/Service Pack 2  CPU:X64 OS:X64    Environment(Language:0409  Keyboard:00000409  OS:WIN_XP/Service Pack 2  CPU:X64 OS:X64)
-> No changes made..
>Running AU3Check (1.54.22.0)  from:C:\Program Files (x86)\AutoIt3
+>19:04:07 AU3Check ended.rc:0
>Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\aut2exe\aut2exe.exe  /in "E:\Program Files\Auto-it scripts\AM\AM.au3" /out "C:\Documents and Settings\***\Local Settings\Application Data\AutoIt v3\Aut2exe\~AU3cycuaah.exe" /nopack /icon "C:\Program Files (x86)\AutoIt3\Icons\au3.ico" /comp 2
+>19:04:09 Aut2exe.exe ended.C:\Documents and Settings\***\Local Settings\Application Data\AutoIt v3\Aut2exe\~AU3cycuaah.exe. rc:0
>19:04:09 Performing the Program Resource Update steps:
!>19:04:09 Error: Failed to enumerate RT_VERSION resources, using defaults.
...>Updating Program Version information.
!>19:04:09 Error: Failed to enumerate RT_MANIFEST resources, using defaults.
...>Setting Program ExecutionLevel Manifest information to asInvoker
...>Updating Program Manifest information.
...>Adding / Removing 4 resource(s).
>19:04:09 Program Resource updating finished successfully.
+>19:04:09 Created program:E:\Program Files\Auto-it scripts\AM\AM.exe
>Exit code: 0    Time: 6.590

Is it not supported any more?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

How does you script directives look?

Please post a reproducer as a quick test worked for me.

EDIT:
-Guess you don't have a standard setup as you have 3..3.10.2 in Beta?

- have you checked you AntiVirus whether or not that's interfering?

Jos

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

yeah - main 3.3.8.1 and 3.3.10.2 in beta. If i compile script without this directive in 3.3.10.2, everything is ok, i don't have AntiVirus, Firewall have permissions for 3.3.10.2 and 3.3.8.1 internal files

reproduser is really simple:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****

#AutoIt3Wrapper_Version=Beta
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker

#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

if i try compile this with 3.3.10.2 i get error, if with 3.3.8.1 - all ok

complete directives:

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Version=Beta
#AutoIt3Wrapper_Icon=C:\Program Files (x86)\AutoIt3\Icons\au3.ico
#AutoIt3Wrapper_Res_Comment=dhdfghgb
#AutoIt3Wrapper_Res_Description=sfghdfh
#AutoIt3Wrapper_Res_Fileversion=4.7.28.17
#AutoIt3Wrapper_Res_LegalCopyright=dcbvxcvb
#AutoIt3Wrapper_Res_requestedExecutionLevel=asInvoker
://////=__=
#AutoIt3Wrapper_Res_File_Add=E:\Program Files\Auto-it scripts\AM\ft.BMP, rt_rcdata, ft
#AutoIt3Wrapper_Res_File_Add=E:\Program Files\Auto-it scripts\AM\f.BMP, rt_rcdata, f
#AutoIt3Wrapper_Res_File_Add=E:\Program Files\Auto-it scripts\AM\nf.BMP, rt_rcdata, nf
#AutoIt3Wrapper_Res_File_Add=E:\Program Files\Auto-it scripts\AM\n.BMP, rt_rcdata, n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

hmm... i just put random letters in text fields and now compilation hungs consuming one cpu core...

edit : strange - #AutoIt3Wrapper_Res_Field=AutoIt Version|%AutoItVer% get transformed into something... {://////=__= }

Edited by Iczer

Share this post


Link to post
Share on other sites

It works fine for me with you first provided script.

The second can only be tested when all files are provided.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0