Quote:
Originally Posted by Lord.Freddy
alright thanks.
well i modified the GetOSName function to work with GetVersionEx api, should work correctly now.
that`s not possible because the GetPhysicallyInstalledSystemMemory api function will only one work with Int64 type.
well done, i hope this release should work as expected, and also if you have windows 11, please test this release on that machine to see if every things work`s well or no.
Edit: i also modified the GetCPUArchitecture function to work with GetNativeSystemInfo and IsWow64Process api function.
|
INFO:
- Contains a MsgBox in the module's GetCPUArchitecture function.
- Keeps returning "Windows Interprise".
- You cannot use "RoundUp(Round(GetGPUVRAM))" in the example.
You can use RoundUp only after converting to MB.
RoundUp rounds the values to a multiple of 64, because for example if you get 493 MB it would return 512 MB (Which would be a multiple of 64).
You can change the example script to:
Code:
+ 'GPU VRAM: ' + ConvertUnitFormat(GetGPUVRAM, In_Bytes, In_MegaBytes, 0, False) + #13#10
Attached is a solution for compatibility with Inno Setup 5.51.ee2