Jump to content

How to /nopack?


Recommended Posts

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
Link to comment
Share on other sites

  • Developers
16 minutes ago, minimen456 said:

A new version of AutoIt has no AutoIt3Wrapper.

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.
  :)

Link to comment
Share on other sites

12 minutes ago, 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. ;) 

 

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.

Link to comment
Share on other sites

  • Developers

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.
  :)

Link to comment
Share on other sites

@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

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
Share on other sites

  • Moderators

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:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

8 minutes ago, Melba23 said:

M23

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

Spoiler

 Water's UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Link to comment
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
 Share

×
×
  • Create New...