Closed
Bug 195314
Opened 22 years ago
Closed 22 years ago
Forced install regardless of existing installation
Categories
(Core Graveyard :: Installer: GRE, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: carosendahl, Assigned: ssu0262)
Details
(Keywords: topembed+, Whiteboard: [adt2] 002cGreInstall.bat)
Attachments
(2 files, 1 obsolete file)
1.22 KB,
patch
|
samir_bugzilla
:
review+
jag+mozilla
:
superreview+
sspitzer
:
approval1.4+
|
Details | Diff | Splinter Review |
3.98 KB,
patch
|
Details | Diff | Splinter Review |
20030227 Trunk
The standalone GRE installer doesn't detect that the GRE has already been
installed and performs a forced install unnecesarily.
I believe it was supposed to detect if it was already installed or not before
continuing with installation of gre files, but maybe this behaviour has changed?
The spec still indicates otherwise.
Reporter | ||
Comment 1•22 years ago
|
||
I hesitate to write a new bug since the following is related:
- specifying a new directory during the gre installation will create the gre in
the new location and overwrite the registry keys of the prior installation.
- effectively 'lose' the previous installation.
Expected behavior:
- detection that a prior installation of the same version exists, perhaps a
prompt to overwrite, and then reinstallation (if forced) into existing directory.
- directory location chooser disabled upon detection of the current version
already installed.
Reporter | ||
Comment 2•22 years ago
|
||
I then installed the mfcembed installer (with GRE), which proceeded to then
overwrite the registry settings of the GRE back to the default location.
All of these are one in the same bug.
Reporter | ||
Comment 3•22 years ago
|
||
Actually it is two bugs. Let's remove the hardwire for the force option first
though.
Note to self - second bug relates to directory location of installed GRE and
inability to deviate from the already installed location in the absence of a
/reg_path param to the GRE installer.
Reporter | ||
Updated•22 years ago
|
Severity: normal → major
Priority: -- → P1
Summary: GRE installer forcing install regardless of existing installation → Forced install regardless of existing installation
Whiteboard: 002cGreInstall.bat
Reporter | ||
Updated•22 years ago
|
Whiteboard: 002cGreInstall.bat → 002cGreInstall.bat nsbeta1 topembed
Reporter | ||
Updated•22 years ago
|
Comment 5•22 years ago
|
||
this is referring to over-installing the same version of the GRE right, not over
a different version of the GRE, right? Sounds like extra work, but not horrible,
correct? Or will this cause an unnecssary download of the bits again to get the
new GRE customer to run?
it should be a one line fix (flipping of a var), but I haven't fully gone over
the possibilites of its effects. Yes, it would cause an extra unecessary
download of GRE.
Status: NEW → ASSIGNED
Comment 8•22 years ago
|
||
adt: nsbeta1+/adt2
Attachment #123722 -
Flags: review?(sgehani)
Updated•22 years ago
|
Attachment #123722 -
Flags: review?(sgehani) → review+
Attachment #123722 -
Flags: superreview?(jaggernaut)
Updated•22 years ago
|
Attachment #123722 -
Flags: superreview?(jaggernaut) → superreview+
Attachment #123722 -
Flags: approval1.4?
Comment 10•22 years ago
|
||
Comment on attachment 123722 [details] [diff] [review]
patch v1.0
a=sspitzer
Attachment #123722 -
Flags: approval1.4? → approval1.4+
Assignee | ||
Comment 11•22 years ago
|
||
patch checked in.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 12•22 years ago
|
||
reopening. found some regressions. additional patch coming up.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 13•22 years ago
|
||
additional patch to patch v1.0
Attachment #123829 -
Flags: review?(sgehani)
Comment 14•22 years ago
|
||
Comment on attachment 123829 [details] [diff] [review]
patch v1.1
sr=jag
Attachment #123829 -
Flags: superreview+
Comment 15•22 years ago
|
||
Comment on attachment 123829 [details] [diff] [review]
patch v1.1
> void SetInstallFilesVar(LPSTR szProdDir)
> {
> char szProgramPath[MAX_BUF];
>
>- wsprintf(szProgramPath, "%s%s", szProdDir, sgProduct.szProgramName);
>+ wsprintf(szProgramPath, "%s\\%s", szProdDir, sgProduct.szProgramName);
Please add a check to ensure szProdDir doesn't have a backslash before
appending one. With that change r=sgehani.
Attachment #123829 -
Flags: review?(sgehani) → review+
Assignee | ||
Comment 16•22 years ago
|
||
Attachment #123829 -
Attachment is obsolete: true
Assignee | ||
Comment 17•22 years ago
|
||
addedum patch checked in.
Status: REOPENED → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 18•22 years ago
|
||
20030613 branch build.
Verified. Note that if the gre installation corrupts, the user must perform an
uninstall or delete the GRE directory before running the ns installer.
Status: RESOLVED → VERIFIED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•