PDA

View Full Version : OS determination errors



chancecasey
11-01-2002, 03:28 PM
IS Developer 8, Basic MSI project. I know this has been covered before, I've searched and read all of these groups, yet my install condition (determining OS) still does not work properly. I have set a condition under Description->General Information->Product Properties->Install Condition. Actually, I've tried 2 different things here, and neither work. Here are the two conditions I've tried, and MUCH thanks if anyone can figure out what I'm doing wrong!

((Version9X >= 410 ) AND (WindowsBuild = "2222")) OR ((Version9X >= 490) AND (WindowsBuild = "3000.1")) OR ((VersionNT >= 400) AND (WindowsBuild = "1381") AND (ServicePackLevel = "5")) OR ((VersionNT >= 500) AND (WindowsBuild = "2195") AND (ServicePackLevel = "1"))

In the above condition I have tried treating all of these properties as integers ( <property> >= x ), strings ( <property> = "x" ), and every combination thereof.

I also tried the following:

(SYSINFO.WIN9X.bWin98) OR (SYSINFO.WIN9X.bWinMe) OR (SYSINFO.WINNT.bWinNT4 AND (SYSINFO.WINNT.nServicePack >= 5)) OR (SYSINFO.WINNT.bWin2000 AND (SYSINFO.WINNT.nServicePack >= 1))

in above syntax, I tried a variation of leaving out the win2000 service pack check at the end.

I am installing on Win2000 Pro SP2, and neither form of this condition is being satisfied. What the heck am I missing? Again, thanks a lot in advance for any help you could provide!

chancecasey
11-01-2002, 03:32 PM
Using the first approach I mentioned, I was able to debug and the properties look OK in the debugger watch/variable window, so my suspicion is there is something wrong with my syntax - but I don't know what.