Video Screencast Help

aexpatchutil /f - Does this work in SMP 7.1?

Created: 17 Apr 2012 | 1 comment

I've been trying to get this to work for hours and have been unsuccessful.  At this point I'm just trying to ascertain whether this even still works in SMP 7.1.

One issue appears to be syntax-related, the other linked to perhaps a GUID issue.  I'll cover them both.

SYNTAX

I've tried a couple of different command lines:

  1. aexpatchutil /f {4E2A75A9-F685-4E80-BBBF-0DE7156818DD} --curly braces
  2. aexpatchutil /f (4E2A75A9-F685-4E80-BBBF-0DE7156818DD) -- parentheses
  3. aexpatchutil /f ({4E2A75A9-F685-4E80-BBBF-0DE7156818DD}) - both
  4. aexpatchutil /f 4E2A75A9-F685-4E80-BBBF-0DE7156818DD - no braces/parentheses
  5. aexpatchutil /f 4E2A75A9F6854E80BBBF0DE7156818DD - no braces/parentheses or dashes

Results:

Running 1 or 4 gives me this:

Altiris (R) Software Update Plug-in
Copyright (C) 2010 Symantec Corporation. All rights reserved.

Software Update Plug-in Command Line Interface

Force Install passing to agent ...
Forcing software update installation...
{4E2A75A9-F685-4E80-BBBF-0DE7156818DD} is an invalid software update guid.
Press any key to continue . . .

Running 2, 3, or 5 gives me this:

(4E2A75A9-F685-4E80-BBBF-0DE7156818DD) is not a valid guid.
Altiris (R) Software Update Plug-in
Copyright (C) 2010 Symantec Corporation. All rights reserved.

Software Update Plug-in Command Line Interface

Force Install passing to agent ...
Forcing software update installation...
Press any key to continue . . .

In Log Viewer, 1 and 4 gives you an error: "ForceUpdateInstallation() - software update guid {4E2A75A9-F685-4E80-BBBF-0DE7156818DD} does not exist."

2, 3, or 5 do not.  You get the following entries in Log Viewer:

AeXPatchUtil: Starting aexpatchutil /f (4E2A75A9-F685-4E80-BBBF-0DE7156818DD)

AexPatchUtil: started

AexPatchUtil: Forcing software update installation...

AexPatchUtil: ForceSoftwareUpdateInstallation()

AexPatchUtil finished

But nothing seems to happen - no installation can be seen in Task Manager and no installation occurs.

GUID

I've pulled the GUID from every possible place I can think of:

  1. From Manage ~ All Resources ~ Package ~ Software Package; click right-on an update, click Properties, then grab the GUID
  2. From the folder name on the local system, e.g. C:\Program Files\Altiris\Altiris Agent\Agents\SoftwareManagement\Software Delivery\{51095215-1685-BA40-43B7-9BC0CAD571C2}
  3. From the share name on the Site Server

I'm assuming #1 is correct but I'd love confirmation.

Thanks for any help anyone can provide.

JB

 

 

Comments 1 CommentJump to latest comment

Roman Vassiljev's picture

Hello jbonbright,

You are right. Correct using of AexPatchUtil.exe tool is option #1 of your list: aexpatchutil /f {4E2A75A9-F685-4E80-BBBF-0DE7156818DD} -- curly braces

It looks like you have used wrong GUIDs. I used GUID included to http source location path and it worked. You can find it in Source location tab of Package properties. Also you can get this GUID from name of folder on NS, where downloaded update is stored (By default it is C:\Program Files\Altiris\Patch Management\Packages\Updates\<bulletin name>\<GUID>)

Thanks,
Roman