Update downloads, appears to install, but doesn't

Asked by Jon C. Munson II

Namaste!

Sorry to be such a noob...but we all start somewhere...

After fixing my CFBundleVersion error, Sparkle successfully connects, identifies an update, downloads it, installs it, relaunches my application, but, the update didn't install. The application still reports the old version and Sparkle still thinks there's an update.

Because I update more than just my application (there's a document that goes with it and is put in a different location, and some framework stuff), I decided to use a pkg as my installation vehicle.

Is this a problem with my Sparkle configuration or a problem with my pkg?

Thanks!

Peace, Love, and Light,

/s/ Jon C. Munson II

P.S. Sparkle is great - I wish it existed on the PC for VB and/or C# apps...:)

Question information

Language:
English Edit question
Status:
Solved
For:
Sparkle Edit question
Assignee:
No assignee Edit question
Solved by:
Jon C. Munson II
Solved:
Last query:
Last reply:
Revision history for this message
Andy Matuschak (andymatuschak) said :
#1

Check install.log to make sure that installation proceeded without any errors. Also check the console to see if Sparkle outputted anything along the way.

Revision history for this message
Jon C. Munson II (jmunson-his) said :
#2

Namaste!

Done.

Sparkle does not output any errors to the console, nor could I find an
install.log nor any .log file.

In finder, the last modified date of the app is set to 06:45 AM.
However, the app didn't get changed...I know because there is a
specific feature missing...

In my pkg, I have unchecked Allow Relocation as that was causing a
problem before.

Thanks for your help!

Peace, Love, and Light,

/s/ Jon C. Munson II

Quoting Andy Matuschak <email address hidden>:

> Your question #71290 on Sparkle changed:
> https://answers.edge.launchpad.net/sparkle/+question/71290
>
> Status: Open => Needs information
>
> Andy Matuschak requested for more information:
> Check install.log to make sure that installation proceeded without any
> errors. Also check the console to see if Sparkle outputted anything
> along the way.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.edge.launchpad.net/sparkle/+question/71290
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Jon C. Munson II (jmunson-his) said :
#3

OK, here's a little further information.

I decided, for the heck of it, to test out a simple app-only update (meaning no other files, which, for now, I can get away with).

So, I created a .zip of the app, signed it, updated the appcast.xml as necessary and published it to the server.

Lo and behold, the app updates as expected.

So, methinks there is an issue either with Sparkle's handling of a .pkg file OR I've an issue in .pkg file that I'm not aware of (wouldn't surprise me).

Going forward, however, this is going to present and issue as I will need to issue some other related files too.

Any thoughts on that note?

Thanks!

Peace, Love, and Light,

/s/ Jon C. Munson II

Revision history for this message
Hofman (cmhofman) said :
#4

Have you even tried to install from the .pkg outside Sparkle?

Revision history for this message
Jon C. Munson II (jmunson-his) said :
#5

Yes, and I'm certain it works (especially after I fixed that Allow
Relocation bit).

Quoting Hofman <email address hidden>:

> Your question #71290 on Sparkle changed:
> https://answers.launchpad.net/sparkle/+question/71290
>
> Status: Open => Answered
>
> Hofman proposed the following answer:
> Have you even tried to install from the .pkg outside Sparkle?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sparkle/+question/71290/+confirm?answer_id=3
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sparkle/+question/71290
>
> You received this question notification because you are a direct
> subscriber of the question.
>

Revision history for this message
Andy Matuschak (andymatuschak) said :
#6

install.log lives in /var/log and should give you a fair amount of information about what the installer did with your .pkg. Could you please run the update and then copy the relevant sections here?

Revision history for this message
Jon C. Munson II (jmunson-his) said :
#7

Good Morning!

As I was out of town for a few days I could not get to this sooner. Thank you for your reply.

I took a look at an old log file, and I think I found an indicator of an issue:

     Installer[4223]: /Applications/StashWizG.app (version 23) was not installed because a newer version (25) already exists.

So, I'm going to play around with this a little bit and see what I can determine.

Thanks for the pointer to the log file, and I'll post back with results...

Peace, Love, and Light,

/s/ Jon C. Munson II

Revision history for this message
Jon C. Munson II (jmunson-his) said :
#8

Namaste!

I've done a bit of playing around with this.

I believe the solution to this is that I needed to bump the package version number. In one app I tested it downloaded the package, executed it, and the app got updated.

So far so good.

So, I'll start another thread on the current issue I have with the other application I'm attempting to test before I mark this issue as solved.

Peace, Love, and Light,

/s/ Jon C. Munson II

Revision history for this message
Jon C. Munson II (jmunson-his) said :
#9

OK...

I can confirm that bumping the package number caused the update to take place. So, that solves this issue.

Thanks!

Peace, Love, and Light,

/s/ Jon C. Munson II