cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
heiner_violet
Level 7

Determine available RAM

(Installshield 2008, Installscript)

Is it possible to determine the available RAM on the destination machine using installscript (or something else).

I tried GetDiskInfo
di.nInfoToQuery = DISK_INFO_QUERY_ALL;
di.nDriveType = DRIVE_RAMDISK;
GetDiskInfo( &di );

But after this call di.nTotalSpaceHigh and di.nTotalSpaceLow contained both 0.

Thanks in advance,
H.
Labels (1)
0 Kudos
(1) Reply
heiner_violet
Level 7

I think GetSystemInfo( EXTENDEDMEMORY, ... ) produces the desired result.
0 Kudos