How To Get System Setting Physical Memory of target machine

Got a problem you cannot solve? Try here.
Post Reply
erich.einfalt
Posts: 32
Joined: Mon Oct 29, 2012 2:27 pm

How To Get System Setting Physical Memory of target machine

Post by erich.einfalt »

The "Get System Setting Physical Memory... " dropbox shows 2GB as the largest amount that can be checked. We wish to require 4GB memory be installed. Can the System Physical Memory installed on the target machine be acquired as a numeric value?
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: How To Get System Setting Physical Memory of target mach

Post by FrancescoT »

Dear Erich,

the InstallAware command "Get System Setting" returns TRUE or FALSE, respectively if the system meets the minimum capability to verify.

You should use a direct call to GlobalMemoryStatusEx WINAPI (... with a custom dll or EXE) if you want to obtain that value directly.

For more information, please have a look at the following link;
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply