Page 1 of 1

IIS Detection fails

Posted: Thu Aug 16, 2007 9:19 am
by Bo Andersen
I cant get iis version detection to work - I've tried on XP and Win 2003

Keeps returning false

What I Do:

Initialize IISISINSTALLED to false
~InstallAware Clipboard Data~
~Set Variable~
~{A07D2C21-4011-492C-A4F5-1CDADA282835}~
~IISISINSTALLED$MYAH$MYAH$FALSE~
~FALSE~

then check (does not matter what version I check for)
~InstallAware Clipboard Data~
~Get System Settings~
~{DE5C178D-B41C-4EF5-A0DA-0E3DE0F4AC11}~
~ISIISINSTALLED~
~56~

Any clues?


Just wanted to add that I can easily get the IIS Anon user and have verified in registry that major and minor versions are present and correct...

Posted: Thu Aug 16, 2007 11:43 am
by Alex_Ronquillo
I just tested it in Windows XP and 2003 the following way and it is working for IIS present and not present. I am not sure if you did it this way because you pasted the IA clipboard instead of pasting it as text:

Code: Select all

Set Variable Test to FALSE
Get System Setting Internet Information Server 2 into Test

Her's what I did

Posted: Fri Aug 17, 2007 6:28 am
by Bo Andersen
Set Variable IISISINSTALLED to FALSE

Get System Setting Internet Information Server 5 into ISIISINSTALLED


when I debug, the IISISINSTALLED variable stays false

I can get the anon user, I've tried checking for every iis version, I have veridied in registry that the settings are present, and I've tried 2 different machines... :?:

Posted: Fri Aug 17, 2007 12:06 pm
by Alex_Ronquillo
If you read carefully your code, you will find you are using two different variables. You are setting IISISINSTALLED to FALSE and it will stay false because you are setting the Get System Setting Internet Information Server 5 to ISIISINSTALLED.

ISIISINSTALLED = TRUE if IIS 5+ present
IISISINSTALLED = FALSE always

Doh

Posted: Fri Aug 17, 2007 2:23 pm
by Bo Andersen
Thank you - I am very very sorry about that.