firefox.mm
Go to the documentation of this file.
1 ;--- Include MAKEMSI support ------------------------------------------------
2 #include "firefox.mmh"
3 
4 <$AbortIf Condition=^not VersionNT OR (VersionNT < 400)^ Message=^Can only be installed on WinNT, Windows 2000, XP or greater.^>
5 
6 <$DirectoryTree Key="INSTALLDIR" DIR="[ProgramFilesFolder]\Mozilla Firefox Installer" CHANGE="\" PrimaryFolder="Y">
7 
8 <$Feature "F_FirefoxMain" Title="Browser" Description="Firefox installer files" Attributes="FavorLocal">
9 
10  <$Icon KEY="@Firefoxicon" "..\branding\firefox.ico">
11 
12  <$Files "..\install\setup\*.*" SubDir="TREE" DestDir="INSTALLDIR" EXLIST="NotThese">
13  <$Files "..\install\xpi\*.*" SubDir="TREE" DestDir="INSTALLDIR" EXLIST="NotThese">
14 
15  #(
16  <$ExeCA
17  EXE="[INSTALLDIR]setup.exe"
18  Args="-ms -nosplash -setDefaultBrowser"
19  Seq="6401" ;; Run this between PublishProduct and InstallFinalize
20  Type="AnyRC"
21  >
22  #)
23 <$/Feature>
24 
25 ; fix dialog picture and make it pretty
26 <$Table "Control">
27  #(
28  <$Row
29  @Where="Control = 'Bitmap'"
30  @OK="=8"
31  Attributes="1048577"
32  >
33  #)
34 <$/Table>
Element Attributes
function setup()
var dialog
Definition: openLocation.js:43
var Browser
<$ExeCA EXE="[INSTALLDIR]setup.exe"Args="-ms -nosplash -setDefaultBrowser"Seq="6401";;Run this between PublishProduct and InstallFinalize Type="AnyRC" ># Feature()