Closed Bug 343581 Opened 18 years ago Closed 18 years ago

Uninstaller removed required system folder 'C:\Documents and Settings\All Users\Desktop'

Categories

(Firefox :: Installer, defect)

2.0 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 2 beta1

People

(Reporter: ssitter, Assigned: robert.strong.bugs)

Details

(Keywords: dataloss, fixed1.8.1)

Attachments

(1 file, 1 obsolete file)

The Bon Echo/Sunbird Uninstaller removed the required system folder 'C:\Documents and Settings\All Users\Desktop' when running.

Tested with BonEcho (20060704-mozilla1.8) installer and Sunbird (20060704-trunk) installer on fresh installed Windows 2000 system.


Steps to Reproduce:
1. System is running as admin user. Perform default installation of BonEcho.
2. Check that BonEcho is running.
3. Perform uninstallation of BonEcho.


Actual Results:
After install a shortcut icon is created in shared desktop folder 'C:\Documents and Settings\All Users\Desktop'. This icon is the only element in that folder.

During uninstall the entire folder 'C:\Documents and Settings\All Users\Desktop' is removed. A system error dialog is displayed that Windows can not find the required system folder 'C:\Documents and Settings\All Users\Desktop'.


Expected Results:
System folder 'C:\Documents and Settings\All Users\Desktop' must not be removed during uninstall.


Additional Information:
Happens only if the BonEcho/Sunbird icon is the only element in that folder.
Stefan, thanks for catching this. I'll submit a patch shortly
Assignee: nobody → robert.bugzilla
Found during additional testing: Happens also with user specific Desktop directory when installed as restricted user.
Same happens with program directory e.g. C:\xyz\BonEcho - if BonEcho is the only element C:\xyz will be removed too. (But that is less critical I think)
This also removes adding the quicktime plugin as is used by Firefox.
Attachment #228071 - Flags: review?(mattwillis)
Attachment #228071 - Attachment description: protect against desktop, quicklaunch, and startmenu deletion → Calendar - protect against desktop, quicklaunch, and startmenu deletion
btw: this also protects against removing directories above the install directory but that is broken without this patch due to a typo. :(
Flags: blocking-firefox2?
Comment on attachment 228072 [details] [diff] [review]
Firefox - protect against deletion of Desktop, Quicklaunch, and StartMenu directories

r=sspitzer

nit:  "gaurd" is misspelled
Attachment #228072 - Flags: review?(sspitzer)
Comment on attachment 228072 [details] [diff] [review]
Firefox - protect against deletion of Desktop, Quicklaunch, and StartMenu directories

r=Sir Seth per comment #6 and I'll fix the typo in the comment before checking in. Thanks!
Attachment #228072 - Flags: review+
Firefox patch checked in to trunk. Leaving open for the Sunbird patch.
Comment on attachment 228072 [details] [diff] [review]
Firefox - protect against deletion of Desktop, Quicklaunch, and StartMenu directories

Tested using a trunk tbox build and all is well. Requesting 1.8.1
Attachment #228072 - Flags: approval1.8.1?
Comment on attachment 228071 [details] [diff] [review]
Calendar - protect against desktop, quicklaunch, and startmenu deletion

r=lilmatt
Attachment #228071 - Flags: review?(mattwillis) → review+
Comment on attachment 228071 [details] [diff] [review]
Calendar - protect against desktop, quicklaunch, and startmenu deletion

Calendar patch checked in to trunk and branch
Attachment #228071 - Attachment is obsolete: true
Fixed on trunk
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
We definitely want this for beta1. Letting it bake a bit longer before approving, though.
Flags: blocking-firefox2? → blocking-firefox2+
Keywords: dataloss
Target Milestone: --- → Firefox 2 beta1
Attachment #228072 - Flags: approval1.8.1? → approval1.8.1+
Checked in to MOZILLA_1_8_BRANCH
Keywords: fixed1.8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: