No need for the cmd.exe, dism.exe is a stand-alone executable. J
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Tuomo Leppänen Sent: Friday, September 27, 2013 12:22 AM To: [email protected]; Marcum, John Cc: '[email protected]' Subject: RE: [mssms] RE: KB2522623 Hi John The exact command is as follows: cmd.exe /c dism.exe /Image:%OSDTargetDrive%\ Add-Package /PackagePath:%CD% /ScratchDir:%OSDTargetDrive%\Windows\Temp /NoRestart %CD% refers to the package directory you specify in the Run Command Line -step, think of it like "Start in". I apply the step right after Apply Operating System Image -step, so you're still in WinPE in this phase. The same method works also for language packs. Lainaus "Marcum, John" <[email protected]>: > What's the %CD% specify? DO I literally type that or the actual msu name? > DId you place this in the install or maybe the post install phase? > > > > > > > ________________________________ > John Marcum > Sr. Desktop Architect > Bradley Arant Boult Cummings LLP > ________________________________ > > From: [email protected] > [mailto:[email protected]] On Behalf Of Tuomo Leppänen > Sent: Thursday, September 26, 2013 11:48 AM > To: [email protected] > Subject: Re: [mssms] RE: KB2522623 > > Like I said, not 100% sure about this but it's getting there... I can > confirm the exact command I'm using tomorrow. > > -T > > > On 26.9.2013 19:37, Erik Wold wrote: > Is the space just a typo?: /no restart. :) > > Mvh > Erik > > Den 26. sep. 2013 kl. 18:28 skrev "Tuomo Leppänen" > <[email protected]<mailto:[email protected]>>: > Ok, the command line is getting in to my mind after seeing this... > > 1. Create a package with the KB2526623 2. In the TS, add a step to run > a command line AFTER Apply the OS step and use the package created in > step 1 3. Command line: dism /Image:"%OSDISK%" /Add-Package > /PackagePath:"%CD%" /ScratchDir:"%OSDISK%\Windows\Temp" > > This is assuming you've configured %OSDISK% -variable in the Partition > Disk -phase of the TS. > > Not 100% sure is it right, but atleast getting you to the right track... > > -T > > > On 26.9.2013 19:04, Bull, John wrote: > You may want to look at http://blog.configmgrftw.com/?p=505 > > ________________________________ > From: > [email protected]<mailto:[email protected]> > [mailto:[email protected]] On Behalf Of Marcum, John > Sent: Thursday, September 26, 2013 8:44 AM > To: SMS List > ([email protected]<mailto:[email protected]>) > Subject: [mssms] KB2522623 > Has anyone seen a case where the hotfix for applications failing to > install during an OS task sequence fails to install? I am speaking of > KB2522623 which Jason mentions in his blog here > http://blog.configmgrftw.com/?p=490 It is consistently failing in my > TS. This is a Windows 7 x64 TS and in my package the program command > line is Windows6.1-KB2522623-x64.msu /quiet /no restart > > ________________________________ > John Marcum > Sr. Desktop Architect > Bradley Arant Boult Cummings LLP > ________________________________ > > > ________________________________ > > Confidentiality Notice: This e-mail is from a law firm and may be > protected by the attorney-client or work product privileges. If you > have received this message in error, please notify the sender by > replying to this e-mail and then delete it from your computer. > > > > > > ________________________________ > > Confidentiality Notice: This e-mail is from a law firm and may be > protected by the attorney-client or work product privileges. If you > have received this message in error, please notify the sender by > replying to this e-mail and then delete it from your computer. > > ________________________________ > > Confidentiality Notice: This e-mail is from a law firm and may be > protected by the attorney-client or work product privileges. If you > have received this message in error, please notify the sender by > replying to this e-mail and then delete it from your computer. > > >

