I think you meant that %CD% *is not* a batch file parameter.
Works for me everytime.
-T
On 27.9.2013 15:03, Jason Sandys wrote:
CD is "Current Directory". I've never explicitly tried it and
typically use %~dp0 instead when needed. %CD% is a batch file
parameter though so can be used outside of a batch file. There are
times it doesn't work though -- but like I said I don't use it so
don't know what all the caveats are.
J
*From:* [email protected]
[mailto:[email protected]] *On Behalf Of *Marcum, John
*Sent:* Thursday, September 26, 2013 11:03 PM
*To:* '[email protected]'
*Subject:* RE: [mssms] RE: KB2522623
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]>
[mailto:[email protected]] *On Behalf Of *Tuomo Leppänen
*Sent:* Thursday, September 26, 2013 11:48 AM
*To:* [email protected] <mailto:[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.