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
- :
- Re: Determine available RAM
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
Sep 01, 2008
07:00 AM
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
But after this call di.nTotalSpaceHigh and di.nTotalSpaceLow contained both 0.
Thanks in advance,
H.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 01, 2008
10:22 AM
I think GetSystemInfo( EXTENDEDMEMORY, ... ) produces the desired result.