Have currently got two installers, they are both very similar and both set up IIS web sites and app pools.
On uninstall, one removes the web site and app pool correctly while the other doesn't.
The AI_IISUninstall action seems to be configured correctly "(VersionNT >= 500) AND (NOT Installed)"
If I run the uninstall with logging enabled I can see the AI_IISUninstall action being called and returning value 1:
Code: Select all
MSI (s) (14:90) [14:19:35:268]: Doing action: AI_IIsUninstall
Action 14:19:35: AI_IIsUninstall. Generating actions to configure Internet Information Services
Action start 14:19:35: AI_IIsUninstall.
MSI (s) (14:24) [14:19:35:268]: Invoking remote custom action. DLL: C:\Windows\Installer\MSID0AE.tmp, Entrypoint: OnIIsUninstall
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2205 2: 3: AI_IIsVirtualDirectory
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2228 2: 3: AI_IIsVirtualDirectory 4: SELECT * FROM `AI_IIsVirtualDirectory`
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2205 2: 3: AI_ISAPIFilter
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2228 2: 3: AI_ISAPIFilter 4: SELECT * FROM `AI_ISAPIFilter`
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2205 2: 3: AI_IIsApplicationMapping
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2228 2: 3: AI_IIsApplicationMapping 4: SELECT * FROM `AI_IIsApplicationMapping`
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2205 2: 3: AI_IIsHttpHeader
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2228 2: 3: AI_IIsHttpHeader 4: SELECT * FROM `AI_IIsHttpHeader`
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2205 2: 3: AI_IIsHttpError
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2228 2: 3: AI_IIsHttpError 4: SELECT * FROM `AI_IIsHttpError`
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2205 2: 3: AI_IIsCertificate
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2228 2: 3: AI_IIsCertificate 4: SELECT * FROM `AI_IIsCertificate`
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2205 2: 3: AI_IIsCertificate
MSI (s) (14!14) [14:19:35:299]: Note: 1: 2228 2: 3: AI_IIsCertificate 4: SELECT * FROM `AI_IIsCertificate`
MSI (s) (14!14) [14:19:35:299]: PROPERTY CHANGE: Adding AI_IIsRemove property. Its value is '0AAA112657v4.00-1-1-10-1-1-1-1-1-1-1-1-1-11C:\Program Files\AAA\AAA\149761513index.html, index.htm, default.htmDefault Web Site:80:02C:\Program Files\AAA\AAA\AAAAPI\149761513index.html, index.htm, default.htmAAAAAAAAAapi:81:00.jsonapplication/json11.woffapplication/x-woff1ProductNameAAAProductCode{63E2AA17-8D47-4002-9338-18D06A15F16C}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITE'.
MSI (s) (14!14) [14:19:35:299]: Doing action: AI_IIsRemove
Action 14:19:35: AI_IIsRemove. Configuring Internet Information Services
Action start 14:19:35: AI_IIsRemove.
AI_IIsRemove: Removing "Configuring Internet Information Services"
Action ended 14:19:35: AI_IIsRemove. Return value 1.
MSI (s) (14!14) [14:19:35:299]: PROPERTY CHANGE: Deleting AI_IIsRemove property. Its current value is '0AAA112657v4.00-1-1-10-1-1-1-1-1-1-1-1-1-11C:\Program Files\AAA\AAA\149761513index.html, index.htm, default.htmDefault Web Site:80:02C:\Program Files\AAA\AAA\AAAAPI\149761513index.html, index.htm, default.htmAAAAAAAAAapi:81:00.jsonapplication/json11.woffapplication/x-woff1ProductNameAAAProductCode{63E2AA17-8D47-4002-9338-18D06A15F16C}IISOPENMMCIISBACKUPAFTERIISINSTALLPOLICYOVERWRITE'.
Action ended 14:19:35: AI_IIsUninstall. Return value 1.
It's looking like a problem on that installer but I can't think what else would be causing it?
Any ideas?