wix - IISMAJORVERSION and IISMINORVERSION are set despite IIS being removed -


i'm creating installer has dependency on iis being installed. test i'm using virtual machine running windows server 2008 r2 has web server role installed.

before iis removed

my installer checks whether iis installed using conditional;

<propertyref id="iismajorversion" /> <propertyref id="iisminorversion" /> <condition message="install requires iis version 7.5 or later">   <![cdata[installed or (iismajorversion , ((iismajorversion = "#7" , iisminorversion >= "#5") or iismajorversion > "#7"))]]> </condition> 

the installer runs expected, however, wanted test condition removing iis , making sure installer displayed condition message.

i removed iis going server manager console , deleting web server role (in entirety).

after iis removed

when rerun installer , log @ installer log file iismajorversion , iisminorversion still being set values #7 , #5 respectively despite iis not being installed more.

appsearch: property: iismajorversion, signature: iismajorversionsearch msi (c) (88:f4) [14:25:16:687]: note: 1: 2262 2: signature 3: -2147287038  msi (c) (88:f4) [14:25:16:687]: property change: adding iismajorversion property. value '#7'. appsearch: property: iisminorversion, signature: iisminorversionsearch msi (c) (88:f4) [14:25:16:703]: note: 1: 2262 2: signature 3: -2147287038  msi (c) (88:f4) [14:25:16:703]: property change: adding iisminorversion property. value '#5'. 

the installer has been built using wix v3.10.3.3007.

is iis uninstall not removing registry entries should, or wix issue?


update 1

the wix properties iismajorversion , iisminorversion populated based upon values of registry entries majorversion , minorversion in folder hklm\software\microsoft\inetstp. when removing web server role 2 registry entries folder removed (metabasesetmajorversion , metabasesetminorversion). others remained including 2 used wix.

the other registry entries in hklm\software\microsoft\inetstp removed once windows process activation service removed well.

with in mind i'm not sure using iismajorversion , iisminorversion reliable it's possible values when there isn't vlaid iis installation.


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -