This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Convert bytes to GB in Basic MSI
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 10, 2023
03:27 AM
Hi team,
I wanted to convert bytes (disk space / free space) to GB in installscript of Basic MSI project. I have taken all available drivers and its free space, total space through command prompt. I have stored the bytes in "svFreeSpaceinBytes". I gone through ConvertSizeToUnit() method, but i am confused on lower and upper 31 bit variable. Please suggest.
Thanks in advance,
Nithya
(1) Solution
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 11, 2023
01:36 AM
The above thread's reply wasn't required. I used GetDiskInfo and GetDiskspace for total and free spaces in GB.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 11, 2023
01:36 AM
The above thread's reply wasn't required. I used GetDiskInfo and GetDiskspace for total and free spaces in GB.