Closed
Bug 342407
Opened 19 years ago
Closed 19 years ago
Freshen installer to new NSIS code
Categories
(Calendar :: General, defect, P4)
Tracking
(Not tracked)
VERIFIED
FIXED
Sunbird 0.3
People
(Reporter: mattwillis, Assigned: robert.strong.bugs)
Details
Attachments
(6 files, 4 obsolete files)
150.92 KB,
image/bmp
|
Details | |
25.21 KB,
image/bmp
|
Details | |
25.21 KB,
image/bmp
|
Details | |
97.50 KB,
application/octet-stream
|
Details | |
6.33 KB,
text/plain
|
Details | |
82.78 KB,
patch
|
mattwillis
:
first-review+
|
Details | Diff | Splinter Review |
rob_strong has been doing lots of work on the installer for Ff. We should take advantage of it too.
Reporter | ||
Updated•19 years ago
|
Flags: blocking0.3+
Priority: -- → P4
Comment 1•19 years ago
|
||
Let's wait til triage meetings to actually set 0.3blocking to +
Flags: blocking0.3+ → blocking0.3?
Comment 2•19 years ago
|
||
See the following bugs for work that had to be done for other products (Maybe we can learn from them):
Bug 339061 - Firefox NSIS installer
Bug 339135 - Thunderbird NSIS installer
OS: All → Windows XP
Assignee | ||
Comment 3•19 years ago
|
||
I should probably have a patch sometime this weekend for this.
Assignee: nobody → robert.bugzilla
Assignee | ||
Comment 4•19 years ago
|
||
Assignee | ||
Comment 5•19 years ago
|
||
Assignee | ||
Comment 6•19 years ago
|
||
Assignee | ||
Comment 7•19 years ago
|
||
This will need to be located in other-licenses/7zstub/sunbird
Assignee | ||
Comment 8•19 years ago
|
||
I'm not sure who would be best to review this and even after this there is still more to be done for Sunbird to handle files passed to the exe.
Besides applying the patch and placing the 7-zip stub in the correct location you will need both 7-Zip and NSIS installed and in your path. After Sunbird has finished compiling you can make installer in the objdir/calendar/installer to make an installer. The finished installer will be located in objdir/dist/install/sea/
Attachment #226908 -
Flags: first-review?(mattwillis)
Updated•19 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 9•19 years ago
|
||
I forgot to include the changes to packages-static in the first patch. I'm not sure what is and what is not needed so I included just about everything from objdir/dist/bin
Attachment #226909 -
Flags: first-review?(mattwillis)
Comment 10•19 years ago
|
||
Comment on attachment 226908 [details] [diff] [review]
patch
s/Sunbord/Sunbird/ in a few comments
Assignee | ||
Comment 11•19 years ago
|
||
That's just incentive to get command line handling of files working... or if it is working to let me know what the command line is. :P
Reporter | ||
Comment 12•19 years ago
|
||
Rob,
It appears we're missing /m/c/installer/windows/nsis/SetProgramAccess.nsi
as my test build fails looking for that.
I'm not sure what changes need to be made from the Ff or Tb one. Could you attach one for Sunbird?
Assignee | ||
Comment 13•19 years ago
|
||
It isn't needed for Calendar as far as I can tell so remove the following from calendar/installer/windows/Makefile.in
+INSTALLER_FILES = \
The method to set a default browser requires the app set several settings while for other apps they are defined in the Clients reg key... see the code that is commented out in installer.nsi
Assignee | ||
Comment 14•19 years ago
|
||
bah! I didn't copy the right line. remove the following
+ nsis/SetProgramAccess.nsi \
Assignee | ||
Updated•19 years ago
|
Attachment #226908 -
Attachment is obsolete: true
Attachment #226908 -
Flags: first-review?(mattwillis)
Assignee | ||
Updated•19 years ago
|
Attachment #226909 -
Flags: first-review?(mattwillis)
Assignee | ||
Comment 15•19 years ago
|
||
Attachment #226909 -
Attachment is obsolete: true
Reporter | ||
Comment 16•19 years ago
|
||
License to use instead of Firefox's
Assignee | ||
Comment 17•19 years ago
|
||
btw: there is a typo in other-licenses/branding/sunbird/Makefile.in
+ cp $(srcdir)/wizWatermark.bmp $(DIST)/branding/Watermrk.bmp
should be
+ cp $(srcdir)/wizWatermark.bmp $(DIST)/branding/Watermark.bmp
Shouldn't affect compiling since Sunbird doesn't have the official branding env var iird
Assignee | ||
Comment 18•19 years ago
|
||
This should be good to go... crosses fingers
Attachment #227022 -
Attachment is obsolete: true
Attachment #227030 -
Flags: first-review?(mattwillis)
Reporter | ||
Comment 19•19 years ago
|
||
> Created an attachment (id=227030) [edit]
Index: calendar/installer/windows/packages-static
===================================================================
-; Package file for Win32 static Sunbird build.
+; Package file for Win32 static Firefox build.
This line shouldn't change.
Some of the lines that you added don't exist in the build, or they're referring to items that are removed in removed-files.in. I'm seeing the following errors when I try building:
Warning: package error or possible missing or unnecessary file: bin/Microsoft.VC80.CRT.manifest (packages-static, 35).
Warning: package error or possible missing or unnecessary file: bin/msvcm80.dll (packages-static, 36).
Warning: package error or possible missing or unnecessary file: bin/msvcp80.dll (packages-static, 37).
Warning: package error or possible missing or unnecessary file: bin/msvcr80.dll (packages-static, 38).
Warning: package error or possible missing or unnecessary file: bin/AccessibleMarshal.dll (packages-static, 49).
Warning: package error or possible missing or unnecessary file: bin/components/accessibility-msaa.xpt (packages-static, 50).
Warning: package error or possible missing or unnecessary file: bin/components/accessibility.xpt (packages-static, 51).
Warning: package error or possible missing or unnecessary file: bin/components/nsBackgroundUpdateService.js (packages-static, 192).
Warning: package error or possible missing or unnecessary file: bin/res/platform-forms.css (packages-static, 248).
Warning: package error or possible missing or unnecessary file: bin/res/EditorOverride.css (packages-static, 249).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-column-after-active.gif (packages-static, 250).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-column-after-hover.gif (packages-static, 251).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-column-after.gif (packages-static, 252).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-column-before-active.gif (packages-static, 253).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-column-before-hover.gif (packages-static, 254).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-column-before.gif (packages-static, 255).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-after-active.gif (packages-static, 256).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-after-hover.gif (packages-static, 257).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-after.gif (packages-static, 258).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-before-active.gif (packages-static, 259).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-before-hover.gif (packages-static, 260).
Warning: package error or possible missing or unnecessary file: bin/res/table-add-row-before.gif (packages-static, 261).
Warning: package error or possible missing or unnecessary file: bin/res/table-remove-column-active.gif (packages-static, 262).
Warning: package error or possible missing or unnecessary file: bin/res/table-remove-column-hover.gif (packages-static, 263).
Warning: package error or possible missing or unnecessary file: bin/res/table-remove-column.gif (packages-static, 264).
Warning: package error or possible missing or unnecessary file: bin/res/table-remove-row-active.gif (packages-static, 265).
Warning: package error or possible missing or unnecessary file: bin/res/table-remove-row-hover.gif (packages-static, 266).
Warning: package error or possible missing or unnecessary file: bin/res/table-remove-row.gif (packages-static, 267).
Warning: package error or possible missing or unnecessary file: bin/res/grabber.gif (packages-static, 269).
Warning: package error or possible missing or unnecessary file: bin/res/mathml.css (packages-static, 271).
Index: calendar/installer/windows/Makefile.in
===================================================================
+ cp $(topsrcdir)/browser/EULA instgen/license.txt
Please add the attached EULA as /mozilla/calendar/EULA.txt and use that here. We don't necessarily have browser/EULA checked out when we build Sunbird, and we shouldn't use Firefox's anyway.
Assignee | ||
Comment 20•19 years ago
|
||
Thanks lilmatt, what about the vc 8 c runtime files when building from the trunk?
Comment 21•19 years ago
|
||
(In reply to comment #20)
> Thanks lilmatt, what about the vc 8 c runtime files when building from the
> trunk?
This files are required for Sunbird and should be included in the installer too. (See also Bug 342699.)
Reporter | ||
Comment 22•19 years ago
|
||
(In reply to comment #20)
> Thanks lilmatt, what about the vc 8 c runtime files when building from the
> trunk?
As Stefan mentioned, apparently we need those too. I just wasn't setting the environment variable to have them added on build.
Since you're doing such an overhaul to packages-static, could you also remove the remaining ";!4sunbird " lines as well?
Assignee | ||
Comment 23•19 years ago
|
||
(In reply to comment #19)
> -; Package file for Win32 static Sunbird build.
> +; Package file for Win32 static Firefox build.
oops and fixed.
> Warning: package error or possible missing or unnecessary file:
> bin/AccessibleMarshal.dll (packages-static, 49).
> Warning: package error or possible missing or unnecessary file:
> bin/components/accessibility-msaa.xpt (packages-static, 50).
> Warning: package error or possible missing or unnecessary file:
> bin/components/accessibility.xpt (packages-static, 51).
These are available in my trunk build
> Warning: package error or possible missing or unnecessary file:
> bin/components/nsBackgroundUpdateService.js (packages-static, 192).
> Warning: package error or possible missing or unnecessary file:
> bin/res/platform-forms.css (packages-static, 248).
> Warning: package error or possible missing or unnecessary file:
> bin/res/EditorOverride.css (packages-static, 249).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-column-after-active.gif (packages-static, 250).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-column-after-hover.gif (packages-static, 251).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-column-after.gif (packages-static, 252).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-column-before-active.gif (packages-static, 253).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-column-before-hover.gif (packages-static, 254).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-column-before.gif (packages-static, 255).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-row-after-active.gif (packages-static, 256).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-row-after-hover.gif (packages-static, 257).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-row-after.gif (packages-static, 258).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-row-before-active.gif (packages-static, 259).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-row-before-hover.gif (packages-static, 260).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-add-row-before.gif (packages-static, 261).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-remove-column-active.gif (packages-static, 262).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-remove-column-hover.gif (packages-static, 263).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-remove-column.gif (packages-static, 264).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-remove-row-active.gif (packages-static, 265).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-remove-row-hover.gif (packages-static, 266).
> Warning: package error or possible missing or unnecessary file:
> bin/res/table-remove-row.gif (packages-static, 267).
> Warning: package error or possible missing or unnecessary file:
> bin/res/grabber.gif (packages-static, 269).
> Warning: package error or possible missing or unnecessary file:
> bin/res/mathml.css (packages-static, 271).
Removed
> Index: calendar/installer/windows/Makefile.in
> ===================================================================
>
> + cp $(topsrcdir)/browser/EULA instgen/license.txt
>
> Please add the attached EULA as /mozilla/calendar/EULA.txt and use that here.
> We don't necessarily have browser/EULA checked out when we build Sunbird, and
> we shouldn't use Firefox's anyway.
Fixed
Assignee | ||
Comment 24•19 years ago
|
||
I left the accessibility files in packages-static since they built for me on trunk and included the EULA.txt in this patch.
Attachment #227030 -
Attachment is obsolete: true
Attachment #227113 -
Flags: first-review?(mattwillis)
Attachment #227030 -
Flags: first-review?(mattwillis)
Reporter | ||
Updated•19 years ago
|
Attachment #227113 -
Flags: first-review?(mattwillis) → first-review+
Reporter | ||
Comment 25•19 years ago
|
||
Please check in the 3 bitmaps to both
/mozilla/other-licenses/branding/sunbird
and
/mozilla/calendar/installer/windows
We'll eventually replace the latter with a generic image once we split branding
Assignee | ||
Comment 26•19 years ago
|
||
Checked in on trunk. I'm going to wait on the 1.8.1 tree to go green before checking in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 27•19 years ago
|
||
Checked in to the MOZILLA_1_8_BRANCH
Assignee | ||
Updated•19 years ago
|
Flags: blocking0.3?
Reporter | ||
Updated•19 years ago
|
Status: RESOLVED → VERIFIED
Comment 28•18 years ago
|
||
Mass move of all Installer bugs to General per ctalbert.
Component: Installer → General
Comment 29•18 years ago
|
||
The bugspam monkeys have been set free and are feeding on Calendar :: General. Be afraid for your sanity!
QA Contact: installer → general
You need to log in
before you can comment on or make changes to this bug.
Description
•