Luigi Posted October 31, 2014 Share Posted October 31, 2014 (edited) Hi Forum! Another time, I had to compile some information within the code that I do not remember exactly ... But the doubt remained. Then, you can compile a file, use the FileInstal to embed this file into the executable, and save this FileVersion within a variable within the code? Something like auto-updating of the variable that contains the FileVersion file. If you wonder why it is easy to answer: Do not downgrade file. (not allow retrograde file update). At the moment I see an alternative path, but I would not use it to exchange ideas. Embedding the file into the executable, and expand it with a temporary name, making verification of FileVersion files (new and old) and overwrite the latest. It's an option ... Another option would be to build a script to be run before compile, look for the variable in question, read the name of the file you want to get FileVersion and use this script to update the variable with the version of the file, then proceed with the build. Is this possible? Br, Detefon Edited October 31, 2014 by Detefon Visit my repository Link to comment Share on other sites More sharing options...
Danyfirex Posted October 31, 2014 Share Posted October 31, 2014 Yes. Saludos Danysys.com AutoIt... UDFs: VirusTotal API 2.0 UDF - libZPlay UDF - Apps: Guitar Tab Tester - VirusTotal Hash Checker Examples: Text-to-Speech ISpVoice Interface - Get installed applications - Enable/Disable Network connection PrintHookProc - WINTRUST - Mute Microphone Level - Get Connected NetWorks - Create NetWork Connection ShortCut 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