marshwal Posted October 27, 2016 Share Posted October 27, 2016 Hello Everyone, I have searched all over and can't find an answer. I have used AutoIT for years without many problems, however recently, it just no longer changes the file version for complied EXEs. I have always just had the following code at the top of my programs and it has worked fine in the past, it now just leaves the file version on the exe blank. #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Compression=4 #AutoIt3Wrapper_Res_Fileversion=2.0.2.0 #AutoIt3Wrapper_Res_ProductVersion=2.0.2.0 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** If anyone can point me to a fix or what i am doing wrong that would be awesome. Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted October 27, 2016 Moderators Share Posted October 27, 2016 (edited) @marshwal what AutoIt version? I just tried this and it compiled as expected; both file version and product version. Edit: Hit save too fast You cant try it with the #pragma line (below), but it is working fine for me as you have it. #pragma compile(ProductVersion, 0.1.3.7) #pragma compile(FileVersion, 1.2.3.4) Edited October 27, 2016 by JLogan3o13 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
marshwal Posted October 27, 2016 Author Share Posted October 27, 2016 I am on the latest I believe. Version: 3.3.14.2 And at your suggestion #pragma complie worked perfectly. Have no idea why Wrapper Directives stopped working but I can at least use your suggestion as a work around. Thanks a bunch! Link to comment Share on other sites More sharing options...
Developers Jos Posted October 27, 2016 Developers Share Posted October 27, 2016 (edited) Show me the SciTE output pane info generated by the compile, so I can see what is happening. Jos Edited October 27, 2016 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 More sharing options...
orbs Posted October 27, 2016 Share Posted October 27, 2016 the wrapper directives work for me, latest AutoIt and SciTE. is it supposed not to work...? Signature - my forum contributions: Spoiler UDF: LFN - support for long file names (over 260 characters) InputImpose - impose valid characters in an input control TimeConvert - convert UTC to/from local time and/or reformat the string representation AMF - accept multiple files from Windows Explorer context menu DateDuration - literal description of the difference between given dates Apps: Touch - set the "modified" timestamp of a file to current time Show For Files - tray menu to show/hide files extensions, hidden & system files, and selection checkboxes SPDiff - Single-Pane Text Diff Link to comment Share on other sites More sharing options...
Developers Jos Posted October 27, 2016 Developers Share Posted October 27, 2016 It should work fine ... hence my question to show the generated output by AutoIt3Wrapper from the OutputPane. 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 More sharing options...
marshwal Posted October 27, 2016 Author Share Posted October 27, 2016 16 minutes ago, Jos said: Show me the SciTE output pane info generated by the compile, so I can see what is happening. Jos I'm sure it is just user error, and you'll have to excuse my ignorance when it comes to autoit, I am by no means an expert. When compiling in Scite this is the only output I get: >"C:\Program Files (x86)\AutoIt3\SciTE\..\aut2exe\aut2exe.exe" /in "Z:\AutoIT Scripts\Autoit MDTs\Live\hpdupdater\hpdupdaterw7 - Copy - Copy.au3" Ultimate Packer for eXecutables Copyright (C) 1996 - 2013 UPX 3.91w Markus Oberhumer, Laszlo Molnar & John Reiser Sep 30th 2013 File size Ratio Format Name -------------------- ------ ----------- ----------- 912384 -> 435712 47.76% win32/pe aut545C.tmp.exe Packed 1 file. >Exit code: 0 Time: 1.293 Link to comment Share on other sites More sharing options...
Developers Jos Posted October 27, 2016 Developers Share Posted October 27, 2016 So as you can see you aren't running AUtoIt3Wrapper anymore. Just download and run the SciTE4AutoIt3 installer to see if that fixes it. 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now