How to package Self Service 8.0?

John_moore4
New Contributor

How are you all packaging Self Service to upgrade clients?

I packaged Self Service 8.0 (basically it's just a .dmg with Applications>Self Service and nothing else), uploaded it to Casper Admin, and can push it to a test machine using Casper Remote. However, when I launch the application, I get a Runtime error saying "Runtime Error 4: Failed Assertion Location: /Volumes/RBUS/REALbasic/REALbasic Xcode/../../Common/plugin.cpp:7255 Failure Condition: pluginEntryTable.GetEntry (entrypointName, out) Failure Message: can't find plugin method DOMNodeMBS.getAttributes as DOMNamedNodeMapMBS".

I hit the "Continue" button but it just repeats the same error and never opens Self Service 8.0. I double-checked and jamf version=8.0 on the client so I don't think it's an incompatibility with the jamf binary version but I have no idea what that error means. Any Ideas?

----------------------------------------------------------------------

10 REPLIES 10

pbachuwa
New Contributor

Did you remove the old version first? You must do that! I have a policy that removes the old version and then installs the new version.

Patrick Bachuwa
Desktop Engineering Applications Sears Holdings Corporation
Michigan Campus
3000 W. 14 Mile Road
Royal Oak, MI  48073-1717
Phone: 248 637-0350
Patrick.Bachuwa at searshc.com

pbachuwa
New Contributor

Patrick Bachuwa
Desktop Engineering Applications Sears Holdings Corporation
Michigan Campus
3000 W. 14 Mile Road
Royal Oak, MI 48073-1717
Phone: 248 637-0350
Patrick.Bachuwa at searshc.com

![external image link](attachments/52548dc168cf4f5a92b447c5040ac8dd)

John_moore4
New Contributor

I had totally forgot to do that. Uninstalled first, then installed the
new version and it worked. I'll remember to put it that way in my policy. It's always something so simple. :)

Thanks for your help!

----------------------------------------------------------------------

bentoms
Release Candidate Programs Tester

I have been seeing the same error with our 7.31 self service & pused it
out without removing the older versions.

So please try John & let us know.

Regards,
Ben Toms
IT Support Analyst GREY Group
The Johnson Building, 77 Hatton Garden, London, EC1N 8JS
T: +44 (0) 20-3037-3819 |
Main: +44 (0) 20 3037 3000 | IT Helpdesk: +44 (0) 20 3037 3883

tlarkin
Honored Contributor

Yeah I learned this the hard way myself, and you must remove the old version first. I already asked Jamf for a feature request to have built in updating tools to automatically update things like casper imaging, self service, casper remote, etc on client machines

bentoms
Release Candidate Programs Tester

I know you've just sorted.. BUT we number our packages like 010 etc so it does get removed in the correct order to avoid this issues from policies.. (casper will make chioces at times alpha numerically)

Our self service v8 update policy will look like:

010 Self Service 7.3.1 uninstall
011 Self Service 8 install

Regards,
Ben Toms
IT Support Analyst GREY Group
The Johnson Building, 77 Hatton Garden, London, EC1N 8JS
T: +44 (0) 20-3037-3819 |
Main: +44 (0) 20 3037 3000 | IT Helpdesk: +44 (0) 20 3037 3883

pbachuwa
New Contributor

Good to know, I have it like that on the actual package but not in the
name. Should that's be the same?

Patrick Bachuwa
Desktop Engineering Applications Sears Holdings Corporation
Michigan Campus
3000 W. 14 Mile Road
Royal Oak, MI 48073-1717
Phone: 248 637-0350

![external image link](attachments/df91d3a45736472a98343c17d176cf41)

tlarkin
Honored Contributor

I do it via shell script

#!/bin/bash

# remove self service

/bin/rm -rf /Applications/Self Service

/usr/sbin/jamf policy -trigger updateselfservice

exit 0

That is the quick and dirty version.

![external image link](attachments/b411da85d6464f929a0cbe5b9a5a27b4)

jszaszvari
New Contributor III

How are you getting the "Uninstall" action there?

I can only see :

Install
Cache
Install Cached
Nothing

Any help would be much appreciated.

Regards
John

John_moore4
New Contributor

If you use the "index" button on the package in Casper admin you can then go into the properties and check the box for "allow this package to be uninstalled".

Sent from my iPhone