Bug 13346 - Upgrade from 7.3 to 7.4 lost settings
: Upgrade from 7.3 to 7.4 lost settings
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Windows Installer
: 7.4.0
: PC Windows XP
: P1 normal (vote)
: 7.4.0
Assigned To: Michael Herger
http://forums.slimdevices.com/showthr...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-08-11 15:57 UTC by Erland Isaksson
Modified: 2009-09-24 14:45 UTC (History)
1 user (show)

See Also:
Category: Task


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erland Isaksson 2009-08-11 15:57:07 UTC
I did an upgrade on my Windows XP box from 7.3 to 7.4 and during the upgrade it seems to have lost the settings. 

I'm not sure if this was caused by something specific in my environment so before assigning this for correction by a developer it's probably a good idea of a QA resource try to reproduce it in your own environment.

I'm not sure which 7.3 release I had installed previously, it might be nightly build or an official 7.3 relelase.

The 7.4 version I installed was the nightly build exe called: SqueezeboxServer-7.4-28124.exe

This is what I had:
- 7.3 installation path: C:\Program Files\SqueezeCenter
- 7.3 prefs directory: C:\Documents and Settings\All Users\Application Data\SqueezeCenter\prefs
- Server was configured to not use iTunes
- Server was configured to scan a music folder stored on a mounted network share

This is what I got after the upgrade:
- 7.4 installation path: C:\Program Files\Squeezebox
- 7.4 prefs directory: C:\Documents and Settings\All Users\Application Data\Squeezebox\prefs

After the upgrade the server had been upgraded to use the iTunes integration during scanning and it didn't have any music folder configured at all. I suspect it lost all settings during the upgrade procedure.

The installation program uninstalled the previous version, it asked me if I wanted to delete preferences and log files and I answered No.
Comment 1 James Richardson 2009-08-11 19:05:19 UTC
I'll take a stab at verifying this behavior, along with bug 12089

What version of XP do you have installed?
Comment 2 Erland Isaksson 2009-08-11 21:39:27 UTC
(In reply to comment #1)
> I'll take a stab at verifying this behavior, along with bug 12089
> 
> What version of XP do you have installed?

Windows XP Professional SP3
Comment 3 Ben Klaas 2009-08-26 07:51:46 UTC
this is an administrative shuffle on priority fields to help make better judgment on the top end of the priority list. P4->P5, P3->P4, and P2->P3.
Comment 4 James Richardson 2009-08-26 10:56:44 UTC
Try as I might, I have not been able to replicate this error.  Erland, are you still seeing the issue?
Comment 5 James Richardson 2009-09-24 11:30:32 UTC
The installation program uninstalled the previous version, it asked me if I
wanted to delete preferences and log files and I answered No.

I have seen this on latest 7.4 in windows (all) versions.  I think this is the key here.  Even if I answer NO, prefs are still removed.

IMHO the box should not come up at all during an 'upgrade'
Comment 6 Michael Herger 2009-09-24 14:45:41 UTC
James - I can't reproduce the _removal_ of prefs. Cache is wiped, but not the prefs. Here is how I tested:

- uninstalled all SC I had, cleaned registry, removed squeezebox folder from profile
- installed & configured 7.3.4 nightly
- installed 7.4.0-28625
-> 7.4 installer created new Squeezebox folder and copied prefs folder from SqueezeCenter configuration
-> 7.4 installer launched 7.3.4 uninstaller
-> 7.3.4 uninstaller removed installation
-> uninstaller asked for removal of data -> answered No
-> 7.4 installer still removes Cache, but not prefs
-> 7.4 restarted just fine with the settings imported from 7.3.4

=> I now have a SqueezeCenter and a Squeezebox folder with almost identical prefs subfolders.

That's all expected behaviour. Even if you did answer Yes and the 7.3.4 uninstaller did remove everything, the prefs should be migrated. The 7.4 installer already had copied the prefs before calling the uninstaller.

Please re-open this bug if you still see prefs vanish during updates. Phil - did you ever see this again?

About the message asking: as of 7.4 the uninstaller won't ask when run in "silent mode" (no questions asked - use the /silent parameter to test this). But as we're uninstalling 7.3.4, it's still asking. We're always one behind re. improving the _un_installer.