Managed Install with .msp
I'm trying to push a service pack as a managed install, since it appears in the list of installed programs as its own program. The command line to perform the install is:
msiexec.exe /p ArcGISDesktop10sp3.msp /qb REINSTALL=ALL REINSTALLMODE=omus
I have that command line in the Installation Command field and "Run Command Only" is checked along with "Don't Prepend msiexec.exe". The MI reports that the installation failed three times on the target machine (I'm just testing on one machine at this point). I checked the target machines and none of the log files show that the MI ran and there's nothing in the Event Log either. Where should I look to see why the MI is failing?
Thanks.
msiexec.exe /p ArcGISDesktop10sp3.msp /qb REINSTALL=ALL REINSTALLMODE=omus
I have that command line in the Installation Command field and "Run Command Only" is checked along with "Don't Prepend msiexec.exe". The MI reports that the installation failed three times on the target machine (I'm just testing on one machine at this point). I checked the target machines and none of the log files show that the MI ran and there's nothing in the Event Log either. Where should I look to see why the MI is failing?
Thanks.
0 Comments
[ + ] Show comments
Answers (12)
Please log in to answer
Posted by:
nshah
12 years ago
Posted by:
GillySpy
12 years ago
Is the Managed install (MI) showing on the "to install" list of the target machine? If not then the criteria for matching the software item or the label used in the MI is not applicable to this machine so that needs to be fixed.
If it is in the to install list then remember that you need to run an inventory. On an inventory the process is:
ref: http://www.kace.com/support/kb/index.php?action=artikel&cat=4&id=821&artlang=en
If it is in the to install list then remember that you need to run an inventory. On an inventory the process is:
- inventory
- upload to server
- run Files Syncs and MIs
ref: http://www.kace.com/support/kb/index.php?action=artikel&cat=4&id=821&artlang=en
Posted by:
cmccracken
12 years ago
Posted by:
steelc
12 years ago
ORIGINAL: nshah
When you check "Run Command Only" it will tell the KBOX to ignore any attachments to the MI. If you have an attachment, that needs to get moved down to the local system that could be your problem.
Ah. I wasn't aware of that. I had it checked because the text at the top says "The windows client will install this via:" only shows the filename when the Run Command Only checkbox is unchecked, but when you check the box it shows the full command line as entered in the Installation Command.
Posted by:
steelc
12 years ago
Posted by:
steelc
12 years ago
I added another computer to the MI and watched it install and was prompted with a KUserAlert - invalid parameter window. Apparently even though our company name is in quotes the space is breaking the KUserAlert from appearing. I don't think this happens all the time, however, as the notifications for patching have been popping up without any errors. Even though the alert didn't appear the install then proceeded (it's still installing as I type this).
Thanks for sending the KB article GillySpy. I should let you know that it needs to be updated, however. It still references c:\Program Files\Kace\kbox\downloads\XXXX, which isn't correct for Windows 7 computers. It should be C:\ProgramData\Dell\Kace\downloads.
Does removing the space from the company name still require a restart of the KBox?
Thanks for sending the KB article GillySpy. I should let you know that it needs to be updated, however. It still references c:\Program Files\Kace\kbox\downloads\XXXX, which isn't correct for Windows 7 computers. It should be C:\ProgramData\Dell\Kace\downloads.
Does removing the space from the company name still require a restart of the KBox?
Posted by:
GillySpy
12 years ago
Posted by:
steelc
12 years ago
Posted by:
GillySpy
12 years ago
Valid concern to be sure. If that's necessary some options for you are:
- deploy as a script which checks running processes as a verify -- or even an alert in a script may work
- set the deployment time on the MI so it runs after hours
- deploy a batch in a zip in your MI that checks what you need and then calls the msiexec.
- Make a new smart label that checks for a combination of running processes GIS and label name contains your other label. target that with your MI
select MACHINE.ID from MACHINE
JOIN MACHINE_LABEL_JT ML ON ML.MACHINE_ID=MACHINE.ID
JOIN LABEL L ON L.ID=ML.LABEL_ID
left JOIN (select MACHINE_ID from PROCESS P JOIN MACHINE_PROCESS_JT MP ON P.ID=PROCESS_ID and
P.NAME='blah.exe') -- change this line
RUNP ON RUNP.MACHINE_ID=MACHINE.ID
WHERE
L.NAME='nameiwasusing' -- change this line
and RUNP.MACHINE_ID IS NULL
Posted by:
AJStevens
12 years ago
Posted by:
GillySpy
12 years ago
Posted by:
steelc
12 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.