During the installation of our package, the installer will attempt to install the 2 web applications.
Prior to this operation, Advanced installer makes sure he has components on the system to manage the IIS. I believe it runs the "Install-WindowsFeature -Name Web-Scripting-Tools" command or something similar.
On certain systems, this component validation can take several minutes. Behind the scenes, "TiWorker.exe" is eating up 100% cpu for more than 20 minutes. Eventually, the installation will succeed.
On the uninstallation of the package, the IIS operations and web application removal completes quickly.
When installing the same application again, the installation takes a very long time, even if all the required components are in place.
It becomes annoying as :
- we are installing our application package on hundreds of servers.
- we are also relying on CI/CD pipelines for testing our software solution.
We would suggest that Advanced installer would be using the registry to identify if the required iis components are already installed for it's internal use. If so, it could skip the components validations, and proceed quicky with the web applications installation.
Sample log with the delay:
Code: Select all
MSI (s) (F4:E8) [13:24:10:827]: Executing op: ActionStart(Name=AI_IIsConfig,Description=Configuring Internet Information Services,Template=Installing "[1]")
MSI (s) (F4:E8) [13:24:10:827]: Executing op: CustomActionSchedule(Action=AI_IIsConfig,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (F4:40) [13:24:10:840]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIF0F3.tmp, Entrypoint: OnIIsConfig
(The issue is somewhere here)
MSI (s) (F4:E8) [13:48:56:787]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0)
MSI (s) (F4:E8) [13:48:56:803]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (F4:E8) [13:48:56:803]: User policy value 'DisableRollback' is 0
MSI (s) (F4:E8) [13:48:56:803]: Machine policy value 'DisableRollback' is 0
MSI (s) (F4:E8) [13:48:56:818]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (F4:90) [13:48:56:850]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI9DA4.tmp, Entrypoint: OnAiRemoveFilesCommit