SetupBuilder Community  

Go Back   SetupBuilder Community > SetupBuilder Software Installation System > SetupBuilder 'How Do I' Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 05-17-2012, 07:29 AM
ender ender is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Default Adjust Hardware Checking

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
Reply With Quote
  #2  
Old 05-17-2012, 07:53 AM
linder linder is offline
Administrator
 
Join Date: Mar 2004
Posts: 2,703
Default Re: Adjust Hardware Checking

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
Attached Images
 
Reply With Quote
  #3  
Old 05-17-2012, 07:57 AM
linder linder is offline
Administrator
 
Join Date: Mar 2004
Posts: 2,703
Default Re: Adjust Hardware Checking

Or the attached if you check for administrator privileges on XP and below.

Friedrich
Attached Images
 
Reply With Quote
  #4  
Old 05-17-2012, 08:19 AM
ender ender is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Default Re: Adjust Hardware Checking

Thats what I was looking for; a way to adjust the RAM req.

Thank you.
Reply With Quote
  #5  
Old 05-17-2012, 08:24 AM
linder linder is offline
Administrator
 
Join Date: Mar 2004
Posts: 2,703
Default Re: Adjust Hardware Checking

Great. You are welcome!

Friedrich
Reply With Quote
  #6  
Old 05-18-2012, 09:28 AM
ender ender is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Default Re: Adjust Hardware Checking

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.
Attached Images
  
Reply With Quote
  #7  
Old 05-18-2012, 10:29 AM
linder linder is offline
Administrator
 
Join Date: Mar 2004
Posts: 2,703
Default Re: Adjust Hardware Checking

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
Attached Images
   
Reply With Quote
  #8  
Old 05-18-2012, 10:42 AM
ender ender is offline
Junior Member
 
Join Date: Apr 2012
Posts: 19
Default Re: Adjust Hardware Checking

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.
Reply With Quote
  #9  
Old 05-18-2012, 10:50 AM
linder linder is offline
Administrator
 
Join Date: Mar 2004
Posts: 2,703
Default Re: Adjust Hardware Checking

See my other post There is a bug in your code.

Does this help?

Friedrich
Reply With Quote
  #10  
Old 05-18-2012, 10:41 AM
linder linder is offline
Administrator
 
Join Date: Mar 2004
Posts: 2,703
Default Re: Adjust Hardware Checking

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
Attached Images
 
Reply With Quote
Reply

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © 2004-2012 Lindersoft