Closed
Bug 633804
Opened 15 years ago
Closed 12 years ago
Per-user install will overwrite registry key for other architectures.
Categories
(Firefox :: Installer, defect)
Tracking
()
RESOLVED
FIXED
Firefox 31
People
(Reporter: emk, Assigned: robert.strong.bugs)
References
Details
Attachments
(2 files)
|
2.43 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
|
31.83 KB,
image/png
|
Details |
Steps to reproduce:
1. Launch a 32-bit Minefield installer.
2. Cancel an UAC dialog and continue to install.
3. Make sure HKCU\Software\Mozilla\Minefield 4.0b12pre and HKCU\Software\Mozilla\Minefield\4.0b12pre (en-US)
4. Launch a 64-bit Minefield installer.
5. Cancel an UAC dialog and continue to install.
Actual result:
HKCU\Software\Mozilla\Minefield 4.0b12pre and HKCU\Software\Mozilla\Minefield\4.0b12pre (en-US) are overwritten because HKCU is not virtualized for 32-bit apps.
Expected result:
Registry key names under HKCU should contain the architecture such as "4.0b12pre (x86 en-US)". Uninstall strings already contain it.
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → robert.bugzilla
| Assignee | ||
Updated•12 years ago
|
Blocks: tracking_win64
| Assignee | ||
Updated•12 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 1•12 years ago
|
||
Attachment #8398827 -
Flags: review?(netzen)
Comment 2•12 years ago
|
||
Comment on attachment 8398827 [details] [diff] [review]
patch rev1
Review of attachment 8398827 [details] [diff] [review]:
-----------------------------------------------------------------
We'll be leaving behind a key that looks like:
HKEY_CURRENT_USER\Software\Mozilla\Nightly\31.0a1 (en-US) that is unused.
An uninstall will clean it up, but I think most users probably won't be uninstalling any time soon.
Should we do a DeleteRegKey with the old key location?
Attachment #8398827 -
Flags: review?(netzen)
| Assignee | ||
Comment 3•12 years ago
|
||
iirc RegCleanMain takes care of this but it has been awhile since I last verified it (probably back when I first wrote it ;). I'll check and re-request.
Comment 4•12 years ago
|
||
Thanks!
| Assignee | ||
Comment 5•12 years ago
|
||
It does clean it up though as previously the "Nightly 31.0a1" key is in the same state as it was before in that it is overwritten for the two. If that were to be handled I'd prefer providing the information under the following location instead
Nightly
31.0a1 (x86 en-US)
Components <path_to_components>
PathToExe <path_to_exe>
Plugins <path_to_plugins>
These are very old keys and I have not heard of anyone using them so if they are fixed I'd prefer to do it in a followup bug.
| Assignee | ||
Updated•12 years ago
|
Attachment #8398827 -
Flags: review?(netzen)
Comment 6•12 years ago
|
||
[15:16:16] <bbondy> rstrong: ping
[15:16:40] <bbondy> did you try testing bug 633804 by installing both an x86 and an x64 build on your machine? (both patched x86 and x64)
[15:17:09] <bbondy> I'm just wondering that if the non architecture keys get cleaned, wouldn't the other architecture key also get cleaned
| Assignee | ||
Comment 7•12 years ago
|
||
<rstrong> bbondy: I didn't but they definitely should since it isn't dependent on the arch. It is dependent on the product name (e.g. Nightly in this case) and it enumerates subkeys
| Assignee | ||
Comment 8•12 years ago
|
||
I'll go ahead and build x64 and verify though.
Comment 9•12 years ago
|
||
Comment on attachment 8398827 [details] [diff] [review]
patch rev1
Review of attachment 8398827 [details] [diff] [review]:
-----------------------------------------------------------------
Based on the IRC discussion about how cleanup works this looks good.
Attachment #8398827 -
Flags: review?(netzen) → review+
| Assignee | ||
Comment 10•12 years ago
|
||
Pushed to fx-team
https://hg.mozilla.org/integration/fx-team/rev/ce6c24dd1fae
Flags: in-testsuite-
Target Milestone: --- → Firefox 31
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•