Hi,
I have an installer that can be installed only on some operating system:
1.Windows Server 2003
2.Windows XP
3.Windows 2000
.
Now before doing installation, I want to check whether the system fulfill the minimum requirement :
Pentium 3 733MHz, 128 MB RAM(256 recommended) and 100 MB Free disk space.
Is it possible to do this checking using InstallShield and prompt error message and finish execution if requirement failed?
I really need your help.
Thanks a lot.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
detect minimum PC requirement
Started by
agustina_s
, Mar 07 2005 03:22
3 replies to this topic
Posted 07 March 2005 - 14:22
Hi agustina,
you can try the following........
For problem with your operating systems you can choose condition
"VersionNT>=500"
To check for requirements you can try to write a custom action!
The MHz you can read in registry under:
"HkeyLocalMachine\HARDWARE\\DESCRIPTION\\System\\CentralProcessor\0"
For "Ram" try function GetSystemInfo(EXTENDEDMEMORY,nvResult,svResult);
surely not the best way but possibly it helps
you can try the following........
For problem with your operating systems you can choose condition
"VersionNT>=500"
To check for requirements you can try to write a custom action!
The MHz you can read in registry under:
"HkeyLocalMachine\HARDWARE\\DESCRIPTION\\System\\CentralProcessor\0"
For "Ram" try function GetSystemInfo(EXTENDEDMEMORY,nvResult,svResult);
surely not the best way but possibly it helps
Posted 07 March 2005 - 15:26
MSI provides a table "LaunchCondition" to test those kinds of requirements.
In ISX, you can set your conditions in "general information" -> "Product properties" -> "install conditions"!
ex : for the RAM requirement (128 MB), set the condition : PhysicalMemory>=128, and give the message that will appear if the condition is not fullfilled.
I must admit i didn't find the conditions for the processor speed or the disk space, but the necessary disk space is already checked by msi, so don't care too much about this one.
There is still the property "Intel" that gives you the numeric processor level, for example 4 for 486, 5 for P5, 6 for P6, etc.
Wish you good luck and hope it was useful
In ISX, you can set your conditions in "general information" -> "Product properties" -> "install conditions"!
ex : for the RAM requirement (128 MB), set the condition : PhysicalMemory>=128, and give the message that will appear if the condition is not fullfilled.
I must admit i didn't find the conditions for the processor speed or the disk space, but the necessary disk space is already checked by msi, so don't care too much about this one.
There is still the property "Intel" that gives you the numeric processor level, for example 4 for 486, 5 for P5, 6 for P6, etc.
Wish you good luck and hope it was useful