myITforum.com Community Forum myITforum.com Community Forum

Home  Forums  Blogs  Live Support chat  Search Articles  Wiki  FAQ  Email Lists  Register  Login  My Profile  Inbox  Address Book  My Subscription  My Forums 

Photo Gallery  Member List  Search  Calendars  FAQ  Ticket List  Log Out

All Forums RSS Feed Subscription:


  


Package Deployment

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
  Printable Version
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Package Deployment Page: [1]
Login
Message << Older Topic   Newer Topic >>
Package Deployment - 8/27/2008 2:54:59 PM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
SCCM is having issues running a command line for an install i have. I have run the command manually in windows and it works fine.

running from a command prompt from the directory it is located i run this Program.msi /quiet

program runs fine installs everything is good. i put this as the command to run for the program in SCCM but i get exit code 1603 fatal error during install and it doesn't install.

GetFileVersionInfoSize failed for file C:\WINDOWS\system32\CCM\Cache\00100042.4.System\SphericallDesktop.msi, error 1812 execmgr 8/27/2008 1:47:39 PM 2712 (0x0A98)
Executing program as a MSI script due to file association execmgr 8/27/2008 1:47:39 PM 2712 (0x0A98)
Valid MSI Package path = C:\WINDOWS\system32\CCM\Cache\00100042.4.System\SphericallDesktop.msi execmgr 8/27/2008 1:47:39 PM 2712 (0x0A98)
Successfully prepared Command Line "C:\WINDOWS\System32\msiexec.exe" /i "C:\WINDOWS\system32\CCM\Cache\00100042.4.System\SphericallDesktop.msi" /quiet execmgr 8/27/2008 1:47:39 PM 2712 (0x0A98)
Command line = "C:\WINDOWS\System32\msiexec.exe" /i "C:\WINDOWS\system32\CCM\Cache\00100042.4.System\SphericallDesktop.msi" /quiet, Working Directory = C:\WINDOWS\system32\CCM\Cache\00100042.4.System\ execmgr 8/27/2008 1:47:39 PM 2712 (0x0A98)
Created Process for the passed command line execmgr 8/27/2008 1:47:39 PM 2712 (0x0A98)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramStartedEvent
{
AdvertisementId = "00120104";
ClientID = "GUID:0818E298-81D4-430D-A0DA-29FB8D34DA01";
CommandLine = "\"C:\\WINDOWS\\System32\\msiexec.exe\" /i \"C:\\WINDOWS\\system32\\CCM\\Cache\\00100042.4.System\\SphericallDesktop.msi\" /quiet";
DateTime = "20080827184739.168000+000";
MachineName = "ATS-SMSPKG";
PackageName = "00100042";
ProcessID = 1668;
ProgramName = "Sphere Install";
SiteCode = "001";
ThreadID = 2712;
UserContext = "NT AUTHORITY\\SYSTEM";
WorkingDirectory = "C:\\WINDOWS\\system32\\CCM\\Cache\\00100042.4.System\\";
};
execmgr 8/27/2008 1:47:39 PM 2712 (0x0A98)
Raised Program Started Event for Ad:00120104, Package:00100042, Program: Sphere Install execmgr 8/27/2008 1:47:39 PM 2712 (0x0A98)
Program exit code 1603 execmgr 8/27/2008 1:47:40 PM 3428 (0x0D64)
Looking for MIF file to get program status execmgr 8/27/2008 1:47:40 PM 3428 (0x0D64)
Script for Package:00100042, Program: Sphere Install failed with exit code 1603 execmgr 8/27/2008 1:47:40 PM 3428 (0x0D64)
Raising event:
[SMS_CodePage(437), SMS_LocaleID(1033)]
instance of SoftDistProgramErrorEvent
{
AdvertisementId = "00120104";
ClientID = "GUID:0818E298-81D4-430D-A0DA-29FB8D34DA01";
DateTime = "20080827184740.536000+000";
ExitCode = "1603";
MachineName = "ATS-SMSPKG";
PackageName = "00100042";
ProcessID = 1668;
ProgramName = "Sphere Install";
SiteCode = "001";
ThreadID = 3428;
UserContext = "NT AUTHORITY\\SYSTEM";
};
execmgr 8/27/2008 1:47:40 PM 3428 (0x0D64)
Raised Program Error Event for Ad:00120104, Package:00100042, Program: Sphere Install execmgr 8/27/2008 1:47:40 PM 3428 (0x0D64)
Execution is complete for program Sphere Install. The exit code is 1603, the execution status is FailureNonRetry execmgr 8/27/2008 1:47:40 PM 2712 (0x0A98)


any help would be great
Post #: 1
RE: Package Deployment - 8/27/2008 4:35:59 PM   
jsandys


Posts: 531
Score: 17
Joined: 3/24/2005
From: San Antonio, TX
Status: offline
1603 means "Fatal error during installation."  This a common, and very generic, MSI message.  To get more details, you need to turn on verbose logging.  Change your command line to the following (or similar):


msiexec.exe /i SphericallDesktop.msi /l*v c:\SPInstall.log

/l*v adds the verbose logging and puts the log where you specify.  This log will hopefully have further details of why the failure is happening.

< Message edited by jsandys -- 8/27/2008 4:36:32 PM >


_____________________________

Jason
________________________________________
http://myitforum.com/cs2/blogs/jsandys/default.aspx

(in reply to cshackelford)
Post #: 2
RE: Package Deployment - 9/3/2008 11:29:40 AM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
k still having an issue with this. figured out what i needed to configure with the auto answer file for the software install. but i guess i am not typing syntax correctly. i need to run the MSI with basic user interface.

is this not the correct syntax

msiexec /qb "sphericall desktop.msi"

(in reply to jsandys)
Post #: 3
RE: Package Deployment - 9/3/2008 11:34:00 AM   
jquirk822


Posts: 189
Score: 12
Joined: 2/20/2003
Status: offline
Try
msiexec /i "sphericall desktop.msi" /qb


(in reply to cshackelford)
Post #: 4
RE: Package Deployment - 9/3/2008 3:10:16 PM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
This works without error now when pushed by SCCM but it does not put the desktop shortcut nor the reg entries or list it in Add/Remove programs. the software works just fine if you go searching for it.

if i run this command manually it puts all this in. the shortcut and in add.remove programs. any ideas?

(in reply to jquirk822)
Post #: 5
RE: Package Deployment - 9/3/2008 4:28:05 PM   
rbennett806


Posts: 827
Score: 13
Joined: 6/14/2006
Status: offline
Have you tried something like: msiexec /i "sphericall desktop.msi" /qb AllUsers=1 ?

(in reply to cshackelford)
Post #: 6
RE: Package Deployment - 9/3/2008 5:15:56 PM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
Same resulte even with alluser=2

(in reply to rbennett806)
Post #: 7
RE: Package Deployment - 9/4/2008 8:00:02 AM   
hcortez463


Posts: 780
Score: 62
Joined: 4/8/2005
Status: offline
if you run jquirk822 command manualy not through sms does it do what it needs to do?

_____________________________

If it Helps, Please rate....

(in reply to cshackelford)
Post #: 8
RE: Package Deployment - 9/4/2008 8:05:42 AM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
Yes it does.

(in reply to hcortez463)
Post #: 9
RE: Package Deployment - 9/4/2008 8:20:08 AM   
hcortez463


Posts: 780
Score: 62
Joined: 4/8/2005
Status: offline
well it sounds like your application is user dependent.. writes to the HKCU.. Try enabeling the allow user to interact with program in the programs settings.. If  users have admin rights to the PC try running the program with user rights.

_____________________________

If it Helps, Please rate....

(in reply to cshackelford)
Post #: 10
RE: Package Deployment - 9/4/2008 8:23:54 AM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
They do have admin rights and i have tried setting the interaction so i actually see the package available for install. when i go and run it manually from advertised programs it produces the same results.

(in reply to hcortez463)
Post #: 11
RE: Package Deployment - 9/4/2008 8:39:52 AM   
skissinger


Posts: 2119
Score: 134
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
What Hector means (I suspect) is in your Package, Program properties, there's a place where you can select to run whether or not a user is logged in.  For testing, ensure it's "only when a user is logged in", and "with user rights", not System rights. 

If that works, personally I'd go back to the vendor and kick up a fuss that it's a per-user-only install; but that's me!

_____________________________

mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com
My Blog
Microsoft MVP - ConfigMgr

(in reply to cshackelford)
Post #: 12
RE: Package Deployment - 9/4/2008 8:40:42 AM   
hcortez463


Posts: 780
Score: 62
Joined: 4/8/2005
Status: offline
it they have admin rights change the setting in the program enviroment tab to "only when user is logged on" and check the tab "run with user rights".  Im sure the should work for you. 

_____________________________

If it Helps, Please rate....

(in reply to cshackelford)
Post #: 13
RE: Package Deployment - 9/4/2008 9:20:19 AM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
Heads off with the bazooka to software company... that worked for the install. is there any other way around this to force it to install otherwise ?

(in reply to hcortez463)
Post #: 14
RE: Package Deployment - 9/4/2008 9:46:05 AM   
hcortez463


Posts: 780
Score: 62
Joined: 4/8/2005
Status: offline
man good questions. I think you can mofigy the msi with 3rd party apps but have not done it before.  Sherry is my mentor in scripts, shes a geniouse.. and might now of a way.. :)

_____________________________

If it Helps, Please rate....

(in reply to cshackelford)
Post #: 15
RE: Package Deployment - 9/4/2008 10:07:40 AM   
skissinger


Posts: 2119
Score: 134
Joined: 9/13/2001
From: Sherry Kissinger
Status: offline
Unfortunately, if "ALLUSERS=1" or =2 doesn't produce the behavior you are looking for, the vendor in all likelihood either has absolutely no clue how to create a standard MSI; or they know exactly how to create an MSI and because of how their software works, they know it can only install & run successfully when installed by the user of the machine.

In this day & age, with fewer and fewer companies allowing their users to be local admins, generally I feel the vendor has no clue how to create a standard MSI!  You "could" try to create a Transform for their MSI and fix their regkeys & shortcuts -- sometimes that works.  Often what I see in these horribly built MSIs is their current user stuff is in a custom action; which you often cannot see inside to fix or adjust.

First line of defense:  talk to the vendor.  Tell them you deploy via SMS (they may not know what ConfigMgr is), and you need to be able to install the application whether or not a user is logged in, using SYSTEM context, not the logged in user.  Occasionally the vendor may have a Public Property that you can use to install (rare, but it happened once for me).  A public property is one you can use on the install line, like ALLUSERS= is a standard public property that should govern this behavior.  But they might have built in a Public Property called something else.  Otherwise, about 50% of the time the vendor will (after a couple of emails/calls from you) build an installation .MSI that uses ActiveSetup & will correctly install under SYSTEM context, and create the hkcu/shortcuts you need.  About 50% of the time... you truly get Joe's Basement software; who followed some online guide on making an MSI, but didn't really understand what they were doing. 

In those cases... you have 2 options:  Install it per-user; because you don't have the time or inclination to repackage.  Unfortunately, this may mean that you won't see that installation the same way you see other installations via SMS.  Because SMS Hardware Inventory runs under System context, MSI's installed under user context won't be reported completely the same.  And down the road, if/when you want to uninstall/reinstall/or upgrade--the only person that can do that is the original logged in user on that computer.  If that person is gone from the company, you might have to MSIZAP that guid off the box to clean up.

The other option is to repackage an MSI.  Always the very, very last choice.  It's better to make a Transform, or make the vendor fix their junk.  I've only done that one, ever, and that was after the vendor tried twice to fix their MSI for us.  They just made it worse.  So we repackaged it ourselves.

_____________________________

mofmaster@smsexpert.com (version 2007) | http://www.smsexpert.com | http://www.sccmexpert.com
My Blog
Microsoft MVP - ConfigMgr

(in reply to hcortez463)
Post #: 16
RE: Package Deployment - 9/5/2008 8:22:57 AM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
well i am no expert at repackaging the MSI and we need this ready for deployment for an upgrade happening. guess we will either be doing this live during the day while they are logged in or trying to figure out how to repackage this.

(in reply to skissinger)
Post #: 17
RE: Package Deployment - 9/5/2008 8:26:40 AM   
hcortez463


Posts: 780
Score: 62
Joined: 4/8/2005
Status: offline
well u can automate it as the users log in..   Communication is the key here.. :)

_____________________________

If it Helps, Please rate....

(in reply to cshackelford)
Post #: 18
RE: Package Deployment - 9/5/2008 8:29:17 AM   
cshackelford

 

Posts: 49
Score: 0
Joined: 8/2/2007
Status: offline
That i can do. but i don't think i have ever set an option in SCCM to tell a package when user logs in to run. It needs to download the content and then not run till they log in.

(in reply to hcortez463)
Post #: 19
RE: Package Deployment - 9/5/2008 8:34:43 AM   
hcortez463


Posts: 780
Score: 62
Joined: 4/8/2005
Status: offline
well if you schedule it ahead of time, make the program available to users it should download it cache (have not tested thsi)  It will then launch it based on the manditory time set on the adv.

_____________________________

If it Helps, Please rate....

(in reply to cshackelford)
Post #: 20
Page:   [1]
All Forums >> [Management Products] >> System Center Products >> System Center Configuration Manager >> Package Deployment Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts



  
Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.232