Registered member login:
Register Now
Altirigos » Homepage2

» Current Poll
Do you leave the Aclient enabled?
YES - 82.79%
101 Votes
NO - 17.21%
21 Votes
Total Votes: 122
You may not vote on this poll.
» Stats
Members: 9,462
Threads: 11,733
Posts: 55,224
Top Poster: Nick (4,981)
Welcome our newest member, skhudy
» Online Users: 50
5 members and 45 guests
billius, DestroXXIV, jdean, RichC, webbcu
Most users online at once 294, 06-30-2007 at 01:24 PM.
» March 2010
S M T W T F S
28 1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31 123
View Single Post
Old 12-30-2008, 06:56 PM   #5 (permalink)
Brandon
 
Status: Super Altiris Admin
Join Date: 10-28-2005
Location: Colorado
Posts: 1,363


I changed my express share to map to Y: in the WinPE bootdisks then changed all the hardcodings in my job from F:\ to %ALTIRIS_SHARE% This has resolved the issue.

More info: https://kb.altiris.com/article.asp?article=23899&p=1


Code:
REM Deploy XP SP3 Image and Drivers
REM ReplaceTokens .\Images\XPACPI3.txt .\temp\%ID%-sp3.inf
 
%ALTIRIS_SHARE%\RDeploy\Windows\rdeployt.exe -noprompt -md -f%ALTIRIS_SHARE%\images\XPSP3.IMG -sz1:100p -nobw -nooem
 
%ALTIRIS_SHARE%\RDeploy\Windows\Firm.exe Copy %ALTIRIS_SHARE%\temp\%ID%-sp3.inf PROD:\Sysprep\Sysprep.inf
DEL %ALTIRIS_SHARE%\temp\%ID%-sp3.inf
 
REM get rid of the old aclient.cfg file
%ALTIRIS_SHARE%\RDeploy\Windows\firm.exe delete prod:aclient.cfg
 
REM inject the aclient source and inp
%ALTIRIS_SHARE%\RDeploy\Windows\firm.exe copy .\Aclient.exe PROD:\drivers\_post\aclient\Aclient.exe
%ALTIRIS_SHARE%\RDeploy\Windows\firm.exe copy .\Aclient.inp PROD:\sysprep\Aclient.inp
 
echo Hardware Model number is %#!computer@model_num%
set model=%#*"SELECT REPLACE(model_num,' ','_') FROM computer WHERE computer_id=%ID%"%
 
:SP3
%ALTIRIS_SHARE%\RDeploy\Windows\firm.exe -recurse copy .\Images\Drivers\XPPROSP3\%model% PROD:\drivers
if exist %ALTIRIS_SHARE%\Images\Drivers\XPPROSP3\%model%\hal.dll goto InjectHAL
goto Exit
 
:InjectHAL
%ALTIRIS_SHARE%\RDeploy\Windows\firm.exe Copy PROD:\drivers\hal.dll PROD:\windows\system32\hal.dll
goto Exit
 
:Exit
exit
__________________
Brandon

Last edited by Brandon; 01-20-2009 at 04:43 PM.. Reason: fixed typo
Brandon is offline   Reply With Quote
 
Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 04:31 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vB.Sponsors
Altirigos