michael@0: #filter substitution michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # Defining FunnelcakeVersion will append the value of StubURLVersionAppend to michael@0: # StubURLVersion, append the value of URLManualDownloadAppend to michael@0: # URLManualDownload, and append the value of URLStubDownloadAppend to michael@0: # URLStubDownload. The value of FunnelcakeVersion should not be defined when it michael@0: # is not used and when it is defined its value should never be empty. michael@0: # !define FunnelcakeVersion "999" michael@0: michael@0: !ifdef FunnelcakeVersion michael@0: !define URLManualDownloadAppend "&f=${FunnelcakeVersion}" michael@0: !define URLStubDownloadAppend "-f${FunnelcakeVersion}" michael@0: !define StubURLVersionAppend "-${FunnelcakeVersion}" michael@0: !else michael@0: !define URLManualDownloadAppend "" michael@0: !define URLStubDownloadAppend "" michael@0: !define StubURLVersionAppend "" michael@0: !endif michael@0: michael@0: # These defines should match application.ini settings michael@0: !define AppName "Firefox" michael@0: !define AppVersion "@APP_VERSION@" michael@0: !define GREVersion @MOZILLA_VERSION@ michael@0: !define AB_CD "@AB_CD@" michael@0: michael@0: !define FileMainEXE "@MOZ_APP_NAME@.exe" michael@0: !define WindowClass "FirefoxMessageWindow" michael@0: !define DDEApplication "Firefox" michael@0: !define AppRegName "Firefox" michael@0: michael@0: !define BrandShortName "@MOZ_APP_DISPLAYNAME@" michael@0: !define BrandFullName "${BrandFullNameInternal}" michael@0: michael@0: !define NO_UNINSTALL_SURVEY michael@0: michael@0: !define CERTIFICATE_NAME "Mozilla Corporation" michael@0: !define CERTIFICATE_ISSUER "DigiCert Assured ID Code Signing CA-1" michael@0: michael@0: # LSP_CATEGORIES is the permitted LSP categories for the application. Each LSP michael@0: # category value is ANDed together to set multiple permitted categories. michael@0: # See http://msdn.microsoft.com/en-us/library/ms742253%28VS.85%29.aspx michael@0: # The value below removes all LSP categories previously set. michael@0: !define LSP_CATEGORIES "0x00000000" michael@0: michael@0: !if "@MOZ_UPDATE_CHANNEL@" == "" michael@0: !define UpdateChannel "Unknown" michael@0: !else michael@0: !define UpdateChannel "@MOZ_UPDATE_CHANNEL@" michael@0: !endif michael@0: michael@0: # Due to official and beta using the same branding this is needed to michael@0: # differentiante between the url used by the stub for downloading. michael@0: !if "@MOZ_UPDATE_CHANNEL@" == "beta" michael@0: !define BETA_UPDATE_CHANNEL michael@0: !endif michael@0: michael@0: !define BaseURLStubPing "http://download-stats.mozilla.org/stub" michael@0: michael@0: # ARCH is used when it is necessary to differentiate the x64 registry keys from michael@0: # the x86 registry keys (e.g. the uninstall registry key). michael@0: #ifdef HAVE_64BIT_OS michael@0: !define HAVE_64BIT_OS michael@0: !define ARCH "x64" michael@0: !define MinSupportedVer "Microsoft Windows Vista x64" michael@0: #else michael@0: !define ARCH "x86" michael@0: !define MinSupportedVer "Microsoft Windows XP SP2" michael@0: #endif michael@0: michael@0: #ifdef MOZ_MAINTENANCE_SERVICE michael@0: !define MOZ_MAINTENANCE_SERVICE michael@0: #endif michael@0: michael@0: #ifdef MOZ_METRO michael@0: !define MOZ_METRO michael@0: #endif michael@0: michael@0: #ifdef MOZ_CONTENT_SANDBOX michael@0: !define MOZ_CONTENT_SANDBOX michael@0: #endif michael@0: michael@0: # File details shared by both the installer and uninstaller michael@0: VIProductVersion "1.0.0.0" michael@0: VIAddVersionKey "ProductName" "${BrandShortName}" michael@0: VIAddVersionKey "CompanyName" "${CompanyName}" michael@0: #ifdef MOZ_OFFICIAL_BRANDING michael@0: VIAddVersionKey "LegalTrademarks" "${BrandShortName} is a Trademark of The Mozilla Foundation." michael@0: #endif michael@0: VIAddVersionKey "LegalCopyright" "${CompanyName}" michael@0: VIAddVersionKey "FileVersion" "${AppVersion}" michael@0: VIAddVersionKey "ProductVersion" "${AppVersion}" michael@0: # Comments is not used but left below commented out for future reference michael@0: # VIAddVersionKey "Comments" "Comments" michael@0: michael@0: # It isn't possible to get the size of the installation prior to downloading michael@0: # so the stub installer uses an estimate. michael@0: !define APPROXIMATE_REQUIRED_SPACE_MB "42.2" michael@0: michael@0: # Control positions in Dialog Units so they are placed correctly with michael@0: # non-default DPI settings michael@0: !define OPTIONS_ITEM_EDGE_DU 90u michael@0: !define OPTIONS_ITEM_WIDTH_DU 356u michael@0: !define OPTIONS_SUBITEM_EDGE_DU 119u michael@0: !define OPTIONS_SUBITEM_WIDTH_DU 327u michael@0: !define INSTALL_BLURB_TOP_DU 78u michael@0: !define APPNAME_BMP_EDGE_DU 19u michael@0: !define APPNAME_BMP_TOP_DU 12u