cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
darrenma
Level 3

Windows 2008 detection problem on InstallAnywhere 2009 SP2?

Can IA 2009 detect Windows 2008?

I want to detect when the target system is Windows 2008 so that specific steps can be performed only on Windows 2008.

I added a Rule to Check Platform. Since Windows 2008 was not listed there, I added entries for "Windows 2008", "Windows 2008 R2", and "Windows Server 2008 R2" (added multiple, since I'm not sure what string IA uses to identify Windows 2008).

When I run the installer on Windows 2008, the Rule does not get evaluated to true, and step does not execute. I checked the install log, and the os.name = "Windows Server 2008 R2".

Any suggestions for why this does not work, and if there is a workaround?
Labels (1)
0 Kudos
(2) Replies
pv7721
Level 20

IA platform happens via Java, so maybe Java's the culprit here (i.e. if you use an older version that does not know 2008 or you rely on an already installed JVM).
0 Kudos
amitaks2
Level 5

get the value From registry and accordingly set any variable true or false
0 Kudos