You are here

In-Place Upgrades

3 posts / 0 new
Last post
Jonathan
Offline
Last seen: 16 years 5 months ago
Joined: 2006-04-12 21:49
In-Place Upgrades

This is mainly to John but if someone else can answer that'd be cool too.

I was wondering how you made the SFX archives be able to do this. I'd like to do it to a few files that I want to backup on my computer.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 14 years 6 months ago
Joined: 2006-01-06 21:27
I'm guessing

That the profile directory is blank and the settings are copied in, or a do not overwrite files switch is set.
----
R McCue
PortaBlog Home and My Website
And before anyone complains about the grammar, I'm so jetlagged that my
hands aren't even in the same time zone...

"If you're not part of the solution, you're part of the precipitate."

John T. Haller
John T. Haller's picture
Offline
Last seen: 5 hours 18 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Correct

Ryan's correct. All the apps have been updated to have blank Data or settings directories by default. Apps that can generate their own correctly (like OpenOffice) are allowed to do so. Others have a directory called DefaultData within the App directory that contains the default settings. When the launcher sees that it's a first run (no settings yet), it copies them right to the Data directory. This required a few extra lines for WINE compatibility (since CopyFiles with subdirectories doesn't work right on WINE). So, now. if you extract an app over itself... all your data is preserved.

Sometimes, the impossible can become possible, if you're awesome!

Topic locked