Windows 2000 Service Pack 4 as a requirement
Windows 2000 Service Pack 4 as a requirement
How would I go about making Win2K SP4 a requirement. I can see where I can set the OS requirement to Win2K, but we want to narrow the requirement more than that. Is this possible?
Example of how to check for Service Pack 4 if user has Win2K
I am not having any luck finding how to write the code to check whether a user has Service Pack 4 if they are running my InstallAware installer on Windows 2000.
Any pointers would be appreciated.
Thanks,
- Steve Rowe
PhotoWorks, Inc.
Any pointers would be appreciated.
Thanks,
- Steve Rowe
PhotoWorks, Inc.
All you have to do is change to Code View, and at the beggining of the file and change it to look exactly like this:
// Check setup pre-requisites
Get System Setting Windows 2000 into CHECKSYSTEM
If Variable CHECKSYSTEM not Equals TRUE
MessageBox: $TITLE$ Setup Error, This product requires at least Windows 2000.$NEWLINE$$NEWLINE$Setup cannot continue.
Terminate Installation
end
Get System Settings Service Pack 4 into CHECKSP
If Variable CHECKSP not Equals TRUE
MessageBox: $TITLE$ Setup Error, This product requires at least Service Pack 4.$NEWLINE$$NEWLINE$Setup cannot continue.
Terminate Installation
end
// Check setup pre-requisites
Get System Setting Windows 2000 into CHECKSYSTEM
If Variable CHECKSYSTEM not Equals TRUE
MessageBox: $TITLE$ Setup Error, This product requires at least Windows 2000.$NEWLINE$$NEWLINE$Setup cannot continue.
Terminate Installation
end
Get System Settings Service Pack 4 into CHECKSP
If Variable CHECKSP not Equals TRUE
MessageBox: $TITLE$ Setup Error, This product requires at least Service Pack 4.$NEWLINE$$NEWLINE$Setup cannot continue.
Terminate Installation
end
sinan wrote:Sure, just use the Get System Settings command to obtain the service pack level - this will take just a little bit of custom scripting.
For some reason I first thought these "service pack" levels were NT4 specific. But apparently the service pack levels are specific to the runtime flavor of Windows.
--Troy
Who is online
Users browsing this forum: No registered users and 114 guests