View Full Version : Adjust Hardware Checking
ender
05-17-2012, 07:29 AM
Can the hardware checking be changed from 512MB to 1024MB?
Can the hardware dialoag boxes be edited? - Changed the Title bar
Can the ran as Administrator warning box be edited? - Change the Title bar
linder
05-17-2012, 07:53 AM
Hello,
1+2) See attached screenshot. Just do it from the script and you have full control over it.
3) The elevation prompt comes from the Windows operating system, NOT from your installer.
Does this help?
Friedrich
linder
05-17-2012, 07:57 AM
Or the attached if you check for administrator privileges on XP and below.
Friedrich
ender
05-17-2012, 08:19 AM
Thats what I was looking for; a way to adjust the RAM req.
Thank you.
linder
05-17-2012, 08:24 AM
Great. You are welcome!
Friedrich
ender
05-18-2012, 09:28 AM
Using the same code provided, the installer will exit with error on first run. I have tested on machine with variations from 1 GIG to 4 GIG. Also, the extra parentheses were added automatically. Please attached images below; the second image was taken off Win7 machine with 2048 MBs.
linder
05-18-2012, 10:29 AM
Hello,
It's very simple. If the available memory is less than 1024 (MB) then your code will terminate the application. So in your case, the available memory is less than 1024 ;-) Just display the value of the %AVAILABLE_MEMORY% variable and you'll find that it is < 1024.
I have developed and uploaded a test for you:
http://www.lindersoft.com/projects/memorycheck.zip
See attached screenshots.
Does this help?
Friedrich
linder
05-18-2012, 10:41 AM
BTW, see your second line. $MEM_AVAILPHYS$ is a constant. But you are using $MEM_AVAILPHYS$" -- note the additional quote ("). Remove that and it should work okay.
Friedrich
ender
05-18-2012, 10:42 AM
The issue is the installer will NOT run. It will exit\kill the installtion. The test machines ALL have more than 1024 MBs of RAM.
ender
05-18-2012, 10:50 AM
THANK YOU! I got figured out after I opened your variable...I was using "Set Variable" NOT "Get System Info" like your example.
Was about to repost that your example showed did it....but you all ready replied....
Again thank you
linder
05-18-2012, 10:50 AM
See my other post ;) There is a bug in your code.
Does this help?
Friedrich
linder
05-18-2012, 10:51 AM
Perfect! Thanks for the update :)
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.