Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

100 lines
4.9 KiB

/*++
Copyright (c) 1999 Microsoft Corporation
Module Name:
sfc.rc
Abstract:
Resource script.
Author:
Wesley Witt (wesw) 18-Dec-1998
Revision History:
--*/
#include <windows.h>
#include <ntverp.h>
#include "resource.h"
IDI_CDROM ICON DISCARDABLE "cdrom.ico"
IDI_NETWORK ICON DISCARDABLE "network.ico"
STRINGTABLE
BEGIN
IDS_TITLE "Windows File Protection"
IDS_ERROR_TITLE "Windows File Protection Error"
IDS_PROTDLL_DISABLED "Warning! Windows File Protection is not active on this system. Would you like to enable Windows File Protection now? This will enable Windows File Protection until the next system restart."
IDS_CANCEL_CONFIRM "You chose not to restore the original versions of the files. This may affect Windows stability.\nAre you sure you want to keep these unrecognized file versions?"
IDS_CANCEL_CONFIRM_INSTALL "If you cancel now, Setup might not complete. Are you sure you want to cancel?"
IDS_CANCEL_CONFIRM_CACHE "If you cancel, Windows might require you to insert a CD later. Are you sure you want to skip this file?"
IDS_FILE_CHANGE "%ws"
IDS_WRONG_CD "The CD you provided is the wrong CD.\nPlease insert the %ws into your CD-ROM drive."
IDS_WRONG_NETCD "The network installation location is not available or the CD you provided is the wrong CD.\nPlease check your network settings or insert the %ws into your CD-ROM drive."
IDS_MORE_INFORMATION_CD "Possible reasons for this problem:\n• You have inserted the wrong CD. (i.e., a different Windows product CD than the version installed)\n• The CD-ROM drive in your system is not functioning."
IDS_MORE_INFORMATION_NET "Possible reasons for this problem:\n• The path is unavailable due to network problems.\n• The server sharing that path is unavailable or has been renamed.\n• The necessary permissions have not been set on the server shares. For WFP to access network-based installation shares, the group Authenticated Users must have Read access to the share."
IDS_UNKNOWN "unknown"
IDS_RESTORE_TEXT "Files that are required for Windows to run properly have been replaced by unrecognized versions. To maintain system stability, Windows must restore the original versions of these files."
IDS_CACHE_TEXT "Files that are required for Windows to run properly must be copied to the DLL Cache."
IDS_INSTALL_PROTECTED_TEXT "Windows files must be installed for your installation to proceed."
END
IDD_PROGRESS DIALOG DISCARDABLE 0, 0, 250, 58
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Windows File Protection"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Progress1",IDC_PROGRESS,"msctls_progress32",PBS_SMOOTH,
7,37,179,8
LTEXT "Please wait while Windows verifies that all protected Windows files are intact and in their original versions.",
IDC_STATIC,7,7,235,19
DEFPUSHBUTTON "Cancel",IDCANCEL,192,37,50,14
END
IDD_SFC_CD_PROMPT DIALOG DISCARDABLE 0, 0, 250, 84
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Windows File Protection"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_CDROM,IDC_STATIC,7,7,20,20
LTEXT "Placeholder",
IDC_PROMPT_TEXT,32,7,211,28
LTEXT "Insert your %s now.",
IDC_MEDIA_NAME,32,43,211,9
DEFPUSHBUTTON "&Retry",IDC_RETRY,64,63,50,14
PUSHBUTTON "&More Information",IDC_INFO,120,63,67,14
PUSHBUTTON "Cancel",IDCANCEL,193,63,50,14
END
IDD_SFC_NETWORK_PROMPT DIALOG DISCARDABLE 0, 0, 250, 106
STYLE DS_MODALFRAME | DS_SETFOREGROUND | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Windows File Protection"
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_NETWORK,IDC_STATIC,7,7,21,20
LTEXT "Placeholder",
IDC_PROMPT_TEXT,35,7,208,29
LTEXT "The network location from which the files should be copied, %ws, is not available.",
IDC_NET_NAME,35,37,208,19
LTEXT "Contact your system administrator or insert %s now.",
IDC_MEDIA_NAME,35,60,208,20
DEFPUSHBUTTON "&Retry",IDC_RETRY,64,85,50,14
PUSHBUTTON "&More Information",IDC_INFO,120,85,67,14
PUSHBUTTON "Cancel",IDCANCEL,193,85,50,14
END
#define VER_FILETYPE VFT_APP
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Windows File Protection"
#define VER_INTERNALNAME_STR "sfc.dll"
#define VER_ORIGINALFILENAME_STR "sfc.dll"
#include "common.ver"
RCINCLUDE msg.rc