Modify

Opened 6 years ago

Closed 6 years ago

#3727 closed Bug (Fixed)

$VERSION not increased in compiled script with #AutoIt3Wrapper_Run_Au3Stripper=y

Reported by: Van0 Owned by: Jos
Milestone: Component: SciTE4AutoIt
Version: Severity: None
Keywords: Cc:

Description

#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Res_Fileversion_First_Increment=y

With this two lines $VERSION variable automatically updated with current file version. However when Au3Stripper is activated, the $VERSION in compiled script is not updated.

Example:

#AutoIt3Wrapper_Res_Fileversion=1.0.0.0
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Res_Fileversion_First_Increment=y
#AutoIt3Wrapper_Run_Au3Stripper=y

Global Const $VERSION = "1.0.0.0"

MsgBox(0, "Version", $VERSION)

After compilation the .exe file itself will have version 1.0.0.1, but when executed it will show 1.0.0.0 in the message box.

Change History (3)

comment:1 Changed 6 years ago by mLipok

  • Component changed from AutoIt to SciTE4AutoIt
  • Owner set to Jos

comment:2 Changed 6 years ago by Jos

New version available in beta that runs de version update before au3stripper.
Please try and let me know whether that solves the issue.

Jos

comment:3 Changed 6 years ago by Jos

  • Resolution set to Fixed
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.