Closed
Bug 1504244
Opened 7 years ago
Closed 7 years ago
MSI installer using EXTRACT_DIR configuration doesn't extract, it just installs
Categories
(Firefox :: Installer, defect, P1)
Firefox
Installer
Tracking
()
RESOLVED
FIXED
Firefox 65
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox63 | --- | unaffected |
firefox64 | --- | unaffected |
firefox65 | --- | fixed |
People
(Reporter: aflorinescu, Assigned: molly)
References
Details
Attachments
(1 file, 1 obsolete file)
3.20 KB,
patch
|
molly
:
review+
|
Details | Diff | Splinter Review |
[Description:]
Application files extraction directory - /EXTRACT_DIR=[directory]
Extract the application files to the given directory and exit, without actually running the installer. Of course, this means all other options will be ignored.
[Environment:]
Windows 8.1 x64
[STR:]
1. Run Orca.exe
2. File/Open and select the MSI to be edited. (e.g. : https://queue.taskcluster.net/v1/task/AhSb00lJSCiL-o0XJjqPzw/runs/0/artifacts/public/build/target.installer.msi)
3. Find the Property table and select it.
4. For the EXTRACT_DIR modify the value to something like C:\some_random_directory_to_extract and focus away.
5. Save the configured MSI.
6. Run the above configured MSI with: msiexec.exe /i "c:\MSi\EXTRACT_DIR.msi" /lvx "C:\msi\install.log"
[Actual Result:]
Firefox is installed in the default location
[Expected Result:]
Firefox is extracted to the specified location, in the STR case: C:\some_random_directory_to_extract
Assignee | ||
Comment 1•7 years ago
|
||
I see what's wrong here, the custom action for ExtractDir shouldn't have included /S on its command line. I can patch this as soon as bug 1485228 lands.
Assignee: nobody → mhowell
Status: NEW → ASSIGNED
Updated•7 years ago
|
status-firefox65:
--- → affected
Assignee | ||
Updated•7 years ago
|
Priority: -- → P1
Reporter | ||
Updated•7 years ago
|
status-firefox63:
--- → unaffected
status-firefox64:
--- → unaffected
status-firefox-esr60:
--- → unaffected
Assignee | ||
Comment 2•7 years ago
|
||
I still have no idea who I can get to review changes to this file long-term, but this particular patch only touches one of the full installer command line strings, so Adam is qualified.
Attachment #9024043 -
Flags: review?(agashlin)
Comment 3•7 years ago
|
||
Comment on attachment 9024043 [details] [diff] [review]
Patch
Looks like this should fix it in the msi, but it seems like the root issue is that /ExtractDir only works if it is the first switch (possibly after -y) [1]. It could be helpful to note in FullConfig.rst that it should be the only switch.
[1] https://searchfox.org/mozilla-central/rev/a3894a4dcfb5d42f2e6eee6cb9faf7141879ef1a/other-licenses/7zstub/src/CPP/7zip/Bundles/SFXSetup/SfxSetup.cpp#373
Attachment #9024043 -
Flags: review?(agashlin) → review+
Assignee | ||
Comment 4•7 years ago
|
||
Added a note to the documentation as suggested; carrying over r+.
Attachment #9024043 -
Attachment is obsolete: true
Attachment #9024473 -
Flags: review+
Pushed by mhowell@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8aa9b03d67b8
Remove an erroneous parameter that's overriding /ExtractDir in the MSI installer. r=agashlin
Comment 6•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in
before you can comment on or make changes to this bug.
Description
•