Sign in to follow this  
Followers 0
Kowala

Install dependant on RAM

3 posts in this topic

Respected AutoIT Community,

I have done quite a bit of searching on the forum but was unable to find what I was seeking. I am sure this is probably very basic to many but its proved to be a challenge to me. My goal is to run a script that will query the machine for its amount of RAM and then use an IF statement to run one of two installations dependant on the amount of RAM.

I have decent experience in using IF statments and using AutoIT to preform the actual install. Where I am lacking is I dont know how to query the machine for its RAM amount and how to integrate that data into my IF statement. I was hoping for a IF ram = >#### THEN install program 1, ELSE install program 2.

The other question regarding this install is...would these methods be post boot up? Is there a way to do a script such as above preboot over a 2003 AD network?

Thank you for your time.

Kowala

Share this post


Link to post
Share on other sites



You seem to be looking for MemGetStats().

Share this post


Link to post
Share on other sites

AutoIt scripts can't run without a logged in user. So everything is postboot.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0