Jump to content

Recommended Posts

Posted (edited)

Hello,

A new version of AutoIt has no AutoIt3Wrapper. In older version I could add compiler directive: #AutoIt3Wrapper_UseUpx=n

Is there a way to add /nopack compiler directive to my script in the current AutoIt version?

 

Edited by minimen456
  • Developers
Posted
  On 11/22/2018 at 7:37 AM, minimen456 said:

A new version of AutoIt has no AutoIt3Wrapper.

Expand  

It never had AutoIt3Wrapper included in the AutoIt3 installer. This is added functionality I wrote and is included in the SciTE4AutoIt3 extra installer which you need to install to get this again. See my sig for a link. ;) 

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
  On 11/22/2018 at 7:55 AM, Jos said:

It never had AutoIt3Wrapper included in the AutoIt3 installer. This is added functionality I wrote and is included in the SciTE4AutoIt3 extra installer which you need to install to get this again. See my sig for a link. ;) 

Expand  
 

Thank you! I've downloaded full installer and it worked, no more antivirus false alarm :)

I still would like to ask is there a way to add  /nopack compiler directive into the code if AutoIt3Wrapper isn't present in an environment.

  • Developers
Posted (edited)

Sure, look at the #pragma() option in the helpfile to set compiler options, in this case:

#pragma compile(UPX, False)

Jos :) 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

@Jos I am sorry becose I am not the OP but... about this subject. I just need to be sure . It is to make script unreadable after uncompiling ? 

Everyone use this but i guess it is for protection but, does i am correct ?

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

  Reveal hidden contents

 

  • Moderators
Posted

caramen,

All upx does is compress the executable to make it smaller - this was useful back in the days when disk storage was at a premium, but nowadays is not really necessary. However, the compression does make it more difficult to examine the internals of the executable and this often leads AVs to flag any compressed file as a possible threat - hence the option not to use the compressor when compiling. It does NOT add any form of security to the compressed code.

And you should know better than to even mention decompilation here - naughty boy!

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Posted
  On 11/22/2018 at 10:46 AM, Melba23 said:

M23

Expand  

Thanks. 

My video tutorials : ( In construction )  || My Discord : https://discord.gg/S9AnwHw

How to Ask Help ||  UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote

  Reveal hidden contents

 

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
×
×
  • Create New...