Closed Bug 355225 Opened 18 years ago Closed 18 years ago

Sunbird 0.3 doesn't start up if installed over existing 0.3a2 installation

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Unassigned)

References

Details

Attachments

(1 file)

Sunbird 0.3 doesn't start up if installed over existing 0.3a2 installation

Steps to Reproduce:
1. Install Sunbird 0.3a2 (using the installer not the zip package)
2. Start Sunbird 0.3a2 to ensure that it is working
3. Install Sunbird 0.3rc1 over existing 0.3a2 installation
4. Start Sunbird 0.3rc1 to ensure that it is working

Actual Results:
Sunbird 0.3 doesn't start up. Process 'sunbird.exe' is shown for about one second in Task Manager than it's gone.

Additional Information:

The problems seems to be that the old 0.3a2 installer copied all files from dist\bin\components to install folder, not only the required ones.

After removing all 124 *.xpt files except calendar.xpt from 'Mozilla Sunbird\components' folder and deleting xpti.dat and compreg.dat in profile folder Sunbird starts up properly.
Currently the 0.3rc1 installer doesn't remove the files already listed in mozilla/calendar/installer/removed-files.in at all, like the *.js files that were moved from components/ to js/. This looks like an installer problem to me.

I don't know if it can be fixed for 0.3 in reasonable time frame.

The other possibility is adding a note to the Release Notes that any previous version of Sunbird _must_ be uninstalled first.
Attachment #241060 - Flags: first-review?
Attachment #241060 - Flags: first-review? → first-review?(lilmatt)
Comment on attachment 241060 [details] [diff] [review]
remove old *.xpt files from 0.3a2 install

r=lilmatt
Attachment #241060 - Flags: first-review?(lilmatt) → first-review+
Why is removing .xpt files a good thing? Don't we need them?
(In reply to comment #4)
> Why is removing .xpt files a good thing? Don't we need them?

All *.xpt files are packaged into one file calendar.xpt during win32 build. This is the only file we need.
Depends on: 355242
(In reply to comment #4)
> Why is removing .xpt files a good thing? Don't we need them?

When upgrading via the Windows installer, we want to delete the old .xpt files before writing the new ones in case we're no longer shipping one, or one has been renamed or moved (as was the case with the stuff that moved from components/ to js/).
This is landed for 0.3rc2 on SUNBIRD_0_3_BRANCH and pushed to the SUNBIRD_0_3_RELEASE tag. It is also landed on MOZILLA_1_8_BRANCH and trunk.

-> FIXED
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: