Jump to content

Aut2Exe - no program description details?


web2win
 Share

Go to solution Solved by Jos,

Recommended Posts

When I compile an autoit script with the SciTE editor, it lets me enter Resource Update details such as comments, file version, copyright. etc. It then saves all this data as "Directives created by AutoIt3Wrapper_GUI"

How can I get Aut2Exe to read a similar directive script and compile the properties details that I want, such as file version, etc., into the exe ?

Thanks.

 

Edited by web2win
Link to comment
Share on other sites

Not sure if this will help, but here is a similar question,

 

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

Spoiler

"Life is chiefly made up, not of great sacrifices and wonderful achievements, but of little things. It is oftenest through the little things which seem so unworthy of notice that great good or evil is brought into our lives. It is through our failure to endure the tests that come to us in little things, that the habits are molded, the character misshaped; and when the greater tests come, they find us unready. Only by acting upon principle in the tests of daily life can we acquire power to stand firm and faithful in the most dangerous and most difficult positions."

 

Link to comment
Share on other sites

2 hours ago, junkew said:

I don't believe that offers setting version etc? Unless I'm mistaken?

Nine was correct -- Disregard.

4 hours ago, web2win said:

I want, such as file version, etc.,

 

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

Spoiler

"Life is chiefly made up, not of great sacrifices and wonderful achievements, but of little things. It is oftenest through the little things which seem so unworthy of notice that great good or evil is brought into our lives. It is through our failure to endure the tests that come to us in little things, that the habits are molded, the character misshaped; and when the greater tests come, they find us unready. Only by acting upon principle in the tests of daily life can we acquire power to stand firm and faithful in the most dangerous and most difficult positions."

 

Link to comment
Share on other sites

  • Developers

Yes it does...  the #pragma directive is read by aut2exe. :) 
The #Autoit3Wrapper directives makes the changes after the exe is created when done by AutoIt3Wrapper.

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

1 hour ago, Jos said:

The #Autoit3Wrapper directives makes the changes after the exe is created when done by AutoIt3Wrapper.

But if you compile via CMD for example, #Autoit3Wrapper directives aren't read, which, I think, is what the poster is referring to??

33 minutes ago, Nine said:

Like I already told you, if you have listen, you would have seen this :

Thanks Nine, I should have tried before I replied. My bad. I went to Junkew's link, and none of those params were listed.

Edited by donnyh13

LibreOffice UDF  ; Scite4AutoIt Spell-Checker Using LibreOffice

Spoiler

"Life is chiefly made up, not of great sacrifices and wonderful achievements, but of little things. It is oftenest through the little things which seem so unworthy of notice that great good or evil is brought into our lives. It is through our failure to endure the tests that come to us in little things, that the habits are molded, the character misshaped; and when the greater tests come, they find us unready. Only by acting upon principle in the tests of daily life can we acquire power to stand firm and faithful in the most dangerous and most difficult positions."

 

Link to comment
Share on other sites

  • Developers
8 hours ago, donnyh13 said:

But if you compile via CMD for example, #Autoit3Wrapper directives aren't read, which, I think, is what the poster is referring to??

Correct...  So hence my whole answer! 😏

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

the INI file named myScript.ini

Aut2Exe reads an INI file named Scriptname.ini if it is available. The INI file should be located in the same directory as the AutoIt script that you are compiling.

The Aut2Exe command for reading an INI file is as follows:

aut2exe.exe /i Scriptname.ini


This command tells Aut2Exe to read the INI file named Scriptname.ini and use the information in the file to compile the AutoIt script.

If you do not specify an INI file to read, Aut2Exe will use the default configuration settings.

Here is an example of how to use the Aut2Exe command to read an INI file:

aut2exe.exe /i myScript.au3 /i myScript.ini


This command tells Aut2Exe to compile the AutoIt script named myScript.au3 and use the information in the INI file named myScript.ini to compile the script.

Link to comment
Share on other sites

Yes I want to compile from CMD. But I don't know why the #Autoit3Wrapper directives aren't being read. Meanwhile I discovered that Aut2Exe reads an INI file named Scriptname.ini. I will experiment with that ini to see if it can read: file version, company, copyright, language, etc. and display that stuff in the compiled program properties. 

Edited by Melba23
Link to comment
Share on other sites

  • Moderators

web2win,

When you reply in future, please use the "Reply to this topic" button at the top of the thread or the "Reply to this topic" editor at the bottom rather than the "Quote" button - responders (particularly when it is yourself!) know what they wrote and it just pads the thread unnecessarily. Thanks in advance for your cooperation.

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

  • Developers

Fileinstall will add/include a file in the program resources which then will be installed on the computer that runs the script. Open the helpfile and search for the details.

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

I know how to use Fileinstall and I know the command line parameters I need. But I am not sure of the correct syntax for an ini file. I want to make changes to the program properties, fileversion, description, etc.  but Aut2Exe doesn't seem to read the ini at all.  And is AutoIt3Wrapper an exe file or an au3 data file? When I run it nothing happens....  Is there working example for a command line AutoIt3Wrapper use somewhere? 

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...