Leaked source code of windows server 2003

189 lines
7.9 KiB

  1. #include <windows.h>
  2. #include <commctrl.h>
  3. #include "resource.h"
  4. // Our Non-Localized Type Library
  5. //
  6. 1 TYPELIB "asctrls.tlb"
  7. IDA_FILECOPY AVI MOVEABLE PURE "FILECOPY.AVI"
  8. #include <ntverp.h>
  9. //
  10. #define VER_FILETYPE VFT_DLL
  11. #define VER_FILESUBTYPE VFT2_UNKNOWN
  12. #define VER_FILEDESCRIPTION_STR "Active Setup Controls"
  13. #define VER_INTERNALNAME_STR "asctrls.ocx"
  14. #define VER_ORIGINALFILENAME_STR "asctrls.ocx"
  15. #define VER_FILEOS VOS_NT_WINDOWS32
  16. #include "common.ver"
  17. /////////////////////////////////////////////////////////////////////////////
  18. //
  19. // Dialog
  20. //
  21. IDD_PROGRESS DIALOG DISCARDABLE 0, 0, 249, 165
  22. STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION |
  23. WS_SYSMENU
  24. CAPTION "Internet Explorer Add-on Setup"
  25. FONT 8, "MS Shell Dlg"
  26. BEGIN
  27. PUSHBUTTON "Cancel",IDCANCEL,93,148,44,14
  28. CONTROL "Progress1",IDC_PROG_LITTLE,"msctls_progress32",0x0,8,69,
  29. 221,9
  30. CONTROL "Progress2",IDC_PROG_BIG,"msctls_progress32",0x0,8,119,
  31. 221,9
  32. LTEXT "Initializing setup ...",IDC_PROG_TEXT,8,44,230,8
  33. CONTROL "Animate1",IDC_ANIM,"SysAnimate32",ACS_TRANSPARENT,30,4,
  34. 189,35
  35. LTEXT "Download time remaining:",IDC_LITTLESTATIC,8,82,85,8
  36. LTEXT "Estimating ...",IDC_LITTLETIMELEFT,104,81,93,8
  37. LTEXT "Install progress",IDC_STATIC,8,108,83,8
  38. LTEXT "Download progress",IDC_STATIC,8,59,112,8
  39. LTEXT "Bytes received:",IDC_STATIC,8,93,58,8
  40. LTEXT "0 KB of 0 KB",IDC_BYTESLEFT,104,94,93,8
  41. LTEXT "Percent complete:",IDC_STATIC,8,131,67,8
  42. LTEXT "",IDC_PERCENT,88,131,37,8
  43. END
  44. IDD_LOCATE DIALOG DISCARDABLE 0, 0, 286, 122
  45. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  46. CAPTION "Dialog"
  47. FONT 8, "MS Shell Dlg"
  48. BEGIN
  49. DEFPUSHBUTTON "OK",IDOK,224,8,50,14
  50. PUSHBUTTON "Cancel",IDCANCEL,224,27,50,14
  51. ICON IDI_CD,IDC_STATIC,12,8,20,20
  52. LTEXT "Setup has checked the CD-ROM specified and cannot find the component you are trying to install.",
  53. IDC_TEXT1,44,8,158,25
  54. LTEXT "Please insert '%s' CD-ROM into the drive selected below and click OK.",
  55. IDC_TEXT2,44,43,158,25
  56. COMBOBOX IDC_LOCATIONLIST,43,81,164,100,CBS_DROPDOWN |CBS_AUTOHSCROLL | WS_TABSTOP
  57. PUSHBUTTON "Browse...",IDC_BROWSE,224,80,50,14
  58. END
  59. IDD_DISKSPACE DIALOG DISCARDABLE 0, 0, 215, 106
  60. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  61. CAPTION "Not enough disk space"
  62. FONT 8, "MS Shell Dlg"
  63. BEGIN
  64. DEFPUSHBUTTON "OK",IDOK,45,85,50,14
  65. PUSHBUTTON "Cancel",IDCANCEL,110,85,50,14
  66. LTEXT "There is not enough disk space to complete the installation.",
  67. IDC_STATIC,7,7,201,11
  68. LTEXT "You need to have 100000 KB free on drive C.",IDC_SPACE1,
  69. 7,20,201,8
  70. LTEXT "You need to have 100000 KB free on drive C.",IDC_SPACE2,
  71. 7,33,201,8
  72. LTEXT "You need to have 100000 KB free on drive C.",IDC_SPACE3,
  73. 7,47,201,8
  74. LTEXT "Please free up the required amount of free space and click OK to continue.",
  75. IDC_STATIC,7,60,201,22
  76. END
  77. /////////////////////////////////////////////////////////////////////////////
  78. //
  79. // Dialog
  80. //
  81. IDD_SITELIST DIALOG DISCARDABLE 0, 0, 249, 162
  82. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  83. CAPTION "Select download site"
  84. FONT 8, "MS Shell Dlg"
  85. BEGIN
  86. DEFPUSHBUTTON "OK",IDOK,97,141,50,14
  87. COMBOBOX IDC_REGIONS,7,42,230,59,CBS_DROPDOWNLIST | CBS_SORT |
  88. WS_VSCROLL | WS_TABSTOP
  89. LISTBOX IDC_SITES,7,73,230,58,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  90. WS_VSCROLL | WS_TABSTOP
  91. LTEXT "Please select a download site closest to your location. You can select different regions to find a site nearest you.",
  92. IDC_STATIC,7,7,230,21,NOT WS_GROUP
  93. LTEXT "Region",-1,7,30,24,8
  94. LTEXT "Site",-1,7,63,13,8
  95. END
  96. /////////////////////////////////////////////////////////////////////////////
  97. //
  98. // String Table
  99. //
  100. STRINGTABLE DISCARDABLE
  101. BEGIN
  102. IDS_DOWNLOADING "Downloading %s..."
  103. IDS_INSTALLING "Installing %s..."
  104. IDS_EXTRACTING "Extracting %s..."
  105. IDS_CHECKTRUST "Verifying trust for %s..."
  106. IDS_TITLE "Setup"
  107. IDS_FINISH_TITLE "Install Complete"
  108. IDS_INSTALLCANCELLED "Installation has been cancelled by the user."
  109. IDS_ERRDOINGINSTALL "Already installing.\n\nPlease wait until current installation has finished."
  110. IDS_REBOOT "You must restart Windows so that installation can finish.\n\nDo you want to restart now?"
  111. IDS_PREPARE "Preparing to install %s"
  112. IDS_NOPHASE "%s"
  113. IDS_ERRGENERAL "An unknown error occurred during installation."
  114. IDS_ERRPREPARE "%s - Not enough disk space.\n"
  115. IDS_CDNOTFOUND "Setup has checked the CD-ROM specified and cannot find the component you are trying to install."
  116. IDS_CDPLEASEINSERT "Please insert '%s' CD-ROM into the drive selected below and click OK."
  117. IDS_NETWORKNOTFOUND "Setup has checked the network location specified and cannot find the component you are trying to install."
  118. IDS_NETWORKPLEASEFIND "Type the path to '%s' below and then click OK."
  119. IDS_FINDFOLDER "Please locate the folder where '%s' can be found."
  120. IDS_INTERNET "The Internet"
  121. IDS_NOTVALIDLOCATION "Incorrect setup path. Please type in the correct path for 'Internet Explorer 6'."
  122. IDS_NOTVALIDLOCATIONTITLE "Incorrect path"
  123. END
  124. STRINGTABLE DISCARDABLE
  125. BEGIN
  126. IDS_ERRDOWNLOAD "%s - Error downloading component.\n"
  127. IDS_ERREXTRACTING "%s - Error extracting files.\n"
  128. IDS_ERRINSTALLING "%s - Error installing component.\n"
  129. IDS_ERRNOTTRUSTED "%s - Error verifying trust.\n"
  130. IDS_ERRUNKNOWN "%s - Unknown error.\n"
  131. IDS_SUCCEEDED "%s - Succeeded.\n"
  132. IDS_ERRDEPENDENCY "%s - Error installing dependency.\n"
  133. IDS_SUMMARYHEADING "Installation summary:\n\n"
  134. IDS_HOURSLEFT "%lu hours"
  135. IDS_HOURLEFT "%lu hour"
  136. IDS_HOURSMINUTELEFT "%lu hours and %lu minute"
  137. IDS_HOURMINUTELEFT "%lu hour and %lu minute"
  138. IDS_HOURSMINUTESLEFT "%lu hours and %lu minutes"
  139. IDS_HOURMINUTESLEFT "%lu hour and %lu minutes"
  140. IDS_MINUTESLEFT "%lu minutes"
  141. IDS_SECONDSLEFT "< 1 minute"
  142. IDS_TIMEUNKNOWN "Estimating ..."
  143. IDS_KBYTES "%d KB of %d KB"
  144. IDS_PERCENT "%2d%%"
  145. IDS_GROVELMESSAGE "This program can determine what components are installed on your computer, and whether new components, upgrades, or enhancements are available, specific to your computer. This check is done without sending any information to Microsoft.\n\nWould you like to check now?"
  146. IDS_CONFIRMCANCEL "Are you sure you want to exit Setup?"
  147. IDS_CONFIRMCANCEL_UNSAFE "Setup cannot cancel at this time. Canceling setup now would\nleave the machine in an unstable state. Setup will cancel when in\na safe state. \n\nAre you sure you want to exit Setup?"
  148. IDS_DISKSPACE "You need to have %1!ld! KB free on drive %2!c!."
  149. END
  150. /////////////////////////////////////////////////////////////////////////////
  151. //
  152. // Icon
  153. //
  154. // Icon with lowest ID value placed first to ensure application icon
  155. // remains consistent on all systems.
  156. IDI_INSTALLENGINE ICON DISCARDABLE "icon1.ico"
  157. IDI_CD ICON DISCARDABLE "drivecd.ico"