Done that but I don't remember all the details here is what I do remeber

0. Look at http://www.mozilla.org/projects/xpinstall/win_xpi.html

1. The windows specific install code is located at the
mozilla\xpinstall\wizard\windows directory. I scanned the code in order to
understand exactly how it works.

2. Modify the resource file mozilla\xpinstall\wizard\windows\setup\setup.res
for version information and icon (if you need it)

3. mozilla\xpinstall\wizard\windows\setuprsc\setup.res contains bitmaps and
dialogs which are used in the installer. You will need to modify it for the
dialog which asks whether to install a desktop icon.

4. Edit the mozilla\xpinstall\packager\build\win\mozilla\config.it file. It
is built like a windows INI file, with definitions per each component being
installed.

5. If you add a new component, you should place an installation script at
the mozilla\xpinstall\packager\build\win\mozilla directory with the name
component.JST. This file is probably identical to the installation file in
the stand alone XPI.

This is what I remeber, and probly I missed some things. The difficulty of
doing it depends on your knowledge in how to write dialogs for windows,
perl, C and XPI install stripts. If you have the basic knowledge is not very
difficult, it is JUST complicated.

Mark.

"Brant Langer Gurganus" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> How difficult is it to modify the installation scripts for Windows.  I
> would like to modify them to see if I can get it to meet a few more of
> the 'Designed for XP' critieria.  Among these:
>  * Ask user before putting icon on desktop.
>  * Leave readme and similar stuff out of Start menu.
>  See the Designed for XP specification for more details.
>
> Also, where can I find the scripts I would need to modify and any
> references?
>
> --
> Brant Langer Gurganus
> Default QA Contact, Calendar
> Default QA Contact, Tech Evangelism
>



Reply via email to