OSD: Error 1618 During Task Sequence
Hi all, I am new to the forum (and to SCCM for the most part), and am encountering some issues during the Operating System Deployment task sequence.
I have the task sequence configured to install applications near the end of the imaging process. I have issues with getting errors during specific package installations, and it gives Error 1618: Installation is already in progress on the next step in the sequence.
This started with just one problem task, and so as a simple fix, I added a system restart after that installation. This fixed the problem, but then another program installation in the task sequence started getting the same problem (when it previous never had this problem). I have been playing tag with this, because every time I fix one, it seems that other ones start happening in a day or two.
Is there any way to ensure that the installation is completed entirely before starting the next step in the task sequence?
So basically, I have one step in the sequence complete successfully (according to the log):
The task sequence execution engine successfully completed the action (Office Web Components 11) in the group (Siemens Soarian) with exit code 0 Action output: re for PackageID='10000031' ProgramID='Install' AdvertID='10020008' has started, jobID='{6FEB0007-D738-4DB3-B331-D0512892659D}' Setting TSEnv variable 'SMSTSInstallSoftwareJobID_10000031_10020008_Install'='{6FEB0007-D738-4DB3-B331-D0512892659D}' Waitingfor installation job to complete.. CompleteExecution received CompleteExecution processed Received job completion notification from Execution Manager Installation completed with exit code 0x00000000 Install successful Setting TSEnv variable 'SMSTSInstallSoftwareJobID_10000031_10020008_Install'=' GetExecRequestMgrInterface successful Releasing job request, jobID='{6FEB0007-D738-4DB3-B331-D0512892659D}' Releasing of Job Request successful CompleteJob successful Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\10000031 reference count 1 for the source C:\_SMSTaskSequence\Packages\10000031 before releasing Delete source directory C:\_SMSTaskSequence\Packages\10000031 Released the resolved source C:\_SMSTaskSequence\Packages\10000031.
Then at the next step, it will error out, saying an installation is in progress:
The task sequence execution engine failed executing the action (MSXML) in the group (Siemens Soarian) with the error code 1618 Action output: all MSXML' AdvertID='10020008' has started, jobID='{65122165-E1D6-4EFE-ABF6-8DDBEE8456BD}' Setting TSEnv variable 'SMSTSInstallSoftwareJobID_10000017_10020008_Install MSXML'='{65122165-E1D6-4EFE-ABF6-8DDBEE8456BD}' Waiting for installation job to complete.. CompleteExecution received CompleteExecution processed Received job completion notification from Execution Manager Installation completed with exit code 0x00000652 Setting TSEnv variable 'SMSTSInstallSoftwareJobID_10000017_10020008_Install MSXML'=' GetExecRequestMgrInterface successful Releasing job request, jobID='{65122165-E1D6-4EFE-ABF6-8DDBEE8456BD}' Releasing of Job Request successful CompleteJob successful Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\10000017 referencecount 1 for the source C:\_SMSTaskSequence\Packages\10000017 before releasing Delete source directory C:\_SMSTaskSequence\Packages\10000017 Released the resolved source C:\_SMSTaskSequence\Packages\10000017 Installation failed with error (0x00000652). The operating system reported error 1618: Another installation is already in progress. Complete that installation before proceeding with this install.
If I can provide any more info to help clarify, please feel free to ask. Thanks in advance!
I have the task sequence configured to install applications near the end of the imaging process. I have issues with getting errors during specific package installations, and it gives Error 1618: Installation is already in progress on the next step in the sequence.
This started with just one problem task, and so as a simple fix, I added a system restart after that installation. This fixed the problem, but then another program installation in the task sequence started getting the same problem (when it previous never had this problem). I have been playing tag with this, because every time I fix one, it seems that other ones start happening in a day or two.
Is there any way to ensure that the installation is completed entirely before starting the next step in the task sequence?
So basically, I have one step in the sequence complete successfully (according to the log):
Then at the next step, it will error out, saying an installation is in progress:
If I can provide any more info to help clarify, please feel free to ask. Thanks in advance!
0 Comments
[ + ] Show comments
Answers (12)
Please log in to answer
Posted by:
Jsaylor
14 years ago
Posted by:
aslander
14 years ago
Posted by:
dunnpy
14 years ago
Blake,
A couple of things to look at..
The Office Web Components executable extracts an .MSI file - you might get a bit more info if you log the installation of that file - the task sequence will be launching the MSI rather than an .exe that is then launching an MSI.
The other thing, could anything else be deploying software to the machine outside of the task sequence? Anti-virus agent that's pulling down a program that is then installing? Or how about an package that's advertised to all computers, your machine will be available for this deployment even though the task sequence is still in control of the machine.
Hope this helps,
Dunnpy
A couple of things to look at..
The Office Web Components executable extracts an .MSI file - you might get a bit more info if you log the installation of that file - the task sequence will be launching the MSI rather than an .exe that is then launching an MSI.
The other thing, could anything else be deploying software to the machine outside of the task sequence? Anti-virus agent that's pulling down a program that is then installing? Or how about an package that's advertised to all computers, your machine will be available for this deployment even though the task sequence is still in control of the machine.
Hope this helps,
Dunnpy
Posted by:
Jsaylor
14 years ago
ORIGINAL: aslander
This is all I am using for the command line:    owc11.exe /quiet
The only parameters that a /? is showing for the .exe is /quiet and /extract:path
You might consider extracting the MSI out of it, and calling the MSI directly. There's a pretty good chance that OWC's executable terminates before the MSI install is complete. I'm not 100% certain on OWC, but I do know that many other (poorly designed) programs behave this way. SCCM only tracks the executable you have specified on the command line, so once the owc11.exe ends, SCCM thinks that the program is complete.
You also mentioned some other programs in your chain do this. Are they all .exe's with quiet/silent modes enabled?
Posted by:
aslander
14 years ago
Okay, it does in fact extract a MSI file, but not to the normal folder (Local Settings\Temp).
Instead, OWC11 extracts the files to c:\Program Files\MSECache\owc11_12\
I found the MSI and some other files in there, so I will see if changing the package to that MSI will fix the issues. I'll keep you guys posted, thanks for the help so far!
Instead, OWC11 extracts the files to c:\Program Files\MSECache\owc11_12\
I found the MSI and some other files in there, so I will see if changing the package to that MSI will fix the issues. I'll keep you guys posted, thanks for the help so far!
Posted by:
aslander
14 years ago
Not much luck, it works fine from the command line. I am using:
msiexec.exe /i owc11.msi /qn
this works fine when I try it from command prompt on a test system, but fails during the task sequence with the following error:
Windows Installer per-user elevation of this program ("10000031" - "Install v2") failed for advertisement "10020014". The operating system reported error 1619: This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package. This program was started. Please check the status of this program to determine whether or not it was completed sucessfully Possible causes: The version of Windows Installer on the computer is less than version 2.0, or the setup program does not support Windows Installer per-user elevated rights installations. Possible solutions: Update the version of Windows Installer on the computer to version 2.0 or later, or contact the software vendor that supplied the install program to determine if a version of setup that supports per-user elevated rights is available.
msiexec.exe /i owc11.msi /qn
this works fine when I try it from command prompt on a test system, but fails during the task sequence with the following error:
Windows Installer per-user elevation of this program ("10000031" - "Install v2") failed for advertisement "10020014". The operating system reported error 1619: This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package. This program was started. Please check the status of this program to determine whether or not it was completed sucessfully Possible causes: The version of Windows Installer on the computer is less than version 2.0, or the setup program does not support Windows Installer per-user elevated rights installations. Possible solutions: Update the version of Windows Installer on the computer to version 2.0 or later, or contact the software vendor that supplied the install program to determine if a version of setup that supports per-user elevated rights is available.
Posted by:
anonymous_9363
14 years ago
Posted by:
Jsaylor
14 years ago
Try tossing an ALLUSERS=1 into the command line there. As far as I recall, SCCM can't elevate to a user account when you begin a command from the system account. It sounds like OWC is defaulting to looking for a user account to install from, ALLUSERS=1 should take care of that.
VBScab: Unfortunately you can't really specify full paths with SCCM, the Distribution Point model necessitates relative paths. The best you can do from OSD is to use the %SMSDP% variable, which points the task sequence to whichever DP you've downloaded the image from. I believe you'd still need to append the package name after it as well, making it pretty painful to use when relative paths work (nearly) as well.
VBScab: Unfortunately you can't really specify full paths with SCCM, the Distribution Point model necessitates relative paths. The best you can do from OSD is to use the %SMSDP% variable, which points the task sequence to whichever DP you've downloaded the image from. I believe you'd still need to append the package name after it as well, making it pretty painful to use when relative paths work (nearly) as well.
Posted by:
Ksuekihlman
12 years ago
I was intrigued by your use of ALLUSERS=1in an msiexec command line to elevate user privileges. Does the ALLUSERS=1help with current user settings being applied during an install? In the past I have separated out the current user settings and applied them “as the logged on userâ€Â, but of course, this is a pain, so I’m hoping this an option for future deployments. Thank you for your patience!
Posted by:
anonymous_9363
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.