toolkit/mozapps/update/updater/updater.rc

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* This Source Code Form is subject to the terms of the Mozilla Public
     2  * License, v. 2.0. If a copy of the MPL was not distributed with this
     3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     5 // Microsoft Visual C++ generated resource script.
     6 //
     7 #include "resource.h"
     9 #define APSTUDIO_READONLY_SYMBOLS
    10 /////////////////////////////////////////////////////////////////////////////
    11 //
    12 // Generated from the TEXTINCLUDE 2 resource.
    13 //
    14 #include "winresrc.h"
    16 /////////////////////////////////////////////////////////////////////////////
    17 #undef APSTUDIO_READONLY_SYMBOLS
    19 /////////////////////////////////////////////////////////////////////////////
    20 // English (U.S.) resources
    22 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
    23 #ifdef _WIN32
    24 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
    25 #pragma code_page(1252)
    26 #endif //_WIN32
    28 /////////////////////////////////////////////////////////////////////////////
    29 //
    30 // RT_MANIFEST
    31 //
    33 1                       RT_MANIFEST             "updater.exe.manifest"
    35 /////////////////////////////////////////////////////////////////////////////
    36 //
    37 // Icon
    38 //
    40 IDI_DIALOG ICON "updater.ico"
    43 /////////////////////////////////////////////////////////////////////////////
    44 //
    45 // Embedded certificates for allowed MARs
    46 //
    48 #if defined(MAR_SIGNING_RELEASE_BETA)
    49 IDR_PRIMARY_CERT TYPE_CERT "release_primary.der"
    50 IDR_BACKUP_CERT TYPE_CERT  "release_secondary.der"
    51 #elif defined(MAR_SIGNING_AURORA_NIGHTLY)
    52 IDR_PRIMARY_CERT TYPE_CERT "nightly_aurora_level3_primary.der"
    53 IDR_BACKUP_CERT TYPE_CERT  "nightly_aurora_level3_secondary.der"
    54 #else
    55 IDR_PRIMARY_CERT TYPE_CERT "dep1.der"
    56 IDR_BACKUP_CERT TYPE_CERT  "dep2.der"
    57 #endif
    59 IDR_XPCSHELL_CERT TYPE_CERT "xpcshellCertificate.der"
    62 /////////////////////////////////////////////////////////////////////////////
    63 //
    64 // Embedded an identifier to uniquely identiy this as a Mozilla updater.
    65 //
    67 STRINGTABLE
    68 {
    69   IDS_UPDATER_IDENTITY, "moz-updater.exe-4cdccec4-5ee0-4a06-9817-4cd899a9db49"
    70 } 
    73 /////////////////////////////////////////////////////////////////////////////
    74 //
    75 // Dialog
    76 //
    78 IDD_DIALOG DIALOGEX 0, 0, 253, 41
    79 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION
    80 FONT 8, "MS Shell Dlg", 400, 0, 0x1
    81 BEGIN
    82     CONTROL         "",IDC_PROGRESS,"msctls_progress32",WS_BORDER,7,24,239,10
    83     LTEXT           "",IDC_INFO,7,8,239,13,SS_NOPREFIX
    84 END
    87 /////////////////////////////////////////////////////////////////////////////
    88 //
    89 // DESIGNINFO
    90 //
    92 #ifdef APSTUDIO_INVOKED
    93 GUIDELINES DESIGNINFO 
    94 BEGIN
    95     IDD_DIALOG, DIALOG
    96     BEGIN
    97         LEFTMARGIN, 7
    98         RIGHTMARGIN, 246
    99         TOPMARGIN, 7
   100         BOTTOMMARGIN, 39
   101     END
   102 END
   103 #endif    // APSTUDIO_INVOKED
   106 #ifdef APSTUDIO_INVOKED
   107 /////////////////////////////////////////////////////////////////////////////
   108 //
   109 // TEXTINCLUDE
   110 //
   112 1 TEXTINCLUDE 
   113 BEGIN
   114     "resource.h\0"
   115 END
   117 2 TEXTINCLUDE 
   118 BEGIN
   119     "#include ""winresrc.h""\r\n"
   120     "\0"
   121 END
   123 3 TEXTINCLUDE 
   124 BEGIN
   125     "\r\n"
   126     "\0"
   127 END
   129 #endif    // APSTUDIO_INVOKED
   131 #endif    // English (U.S.) resources
   132 /////////////////////////////////////////////////////////////////////////////
   136 #ifndef APSTUDIO_INVOKED
   137 /////////////////////////////////////////////////////////////////////////////
   138 //
   139 // Generated from the TEXTINCLUDE 3 resource.
   140 //
   143 /////////////////////////////////////////////////////////////////////////////
   144 #endif    // not APSTUDIO_INVOKED

mercurial