Sign in to follow this  
Followers 0
anixon

obfuscator

3 posts in this topic

If you are running Windows Vista and have a routine that writes value to registry then the following include is required to be incorporated into your script because of the way that Vista seeks user authorisation as a means of managing system integrity.

#RequireAdmin

However if you compile the program [in sCiTe] selecting the obfuscator using the /striponly option the compiled script still runs as if there is no problem however the routine

will no longer write value to registry.

If you compile the program without using obfuscator then there is no problem.

I am not sure if this is a bug so I will let those who are better qualified in matters AutoIT decide.

Ant.. :P

Share this post


Link to post
Share on other sites



If you are running Windows Vista and have a routine that writes value to registry then the following include is required to be incorporated into your script because of the way that Vista seeks user authorisation as a means of managing system integrity.

#RequireAdmin

However if you compile the program [in sCiTe] selecting the obfuscator using the /striponly option the compiled script still runs as if there is no problem however the routine

will no longer write value to registry.

If you compile the program without using obfuscator then there is no problem.

I am not sure if this is a bug so I will let those who are better qualified in matters AutoIT decide.

Ant.. :P

You are right. Obfuscator stripped the #RequireAdmin line in the output script. This is easy to check by just checking the output of Obfuscator and see if something is wrong. It will be called: Your-script-name_Obfuscated.au3

Try the version currently available in the Beta directory: http://www.autoitscript.com/autoit3/scite/.../Obfuscator.exe

Jos


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

Share this post


Link to post
Share on other sites

You are right. Obfuscator stripped the #RequireAdmin line in the output script. This is easy to check by just checking the output of Obfuscator and see if something is wrong. It will be called: Your-script-name_Obfuscated.au3

Try the version currently available in the Beta directory: http://www.autoitscript.com/autoit3/scite/.../Obfuscator.exe

Jos

Thanks very much for your prompt reply. I downloaded the obfuscator.exe update and I can report that the problem is resolved. Thanks again Ant.. :P

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