cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nithyapriya
Level 5

Convert bytes to GB in Basic MSI

Jump to solution

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

Labels (1)
0 Kudos
(1) Solution
Nithyapriya
Level 5

The above thread's reply wasn't required. I used GetDiskInfo and GetDiskspace for total and free spaces in GB.

View solution in original post

0 Kudos
(1) Reply
Nithyapriya
Level 5

The above thread's reply wasn't required. I used GetDiskInfo and GetDiskspace for total and free spaces in GB.

0 Kudos