I have a task sequence which deploy Windows 7 and then a handful of mandatory applications configured via the deployment wizard (all MSIs).
This has worked fine until recently. All of a sudden, all my application installs fail with MSI error 1618: Another installation is already in progress. Complete that installation before proceeding with this install.
I have seen this MSI 1618 error before and am aware that it is caused by an install still running when a subsequent installation starts. Previously the behavior i have seen is that one install will cause this error, and all subsequent installs will fail. The fix was to add a reboot after the problem install.
What is puzzling is that I receive this error with the very first application install; so I don't understand what is going on. I don't see how msiexec can already be running.
If i call the install applications task sequence from inside the OS it works fine, the problem only occurs during the OS deployment.
Here is the first few lines of ZTIApplications.log.
Microsoft Deployment Toolkit version: 6.0.2223.0 ZTIApplications 13/09/2012 10:50:36 0 (0x0000) The task sequencer log is located at C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log. ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Language/Locale Identified (in order of precedence): 2057,0809,0x0809,9,0009,0x0009 ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Processing Application Type: MandatoryApplications ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Application List is empty, exiting ZTIApplications.wsf ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Processing Application Type: Applications ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Ready to install applications: ZTIApplications 13/09/2012 10:50:36 0 (0x0000) ################ ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Entry: {323321c4-1620-408b-a710-1ddfe4bb5313} ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Name: Add Weightmans WLAN settings 1 ZTIApplications 13/09/2012 10:50:36 0 (0x0000) ################ ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Validating connection to \\10.0.2.97\DeploymentShare$\Applications\Add Weightmans WLAN settings 1 ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Already connected to server 10.0.2.97 as that is where this script is running from. ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Change directory: \\10.0.2.97\DeploymentShare$\Applications\Add Weightmans WLAN settings 1 ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Run Command: \\10.0.2.97\DeploymentShare$\Tools\X86\bddrun.exe cscript.exe add-wlan.vbs ZTIApplications 13/09/2012 10:50:36 0 (0x0000) ZTI installing application ZTIApplications 13/09/2012 10:50:36 0 (0x0000) About to run command: \\10.0.2.97\DeploymentShare$\Tools\X86\bddrun.exe cscript.exe add-wlan.vbs ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Command has been started (process ID 4084) ZTIApplications 13/09/2012 10:50:36 0 (0x0000) Return code from command = 0 ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Application Add Weightmans WLAN settings 1 installed successfully ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Property InstalledApplications001 is now = {323321c4-1620-408b-a710-1ddfe4bb5313} ZTIApplications 13/09/2012 10:50:37 0 (0x0000) ################ ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Entry: {2bda8703-20d5-4e98-bdcf-a7bdab28ae3f} ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Name: Adobe Flash Player ActiveX 32-bit 11.4.402.265 ZTIApplications 13/09/2012 10:50:37 0 (0x0000) ################ ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Validating connection to \\10.0.2.97\DeploymentShare$\Applications\Adobe Flash Player ActiveX 32-bit 11.3.300 ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Already connected to server 10.0.2.97 as that is where this script is running from. ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Change directory: \\10.0.2.97\DeploymentShare$\Applications\Adobe Flash Player ActiveX 32-bit 11.3.300 ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Run Command: \\10.0.2.97\DeploymentShare$\Tools\X86\bddrun.exe msiexec /i install_flash_player_11_active_x114402265.msi /qn ALLUSERS=2 ZTIApplications 13/09/2012 10:50:37 0 (0x0000) ZTI installing application ZTIApplications 13/09/2012 10:50:37 0 (0x0000) About to run command: \\10.0.2.97\DeploymentShare$\Tools\X86\bddrun.exe msiexec /i install_flash_player_11_active_x114402265.msi /qn ALLUSERS=2 ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Command has been started (process ID 2276) ZTIApplications 13/09/2012 10:50:37 0 (0x0000) Return code from command = 1618 ZTIApplications 13/09/2012 10:50:40 0 (0x0000) Application Adobe Flash Player ActiveX 32-bit 11.4.402.265 returned an unexpected return code: 1618 ZTIApplications 13/09/2012 10:50:40 0 (0x0000) Property InstalledApplications001 is now = {323321c4-1620-408b-a710-1ddfe4bb5313} ZTIApplications 13/09/2012 10:50:40 0 (0x0000) Property InstalledApplications002 is now = {2bda8703-20d5-4e98-bdcf-a7bdab28ae3f} ZTIApplications 13/09/2012 10:50:40 0 (0x0000) ################ ZTIApplications 13/09/2012 10:50:40 0 (0x0000) Entry: {3e66aef2-a425-461f-8094-2d8201ce3c95} ZTIApplications 13/09/2012 10:50:40 0 (0x0000) Name: Adobe Reader 10.1.3 ZTIApplications 13/09/2012 10:50:40 0 (0x0000) ################ ZTIApplications 13/09/2012 10:50:40 0 (0x0000) Validating connection to \\10.0.2.97\DeploymentShare$\Applications\Adobe Reader 10.1.3 ZTIApplications 13/09/2012 10:50:40 0 (0x0000) Already connected to server 10.0.2.97 as that is where this script is running from. ZTIApplications 13/09/2012 10:50:41 0 (0x0000) Change directory: \\10.0.2.97\DeploymentShare$\Applications\Adobe Reader 10.1.3 ZTIApplications 13/09/2012 10:50:41 0 (0x0000) Run Command: \\10.0.2.97\DeploymentShare$\Tools\X86\bddrun.exe AdbeRdr1013_en_US.exe /sAll /rs /msi EULA_ACCEPT=YES ZTIApplications 13/09/2012 10:50:41 0 (0x0000) ZTI installing application ZTIApplications 13/09/2012 10:50:41 0 (0x0000) About to run command: \\10.0.2.97\DeploymentShare$\Tools\X86\bddrun.exe AdbeRdr1013_en_US.exe /sAll /rs /msi EULA_ACCEPT=YES ZTIApplications 13/09/2012 10:50:41 0 (0x0000) Command has been started (process ID 3024) ZTIApplications 13/09/2012 10:50:41 0 (0x0000) Return code from command = 1618 ZTIApplications 13/09/2012 10:50:56 0 (0x0000) Application Adobe Reader 10.1.3 returned an unexpected return code: 1618 ZTIApplications 13/09/2012 10:50:56 0 (0x0000) Property InstalledApplications001 is now = {323321c4-1620-408b-a710-1ddfe4bb5313} ZTIApplications 13/09/2012 10:50:56 0 (0x0000) Property InstalledApplications002 is now = {2bda8703-20d5-4e98-bdcf-a7bdab28ae3f} ZTIApplications 13/09/2012 10:50:56 0 (0x0000) Property InstalledApplications003 is now = {3e66aef2-a425-461f-8094-2d8201ce3c95} ZTIApplications 13/09/2012 10:50:56 0 (0x0000) ################ ZTIApplications 13/09/2012 10:50:56 0 (0x0000) Entry: {1e03afcb-e8a8-4fba-8862-6880bf526f21} ZTIApplications 13/09/2012 10:50:56 0 (0x0000) Name: Citrix ICA Client 11.0 ZTIApplications 13/09/2012 10:50:56 0 (0x0000) ################ ZTIApplications 13/09/2012 10:50:56 0 (0x0000) Validating connection to \\10.0.2.97\DeploymentShare$\Applications\Citrix ICA Client 11.0 ZTIApplications 13/09/2012 10:50:56 0 (0x0000) Already connected to server 10.0.2.97 as that is where this script is running from. ZTIApplications 13/09/2012 10:50:57 0 (0x0000) Change directory: \\10.0.2.97\DeploymentShare$\Applications\Citrix ICA Client 11.0 ZTIApplications 13/09/2012 10:50:57 0 (0x0000) Run Command: \\10.0.2.97\DeploymentShare$\Tools\X86\bddrun.exe msiexec /i XenAppHosted.msi /qn ALLUSERS=2 ZTIApplications 13/09/2012 10:50:57 0 (0x0000) ZTI installing application ZTIApplications 13/09/2012 10:50:57 0 (0x0000) About to run command: \\10.0.2.97\DeploymentShare$\Tools\X86\bddrun.exe msiexec /i XenAppHosted.msi /qn ALLUSERS=2 ZTIApplications 13/09/2012 10:50:57 0 (0x0000) Command has been started (process ID 2848) ZTIApplications 13/09/2012 10:50:57 0 (0x0000) Return code from command = 1618 ZTIApplications 13/09/2012 10:51:00 0 (0x0000) Application Citrix ICA Client 11.0 returned an unexpected return code: 1618 ZTIApplications 13/09/2012 10:51:00 0 (0x0000)