Closed Bug 166666 Opened 22 years ago Closed 22 years ago

Check for representative file to verify GRE is installed

Categories

(Core Graveyard :: Installer: GRE, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: curt, Assigned: curt)

References

Details

(Keywords: topembed+)

Attachments

(1 file)

Currently it just looks for the apps folder. But when the app installs mre we are registering a file that can be verified. We should make use of this information to do a further check. (See SetInstallFilesVar function in extra.c) While we are at it we should probably rename this function and have it return a boolean instead of setting the variable in the function.
Blocks: 157211
Summary: MRE installer check for representative file do verify Apps are installed → MRE installer: Check for representative file to verify App is installed
Component: Installer → Installer: GRE
QA Contact: bugzilla → carosendahl
Keywords: nsbeta1
The summary was misleading. Checking for the file which the app registers is an uninstall issue and the uninstaller is already making use of that data poitn. This bug has to do with determining if GRE has already been installed by another app.
Summary: MRE installer: Check for representative file to verify App is installed → MRE installer: Check for representative file to verify GRE is installed
Summary: MRE installer: Check for representative file to verify GRE is installed → Check for representative file to verify GRE is installed
Keywords: nsbeta1topembed
Keywords: topembedtopembed+
Attached patch Patch 1Splinter Review
This turned out to be a very easy fix. I didn't realize that we already have a ProgamFile variable defined.
Comment on attachment 104026 [details] [diff] [review] Patch 1 >+ if(FileExists(szProgramPath)) > sgProduct.bInstallFiles = FALSE; > } But don't forget in another patch you're trying to add a force-install check to this if() -- potential for patch conflict if you're maintaining these separately sr=dveditz
Attachment #104026 - Flags: superreview+
please hold until 1.3alpha opens (real soon now). Thanks.
Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: