"=USER=/" does not write and register to user profile

RESOLVED WONTFIX

Status

Core Graveyard
Installer: XPInstall Engine
P3
normal
RESOLVED WONTFIX
19 years ago
2 years ago

People

(Reporter: Jimmy Lee, Assigned: dveditz)

Tracking

({helpwanted})

Trunk
Future
All
Windows NT
helpwanted

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 years ago
Build: 6/16/99 SeaMonkey build

1. User trigger at http://jimbob/trigger2.html
2. Trigger jar, http://jimbob/jars/f_addsubcomp_regname_user.jar
3. "=USER=/" is used as show in the following:

   f = Install.GetFolder("Temporary", "f_addsubcomp_regName_user");
   err = Install.AddSubcomponent("=USER=/"+regName, vi, jarSourcePath, f,
                                  "f_addsubcomp_regName_user.txt", true);

RESULT:
The component is added to c:\Temp\.  The Version Registry shows:

f_addsubcomp_regName_user
    RefCount (S)=1
    Path (F)=C:\TEMP\f_addsubcomp_regName_user\f_addsubcomp_regName_user.txt
    Version (S)=1.0.1.1

The Install.log file shows:

---------------------------------------------------------------------------
Functional: f_addsubcomp_regName_user
---------------------------------------------------------------------------

Starting Installation at 06/22/1999 14:02:42

Item [1/1]  Installing:
C:\TEMP\f_addsubcomp_regName_user\f_addsubcomp_regName_user.txt

Finished Installation  06/22/1999 14:02:42

EXPECTED RESULT:
The component is installed and registered to the current user profile.  The
Install.log shows the correct path to the profile directory.

NOTE:
With the 6/20/99 Macintosh build, the installscript aborts gracefully.  Due to a
couple of test blockers, no more detail can be provided at this time.
(Assignee)

Comment 1

19 years ago
=USER= and =COMM= say nothing about where the file is installed, they are used
in the registry name argument and affect ONLY the registry name. If you want
the file to by physically installed into the profile directory then you must
use GetFolder("Current User") to do that.

=USER= and GetFolder("Current User") should be used together, but since one was
a 4.0 feature and the other 4.5 it isn't enforced.

However, =USER= is in fact broken so I will leave this bug open for that. But
the file itself went into the specified place and that's not part of this bug.

Note that =USER= can be used in both StartInstall() and when adding files.
(Assignee)

Updated

19 years ago
Severity: major → normal
Target Milestone: M9 → M10

Updated

19 years ago
Target Milestone: M10 → M15

Comment 2

19 years ago
set target milestone to M15, per today's bug meeting.

Comment 3

19 years ago
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine

Comment 4

18 years ago
this is a low priority feature.

bug meeting 3/20
Assignee: cathleen → dveditz
Summary: "=USER=/" does not write and register to user profile → [feature] "=USER=/" does not write and register to user profile
Target Milestone: M15 → M16

Comment 5

18 years ago
cut feature
putting on helpwanted
Keywords: helpwanted
Target Milestone: M16 → M30
(Assignee)

Comment 6

18 years ago
Taking advantage of new "Future" target milestone.
Target Milestone: M30 → Future
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED

Comment 7

15 years ago
bug hasn't been touched since forever. is this bug still valid?
Summary: [feature] "=USER=/" does not write and register to user profile → "=USER=/" does not write and register to user profile
(Assignee)

Comment 8

14 years ago
Don't need anymore
Status: ASSIGNED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.