eggy
eggy

Reputation: 2844

Update .app using Sparkle with a different bundle-identifier

I am using Sparkle to update an application from 0.9.2 to 1.0.0.

In the new update, I have changed the CFBundleIdentifier of MyApp.app from com.MyCompany.MyApp to au.com.MyCompany.MyApp.

When I test downloading this update (through Sparkle which is inbuilt to MyApp.app), it downloads the update and then gives me a window with this message:

An error occurred while extracting the archive. Please try again later.

Is there any other way, apart from having users reinstall the application, to have Sparkle recognise the old CFBundleIdentifier and update it to the new one?

Upvotes: 6

Views: 738

Answers (1)

Kornel
Kornel

Reputation: 100170

You can't change the identifier if you use .dmg for updates.

.zip with a DSA signature might work.

If you use .pkg (or .sparkle_guided.pkg) to deliver the update you can do whatever you want.

Upvotes: 2

Related Questions