PedroWarlock Posted March 11, 2019 Posted March 11, 2019 (edited) Bug reading information from an executable. Anyone have any idea what it can be? Local $iVer = FileGetVersion(program.exe,$FV_FILEVERSION ) Local $iGer = FileGetVersion(program.exe,$FV_COMPANYNAME ) Local $iRer = FileGetVersion(program.exe,$FV_LEGALCOPYRIGHT ) Normal Exe Info: $iVer = 1.0.0.3 $iGer =@information $iRer =information in my PC (win7) (result) = $iVer = 1.0 <- only 1.0 $iGer = "" <- Nothing $iRer = "" <- Nothing in my PC (win10) (result) (formatted) = $iVer = 1.0 <- only 1.0 $iGer = "" <- Nothing $iRer = "" <- Nothing On other computers (2 win10, 4 win7, 2 win8) (normal result): $iVer = 1.0.0.3 $iGer =@information $iRer =information Edited March 11, 2019 by PedroWarlock
Nine Posted March 21, 2019 Posted March 21, 2019 Post a runable script. Upload the exe in question (we only need that one file, since all infos are inside it). I will test it... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
PedroWarlock Posted March 21, 2019 Author Posted March 21, 2019 14 minutes ago, Nine said: Poste um script executável. Faça o upload do exe em questão (precisamos apenas daquele arquivo, já que todas as informações estão dentro dele). Vou testá-lo ... #include <MsgBoxConstants.au3> Example() Func Example() ; Retrieve the file version of the AutoIt executable. Local $sFileVersion = FileGetVersion(@AutoItExe) ; Display the file version. This should be equal to @AutoItVersion. MsgBox($MB_SYSTEMMODAL, "", $sFileVersion) EndFunc ;==>Example On some computers this script does not work. I found 2 computers that did not work. Even formatting from windows 7 to win8
Nine Posted March 21, 2019 Posted March 21, 2019 (edited) Working fine on Win7. Could it be related to credentials ? Edited March 31, 2023 by Nine “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
PedroWarlock Posted March 21, 2019 Author Posted March 21, 2019 3 minutes ago, Nine said: Funcionando bem no Win7. Poderia estar relacionado a credenciais? idk. on one of the computers with windows 7. Return 1.0, another pc returns 3.3.14.5
Nine Posted March 21, 2019 Posted March 21, 2019 Same autoit version ? When you get 1.0, what is the type of user that running the script ? Have you tried #RequireAdmin ? “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
PedroWarlock Posted March 21, 2019 Author Posted March 21, 2019 (edited) 41 minutes ago, Nine said: Same autoit version ? When you get 1.0, what is the type of user that running the script ? Have you tried #RequireAdmin ? yes, #RequireAdmin Local $iVer = FileGetVersion(@AutoItExe,$FV_FILEVERSION ) = Result 1.0 Local $iGer = FileGetVersion(@AutoItExe,$FV_COMPANYNAME ) = Result "" Nothing Local $iRer = FileGetVersion(@AutoItExe,$FV_LEGALCOPYRIGHT ) = Result "" Nothing This problem occurs with the same computer even after formatting, but not with another Edited March 21, 2019 by PedroWarlock
Nine Posted March 21, 2019 Posted March 21, 2019 34 minutes ago, PedroWarlock said: This problem occurs with the same computer even after formatting, but not with another IDK, just give that computer to someone you don't like “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
AdamUL Posted March 21, 2019 Posted March 21, 2019 Does the version information show correctly when you manually check the file version by doing properties on it? Adam
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