Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

189 lines
7.9 KiB

#include <windows.h>
#include <commctrl.h>
#include "resource.h"
// Our Non-Localized Type Library
//
1 TYPELIB "asctrls.tlb"
IDA_FILECOPY AVI MOVEABLE PURE "FILECOPY.AVI"
#include <ntverp.h>
//
#define VER_FILETYPE VFT_DLL
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Active Setup Controls"
#define VER_INTERNALNAME_STR "asctrls.ocx"
#define VER_ORIGINALFILENAME_STR "asctrls.ocx"
#define VER_FILEOS VOS_NT_WINDOWS32
#include "common.ver"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_PROGRESS DIALOG DISCARDABLE 0, 0, 249, 165
STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "Internet Explorer Add-on Setup"
FONT 8, "MS Shell Dlg"
BEGIN
PUSHBUTTON "Cancel",IDCANCEL,93,148,44,14
CONTROL "Progress1",IDC_PROG_LITTLE,"msctls_progress32",0x0,8,69,
221,9
CONTROL "Progress2",IDC_PROG_BIG,"msctls_progress32",0x0,8,119,
221,9
LTEXT "Initializing setup ...",IDC_PROG_TEXT,8,44,230,8
CONTROL "Animate1",IDC_ANIM,"SysAnimate32",ACS_TRANSPARENT,30,4,
189,35
LTEXT "Download time remaining:",IDC_LITTLESTATIC,8,82,85,8
LTEXT "Estimating ...",IDC_LITTLETIMELEFT,104,81,93,8
LTEXT "Install progress",IDC_STATIC,8,108,83,8
LTEXT "Download progress",IDC_STATIC,8,59,112,8
LTEXT "Bytes received:",IDC_STATIC,8,93,58,8
LTEXT "0 KB of 0 KB",IDC_BYTESLEFT,104,94,93,8
LTEXT "Percent complete:",IDC_STATIC,8,131,67,8
LTEXT "",IDC_PERCENT,88,131,37,8
END
IDD_LOCATE DIALOG DISCARDABLE 0, 0, 286, 122
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,224,8,50,14
PUSHBUTTON "Cancel",IDCANCEL,224,27,50,14
ICON IDI_CD,IDC_STATIC,12,8,20,20
LTEXT "Setup has checked the CD-ROM specified and cannot find the component you are trying to install.",
IDC_TEXT1,44,8,158,25
LTEXT "Please insert '%s' CD-ROM into the drive selected below and click OK.",
IDC_TEXT2,44,43,158,25
COMBOBOX IDC_LOCATIONLIST,43,81,164,100,CBS_DROPDOWN |CBS_AUTOHSCROLL | WS_TABSTOP
PUSHBUTTON "Browse...",IDC_BROWSE,224,80,50,14
END
IDD_DISKSPACE DIALOG DISCARDABLE 0, 0, 215, 106
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Not enough disk space"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,45,85,50,14
PUSHBUTTON "Cancel",IDCANCEL,110,85,50,14
LTEXT "There is not enough disk space to complete the installation.",
IDC_STATIC,7,7,201,11
LTEXT "You need to have 100000 KB free on drive C.",IDC_SPACE1,
7,20,201,8
LTEXT "You need to have 100000 KB free on drive C.",IDC_SPACE2,
7,33,201,8
LTEXT "You need to have 100000 KB free on drive C.",IDC_SPACE3,
7,47,201,8
LTEXT "Please free up the required amount of free space and click OK to continue.",
IDC_STATIC,7,60,201,22
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SITELIST DIALOG DISCARDABLE 0, 0, 249, 162
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Select download site"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,97,141,50,14
COMBOBOX IDC_REGIONS,7,42,230,59,CBS_DROPDOWNLIST | CBS_SORT |
WS_VSCROLL | WS_TABSTOP
LISTBOX IDC_SITES,7,73,230,58,LBS_SORT | LBS_NOINTEGRALHEIGHT |
WS_VSCROLL | WS_TABSTOP
LTEXT "Please select a download site closest to your location. You can select different regions to find a site nearest you.",
IDC_STATIC,7,7,230,21,NOT WS_GROUP
LTEXT "Region",-1,7,30,24,8
LTEXT "Site",-1,7,63,13,8
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_DOWNLOADING "Downloading %s..."
IDS_INSTALLING "Installing %s..."
IDS_EXTRACTING "Extracting %s..."
IDS_CHECKTRUST "Verifying trust for %s..."
IDS_TITLE "Setup"
IDS_FINISH_TITLE "Install Complete"
IDS_INSTALLCANCELLED "Installation has been cancelled by the user."
IDS_ERRDOINGINSTALL "Already installing.\n\nPlease wait until current installation has finished."
IDS_REBOOT "You must restart Windows so that installation can finish.\n\nDo you want to restart now?"
IDS_PREPARE "Preparing to install %s"
IDS_NOPHASE "%s"
IDS_ERRGENERAL "An unknown error occurred during installation."
IDS_ERRPREPARE "%s - Not enough disk space.\n"
IDS_CDNOTFOUND "Setup has checked the CD-ROM specified and cannot find the component you are trying to install."
IDS_CDPLEASEINSERT "Please insert '%s' CD-ROM into the drive selected below and click OK."
IDS_NETWORKNOTFOUND "Setup has checked the network location specified and cannot find the component you are trying to install."
IDS_NETWORKPLEASEFIND "Type the path to '%s' below and then click OK."
IDS_FINDFOLDER "Please locate the folder where '%s' can be found."
IDS_INTERNET "The Internet"
IDS_NOTVALIDLOCATION "Incorrect setup path. Please type in the correct path for 'Internet Explorer 6'."
IDS_NOTVALIDLOCATIONTITLE "Incorrect path"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_ERRDOWNLOAD "%s - Error downloading component.\n"
IDS_ERREXTRACTING "%s - Error extracting files.\n"
IDS_ERRINSTALLING "%s - Error installing component.\n"
IDS_ERRNOTTRUSTED "%s - Error verifying trust.\n"
IDS_ERRUNKNOWN "%s - Unknown error.\n"
IDS_SUCCEEDED "%s - Succeeded.\n"
IDS_ERRDEPENDENCY "%s - Error installing dependency.\n"
IDS_SUMMARYHEADING "Installation summary:\n\n"
IDS_HOURSLEFT "%lu hours"
IDS_HOURLEFT "%lu hour"
IDS_HOURSMINUTELEFT "%lu hours and %lu minute"
IDS_HOURMINUTELEFT "%lu hour and %lu minute"
IDS_HOURSMINUTESLEFT "%lu hours and %lu minutes"
IDS_HOURMINUTESLEFT "%lu hour and %lu minutes"
IDS_MINUTESLEFT "%lu minutes"
IDS_SECONDSLEFT "< 1 minute"
IDS_TIMEUNKNOWN "Estimating ..."
IDS_KBYTES "%d KB of %d KB"
IDS_PERCENT "%2d%%"
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?"
IDS_CONFIRMCANCEL "Are you sure you want to exit Setup?"
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?"
IDS_DISKSPACE "You need to have %1!ld! KB free on drive %2!c!."
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_INSTALLENGINE ICON DISCARDABLE "icon1.ico"
IDI_CD ICON DISCARDABLE "drivecd.ico"