Quote:
Originally Posted by Cesar82
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
|
Thank you for helping me improve this module
__________________
¤ Life good be a Dream ¤
Last edited by Lord.Freddy; 12-06-2024 at 07:30.
Reason: Updated to version 0.5 (Code optimization and cleanup + GUI Example).
|