For versions 1, 2 and 3 of our product, we built the installer in AI 17.9. Each time, we just change the version numbers and product codes, and obviously the files that get installed. The installer itself has no other changes.
For version 4 of our product, we did the same except this time we used AI 19.0.
Now we seem to be getting an IIS configuration error when doing an upgrade installation, that we didn't get with the previous versions. (A clean install still works fine.)
Test scenario 1:
- Start with a clean, blank Windows 10 VM.
- Install product version 1.
- Browse to web app and check it's working.
- Run installer for product version 3 and do an upgrade of the previous install.
Test scenario 2:
- Start with a clean, blank Windows 10 VM.
- Install product version 1.
- Browse to web app and check it's working.
- Run installer for product version 4 and do an upgrade of the previous install.
I've compared the logs from the successful version 3 upgrade and the failed version 4 upgrade, and this is an extract from the failed upgrade where they diverge:
Code: Select all
MSI (s) (DC:84) [14:11:25:337]: Executing op: ActionStart(Name=AI_IIsConfig,Description=Configuring Internet Information Services,Template=Installing "[1]")
MSI (s) (DC:84) [14:11:25:340]: Executing op: CustomActionSchedule(Action=AI_IIsConfig,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (DC:AC) [14:11:25:344]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI3ECA.tmp, Entrypoint: OnIIsConfig
[OPERATION]Application pool 'ProductX App Pool'
[INFO] Installing Application pool...
[INFO] Trying to retrieve 'ProductX App Pool' Application Pool...
[OK] Found AppPool.
[INFO] ApplicationPool 'ProductX App Pool' already exists !
[WARN] Skipping Application Pool Install...
[INFO] Updating common headers to 'MACHINE/WEBROOT/APPHOST'.
[INFO] Committing changes to path 'MACHINE/WEBROOT/APPHOST'...
COM Error [0x80070020]: (The process cannot access the file because it is being used by another process.)[ERR] Cannot execute Commit operation.
COM Error [0xffffffff]: (Unknown error 0xFFFFFFFF)[ERR] Cannot execute Commit operation.
MSI (s) (DC!80) [14:11:59:509]: Product: Acuity STREAM Web API -- Error 4034. There was an error during the IIS configuration process while trying to install Application pool 'ProductX App Pool'.
Your original IIS configuration will be restored.
CustomAction AI_IIsConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 14:11:59: InstallFinalize. Return value 3.