mail/installer/windows/nsis/defines.nsi.in
author Neil Rashbrook <neil@parkwaycc.co.uk>
Sun, 06 May 2012 20:43:08 +0100
changeset 12061 b2a30f2ca5e9bf6d94bcd2fe7986f990fd8c0d0e
parent 10770 3d0f34d6e96296aba5160a1522f4faa1f81ffad5
child 12286 84ac3c71109811da751f0ef2d72108075938f094
permissions -rwxr-xr-x
Bug 707305 Make --enable-incomplete-external-linkage work without --with-libxul-sdk r=Callek

#filter substitution

# These defines should match application.ini settings
!define AppName               "Thunderbird"
!define AppVersion            "@MOZ_APP_VERSION@"

!define GREVersion            @MOZILLA_VERSION@
!define AB_CD                 "@AB_CD@"

!define FileMainEXE           "@MOZ_APP_NAME@.exe"
!define WindowClass           "ThunderbirdMessageWindow"

!define AppRegNameMail        "Thunderbird"
!define AppRegNameNews        "Thunderbird (News)"

!define ClientsRegName        "Mozilla Thunderbird"

!define BrandShortName        "@MOZ_APP_DISPLAYNAME@"
!define PreReleaseSuffix      "@PRE_RELEASE_SUFFIX@"
!define BrandFullName         "${BrandFullNameInternal}${PreReleaseSuffix}"

# NO_INSTDIR_FROM_REG is defined for pre-releases which have a PreReleaseSuffix
# (e.g. Alpha X, Beta X, etc.) to prevent finding a non-default installation
# directory in the registry and using that as the default. This prevents
# Beta releases built with official branding from finding an existing install
# of an official release and defaulting to its installation directory.
!if "@PRE_RELEASE_SUFFIX@" != ""
!define NO_INSTDIR_FROM_REG
!endif

# ARCH is used when it is necessary to differentiate the x64 registry keys from
# the x86 registry keys (e.g. the uninstall registry key).
#ifdef HAVE_64BIT_OS
!define HAVE_64BIT_OS
!define ARCH "x64"
!define MinSupportedVer "Microsoft Windows Vista x64"
#else
!define ARCH "x86"
!define MinSupportedVer "Microsoft Windows XP SP2"
#endif