Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems deploying software

Status
Not open for further replies.

nitrokid

Technical User
Sep 14, 2005
89
GB
Hi all,

Having a fw issues with software distribution. We're evaluating SCCM at the mo, and have a few machines with the client installed. I made a Firefox package as an example. The clients seem to vaguely see the advertisment if the logs are to be followed, but the package is not installed on the clients and if I go to 'Run Advertised Programs', the package is not listed. The Execmgr.log looks like this...

<![LOG[CExecutionRequest::Service Windows Manager has allowed us to run.]LOG]!><time="16:16:44.675+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="executionrequest.cpp:3071">
<![LOG[Execution Manager timer has been fired.]LOG]!><time="16:16:44.690+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3732" file="execreqmgr.cpp:5188">
<![LOG[Executing program Firefox.exe in Admin context]LOG]!><time="16:16:44.737+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="executionrequest.cpp:3277">
<![LOG[Execution Request for package RHG00004 program Firefox 3.5.2 state change from WaitingContent to NotifyExecution]LOG]!><time="16:16:44.769+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="executionrequest.cpp:488">
<![LOG[Checking content location C:\WINDOWS\system32\CCM\Cache\RHG00004.3.System for use]LOG]!><time="16:16:45.222+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="executioncontext.cpp:1635">
<![LOG[Successfully selected content location C:\WINDOWS\system32\CCM\Cache\RHG00004.3.System]LOG]!><time="16:16:45.222+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="executioncontext.cpp:1703">
<![LOG[Executing program as a script]LOG]!><time="16:16:45.237+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="executionengine.cpp:103">
<![LOG[Successfully prepared command line "C:\WINDOWS\system32\CCM\Cache\RHG00004.3.System\Firefox.exe"]LOG]!><time="16:16:45.237+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="scriptexecution.cpp:523">
<![LOG[Command line = "C:\WINDOWS\system32\CCM\Cache\RHG00004.3.System\Firefox.exe", Working Directory = C:\WINDOWS\system32\CCM\Cache\RHG00004.3.System\]LOG]!><time="16:16:45.237+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="scriptexecution.cpp:284">
<![LOG[Created Process for the passed command line]LOG]!><time="16:16:45.269+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="scriptexecution.cpp:407">
<![LOG[Raising event:
[SMS_CodePage(850), SMS_LocaleID(2057)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "RHG20001";
ClientID = "GUID:4A117A6A-284D-4A46-A675-A43AEF406C73";
CommandLine = "\"C:\\WINDOWS\\system32\\CCM\\Cache\\RHG00004.3.System\\Firefox.exe\"";
DateTime = "20100412151645.331000+000";
MachineName = "TEST-UNIT";
PackageName = "RHG00004";
ProcessID = 432;
ProgramName = "Firefox 3.5.2";
SiteCode = "RHG";
ThreadID = 3620;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\WINDOWS\\system32\\CCM\\Cache\\RHG00004.3.System\\";
};
]LOG]!><time="16:16:45.347+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="event.cpp:525">
<![LOG[Raised Program Started Event for Ad:RHG20001, Package:RHG00004, Program: Firefox 3.5.2]LOG]!><time="16:16:45.347+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="3620" file="executioncontext.cpp:523">
<![LOG[Program exit code 259]LOG]!><time="18:16:45.647+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="2336" file="scriptexecution.cpp:547">
<![LOG[Looking for MIF file to get program status]LOG]!><time="18:16:45.647+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="2336" file="executionstatus.cpp:282">
<![LOG[Program ran past its maximum runtime. It will be orphaned]LOG]!><time="18:16:45.647+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="2336" file="executionstatus.cpp:232">
<![LOG[Raising event:
[SMS_CodePage(850), SMS_LocaleID(2057)]
instance of SoftDistProgramExceededTimeMom
{
AdvertisementId = "RHG20001";
ClientID = "GUID:4A117A6A-284D-4A46-A675-A43AEF406C73";
DateTime = "20100412171645.662000+000";
MachineName = "TEST-UNIT";
MaximumTime = "120";
PackageName = "RHG00004";
ProcessID = 432;
ProgramName = "Firefox 3.5.2";
SiteCode = "RHG";
ThreadID = 2336;
};
]LOG]!><time="18:16:45.678+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="2336" file="event.cpp:525">
<![LOG[Raised Program Exceeded Time Mom Event for Ad:RHG20001, Package:RHG00004, Program: Firefox 3.5.2]LOG]!><time="18:16:45.709+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="2336" file="executioncontext.cpp:931">
<![LOG[Execution is complete for program Firefox 3.5.2. The exit code is 259, the execution status is Unknown Status]LOG]!><time="18:16:45.709+-60" date="04-12-2010" component="execmgr" context="" type="1" thread="2336" file="execreqmgr.cpp:3908">

Any ideas?
 
First of all you're much better off using the MSI and MSIEXEC /i appname.msi to install, if you want to uninstall use MSIEXEC /x appname.msi.

Change the package to use msiexec instead, ensure that the advert doesn't have an expiry and re-run the advert on the local machine (you may need to change the properties of the advert to re-run if previous attempt failed).

Here are a couple of hints with regards to application deployments.

1, Deploy software to machines, its easier to manage and you won't have issues if users log onto multiple machines.

2, Use AD Groups to define your collections. Create 2 AD groups per App, one to install, one to uninstall.

3, Create 1 main collection for the App, then create 2 collections within that collection, 1 for the install, the 2nd for the uninstall. Next tell the collections to sync up every hour, generally you want to tell them to do it at least 15 minutes after your main System Group discovery.

4, Ensure your System Group discovery happens at least once an hour and try to keep it at the top of the hour.

5, Remember that the clients can take an hour to get their policies down, you can force that from the client (or by using right click tools which need to be downloaded seperately).

6, App Deployment is an art form that's easily mastered, App Packaging however is Black Magic and can take a life time to master.



Simon

The real world is not about exam scores, it's about ability.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top