Ok currenlty we are not using deployment server for deploying our os yet.
So basically I script my install and as the last part I also install the agent and all the plugins. This seems unreliable and I don't know if it is because the agent is communicating with the NS during the plugin installs causing the policy installs to kick off or what. Does anyone have a solution or suggestion for this? Is there a recommended order? Do you do something special or different?
I have attached what I execute to complete the install but every once in awhile I will run into some kind of error.
This is based off of these command lines except for the deployment server because this is incorrect and they were supposed to update this article.
http://www.symantec.com/business/support/index?page=content&id=HOWTO10261
:380
echo **********************************************************************
echo * 380 - SMP Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,380 Symantec Altiris Agent: Begin >> c:\RISlog\ScriptPack.log
rem START /WAIT c:\install2\Symantec\AltirisAgent\AeXNSC.exe -s -a ns=ber-ap15.motorwheelcvs.com nsweb=http://ber-ap15.motorwheelcvs.com/Altiris /s
START /WAIT c:\install2\Symantec\AltirisAgent\AeXClientUpgrade.exe
echo %date%,%time%,errorlevel: %errorlevel%,380 Symantec Altiris Agent: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
echo **********************************************************************
echo * 381 - Power Scheme Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,381 Symantec Power Scheme Plug-in: Begin >> c:\RISlog\ScriptPack.log
cd c:\Install2\Symantec\PowerAgent
START /WAIT msiexec.exe /i Altiris_PowerSchemeAgent_x86.msi /qn ALLUSERS=1 REBOOT=ReallySuppress REBOOTPROMPT="S"
echo %date%,%time%,errorlevel: %errorlevel%,381 Symantec Power Scheme Plug-in: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
echo **********************************************************************
echo * 382 - Software Update Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,382 Symantec PatchManagement Plug-in: Begin >> c:\RISlog\ScriptPack.log
cd c:\Install2\Symantec\PatchAgent
START /WAIT MsiExec.exe /qn REBOOT=ReallySuppress /i Altiris_PatchMgmtAgent_Win32_7_0.msi
echo %date%,%time%,errorlevel: %errorlevel%,382 Symantec PatchManagement Plug-in: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
echo **********************************************************************
echo * 383 - Out of Band Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,383 Symantec Out of Band Plug-in: Begin >> c:\RISlog\ScriptPack.log
cd c:\Install2\Symantec\OOBAgent
START /WAIT Slaunch32.exe /inifile:OOBTaskAgent.ini
echo %date%,%time%,errorlevel: %errorlevel%,383 Symantec Out of Band Plug-in: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
echo **********************************************************************
echo * 384 - Application Metering Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,384 Symantec Application Metering Plug-in: Begin >> c:\RISlog\ScriptPack.log
cd c:\Install2\Symantec\AppMeterAgent
START /WAIT msiexec.exe /i AMAgentSetup.msi /qn REBOOT=ReallySuppress ALLUSERS=1
echo %date%,%time%,errorlevel: %errorlevel%,384 Symantec Application Metering Plug-in: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
echo **********************************************************************
echo * 385 - Software Management Solution Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,385 Symantec Software Management Solution Plug-in: Begin >> c:\RISlog\ScriptPack.log
cd c:\Install2\Symantec\SMSolutionAgent
START /WAIT msiexec.exe /i "Software Management Solution Agent_7_0_rev1.msi" /qn
echo %date%,%time%,errorlevel: %errorlevel%,385 Symantec Software Management Solution Plug-in: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
echo **********************************************************************
echo * 386 - Inventory Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,386 Symantec Inventory Plug-in: Begin >> c:\RISlog\ScriptPack.log
cd c:\Install2\Symantec\InvAgent
START /WAIT msiexec.exe /i Symantec_InventoryAgent_x86.msi /qn REBOOT=ReallySuppress ALLUSERS=1
echo %date%,%time%,errorlevel: %errorlevel%,386 Symantec Inventory Plug-in: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
echo **********************************************************************
echo * 387 - Deployment x86 Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,387 Symantec Deployment Plug-in: Begin >> c:\RISlog\ScriptPack.log
cd c:\Install2\Symantec\deployAgent
START /WAIT msiexec.exe /i "Altiris_DeploymentSolutionAgent_7_1_x86.msi" skipaim=1 /qn REBOOT=ReallySuppress
echo %date%,%time%,errorlevel: %errorlevel%,387 Symantec Deployment Plug-in: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
echo **********************************************************************
echo * 388 - PCAnywhere Agent Install *
echo **********************************************************************
echo %date%,%time%,errorlevel: %errorlevel%,388 Symantec PCAnywhere Plug-in: Begin >> c:\RISlog\ScriptPack.log
cd c:\Install2\Symantec\pcAAgent
START /WAIT pcAClientInstallManager.exe /iall
echo %date%,%time%,errorlevel: %errorlevel%,388 Symantec PCAnywhere Plug-in: End >> c:\RISlog\ScriptPack.log
ECHO errorlevel: %errorlevel%
IF ERRORLEVEL 1 GOTO fail
ECHO errorlevel: %errorlevel%
cd c:\install2
:389
echo **********************************************************************
echo * 389 - SMP Agent File Cleanup *
echo **********************************************************************
RD /S /Q c:\install2\symantec
What does the rest of the community do? Simply just installing the agent and then waiting for the agent to install via policy just does not work. Don't ask me why but it never has. I have had multiple suggestions from support and never an answer that gets them all installed. As of a month ago I still had machines missing agent plugins that have been sitting out there for over a year. We of course are not using these solutions yet so not of any concern but I want to just eliminate this problem and always know all new machines will have the agent and all the plugins upon deployment.