344 lines
19 KiB
Plaintext
344 lines
19 KiB
Plaintext
#include <windows.h>
|
|
#include <commctrl.h>
|
|
#include "rc_ids.h"
|
|
|
|
//
|
|
// Icon resources.
|
|
//
|
|
ICON_DISPLAY ICON DISCARDABLE "resource\\DISPLAY.ICO"
|
|
ICON_MOUSE ICON DISCARDABLE "resource\\MOUSE.ICO"
|
|
ICON_KEYBOARD ICON DISCARDABLE "resource\\KEYBD.ICO"
|
|
ICON_PRINTER ICON DISCARDABLE "resource\\PRINTER.ICO"
|
|
ICON_FLOPPY ICON DISCARDABLE "resource\\DRIVEFLP.ICO"
|
|
ICON_CD ICON DISCARDABLE "resource\\DRIVECD.ICO"
|
|
ICON_NETWORK ICON DISCARDABLE "resource\\DRIVENET.ICO"
|
|
ICON_HARD ICON DISCARDABLE "resource\\DRIVEHAR.ICO"
|
|
ICON_SETUP ICON DISCARDABLE "resource\\SETUP.ICO"
|
|
ICON_NET ICON DISCARDABLE "resource\\ADAPTER2.ICO"
|
|
ICON_NETTRANS ICON DISCARDABLE "resource\\PROTCL2.ICO"
|
|
ICON_NETCLIENT ICON DISCARDABLE "resource\\SERVER2.ICO"
|
|
ICON_NETSERVICE ICON DISCARDABLE "resource\\SERVER3.ICO"
|
|
ICON_CONTROLLER ICON DISCARDABLE "resource\\CONTRLLR.ICO"
|
|
ICON_UNKNOWN ICON DISCARDABLE "resource\\UNKNOWN.ICO"
|
|
ICON_EBD ICON DISCARDABLE "resource\\DISK.ICO"
|
|
ICON_SCSI ICON DISCARDABLE "resource\\SCSI-II.ICO"
|
|
ICON_PCCARD ICON DISCARDABLE "resource\\PCCARD.ICO"
|
|
ICON_DEFAULT ICON DISCARDABLE "resource\\DEFAULT.ICO"
|
|
ICON_USB ICON DISCARDABLE "resource\\USB.ICO"
|
|
ICON_1394 ICON DISCARDABLE "resource\\1394.ICO"
|
|
ICON_GPS ICON DISCARDABLE "resource\\PNAPI.ICO"
|
|
ICON_PORT ICON DISCARDABLE "resource\\PORT.ICO"
|
|
ICON_HID ICON DISCARDABLE "resource\\HID.ICO"
|
|
ICON_SMARTCARDREADER ICON DISCARDABLE "resource\\SMARTCRD.ICO"
|
|
ICON_MULTIPORTSERIAL ICON DISCARDABLE "resource\\MULTIPRT.ICO"
|
|
ICON_SYSTEM ICON DISCARDABLE "resource\\SYSTEM.ICO"
|
|
ICON_PROCESSOR ICON DISCARDABLE "resource\\PROCESSR.ICO"
|
|
ICON_MEDIACHANGER ICON DISCARDABLE "resource\\MCHGR.ICO"
|
|
ICON_BIOMETRIC ICON DISCARDABLE "resource\\BIOMETRIC.ICO"
|
|
|
|
IDI_CONFLICT ICON DISCARDABLE "resource\\CONFLICT.ICO"
|
|
IDI_RESOURCE ICON DISCARDABLE "resource\\RESOURCE.ICO"
|
|
|
|
IDI_DISABLED_OVL ICON DISCARDABLE "resource\\DISABDEV.ICO"
|
|
IDI_FORCED_OVL ICON DISCARDABLE "resource\\FORCED.ICO"
|
|
IDI_PROBLEM_OVL ICON DISCARDABLE "resource\\PROBLEM.ICO"
|
|
|
|
IDI_SIGNED ICON DISCARDABLE "resource\\SIGNED.ICO"
|
|
IDI_CERT ICON DISCARDABLE "resource\\CERT.ICO"
|
|
IDI_BLANK ICON DISCARDABLE "resource\\BLANK.ICO"
|
|
IDI_WARN ICON DISCARDABLE "resource\\WARNING.ICO"
|
|
IDI_DRIVERBLOCK ICON DISCARDABLE "resource\\DBLOCK.ICO"
|
|
IDI_SECURITY ICON DISCARDABLE "resource\\SECURITY.ICO"
|
|
|
|
//
|
|
// Bitmap resources.
|
|
//
|
|
BMP_DRIVERTYPES BITMAP "resource\\ilwinmsd.bmp"
|
|
|
|
//
|
|
// AVIs
|
|
//
|
|
IDA_FILECOPY AVI "resource\\filecopy.avi"
|
|
IDA_FILEDEL AVI "resource\\filedel.avi"
|
|
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
{
|
|
IDS_MICROSOFT, "Microsoft"
|
|
IDS_UNKNOWN_PARENS, "(Unknown)"
|
|
IDS_LOCATEFILE, "Locate File"
|
|
IDS_OUTOFMEMORY, "Insufficient memory"
|
|
IDS_ADDITIONALMODELS "(Additional models)"
|
|
IDS_LANG_NEUTRAL, "unspecified language"
|
|
IDS_LANG_UNKNOWN, "unknown language"
|
|
|
|
//
|
|
// Strings in disk prompt/copy error dialog
|
|
//
|
|
IDS_FILESNEEDED, "Files Needed"
|
|
IDS_FILESNEEDED2, "%1 -- Files Needed"
|
|
|
|
IDS_PROMPTTITLE "Insert Disk"
|
|
|
|
IDS_COPYFROM, "&Copy files from:"
|
|
IDS_COPYFROMOEM, "&Copy manufacturer's files from:"
|
|
|
|
IDS_DISKPROMPT1, "Some files on %1 are needed."
|
|
IDS_DISKPROMPT2, "The file '%1' on %2 is needed."
|
|
IDS_DISKPROMPTOEM, "Insert the manufacturer's installation disk, and then make sure that the correct drive is selected below."
|
|
|
|
IDS_PROMPTACTION1, "Insert %1 into the drive selected below, and then click OK."
|
|
IDS_PROMPTACTION2, "Type the path where the file is located, and then click OK."
|
|
|
|
IDS_COPYERROR, "Copy Error"
|
|
IDS_FILEERRCOPY, "Setup cannot copy the file %1."
|
|
IDS_RETRY "&Retry"
|
|
|
|
IDS_COPYERROROEM, "Ensure that the manufacturer's disk is properly inserted in the drive selected below, or provide the location where the file can be found."
|
|
IDS_COPYERROR1, "Ensure that the disk labeled '%1' is in the drive selected below, or provide the location where the file can be found."
|
|
IDS_COPYERROR2, "Ensure that the location specified below is correct, or change it and insert '%1' in the drive you specify."
|
|
|
|
IDS_ERRORDETAILS, "Error Details"
|
|
|
|
IDS_WARNING, "Warning"
|
|
IDS_ERROR, "Error"
|
|
|
|
IDS_RENAMEERROR "Rename Error"
|
|
IDS_DELETEERROR "Delete Error"
|
|
IDS_BACKUPERROR "Backup Error"
|
|
|
|
IDS_CANCELALL "Do you want to continue Setup without copying this file?"
|
|
IDS_SURESKIP, "If you cancel copying this file Windows might not work correctly. Are you sure you want to cancel this file?"
|
|
IDS_SURECANCEL, "If you cancel now Windows might not work correctly. Are you sure you want to cancel?"
|
|
|
|
//
|
|
// Strings in default progress dialog.
|
|
//
|
|
IDS_FILEOP_FROM, "From %1"
|
|
IDS_FILEOP_TO, "To %1"
|
|
IDS_FILEOP_FILE, "%1"
|
|
IDS_FILEOP_BACKUP, "Backup %1"
|
|
|
|
IDS_COPY_CAPTION1, "%1 -- Copying Files..."
|
|
IDS_COPY_CAPTION2, "Copying Files..."
|
|
IDS_RENAME_CAPTION1, "%1 -- Renaming Files..."
|
|
IDS_RENAME_CAPTION2, "Renaming Files..."
|
|
IDS_DELETE_CAPTION1, "%1 -- Deleting Files..."
|
|
IDS_DELETE_CAPTION2, "Deleting Files..."
|
|
IDS_BACKUP_CAPTION1, "%1 -- Backup Files..."
|
|
IDS_BACKUP_CAPTION2, "Backup Files..."
|
|
IDS_COPY_INVALID_TARGET, "Cannot copy file to destination directory"
|
|
IDS_CANCELFILEOPS, "Installation is not yet completed. Are you sure you want to cancel?"
|
|
|
|
//
|
|
// Strings for Add New Device Wizard
|
|
//
|
|
IDS_OEMTITLE "Install From Disk"
|
|
IDS_NDW_PICKDEV1 "Select the manufacturer and model of your hardware device and then click Next. If you have a disk that contains the driver you want to install, click Have Disk."
|
|
IDS_SELECT_DEVICE "Select Device"
|
|
IDS_NDWSEL_MODELSLABEL "Model"
|
|
IDS_NDWSEL_MFGLABEL "Manufacturer"
|
|
IDS_DRIVER_IS_SIGNED "This driver is digitally signed."
|
|
IDS_DRIVER_NOT_SIGNED "This driver is not digitally signed!"
|
|
IDS_DRIVER_AUTHENTICODE_SIGNED
|
|
"This driver has an Authenticode(tm) signature."
|
|
|
|
//
|
|
// Strings for Select Device dialog
|
|
//
|
|
IDS_INSTALLSTR0 "%s: The following models are compatible with your hardware. Click the one you want to set up, and then click OK."
|
|
IDS_INSTALLSTR1 "Click the %s that matches your hardware, and then click OK. If you don't know which model you have, click OK."
|
|
IDS_INSTALLCLASS " If your model is not on the list, click Show All Devices."
|
|
IDS_INSTALLOEM " If you have an installation disk for this device, click Have Disk."
|
|
IDS_INSTALLOEM1 " This list shows only what was found on the installation disk."
|
|
|
|
//
|
|
// Other device installer strings
|
|
//
|
|
IDS_DEVICEINSTALLER "Device installer error"
|
|
|
|
IDS_RESOURCETYPE "Resource type"
|
|
IDS_RESOURCESETTING "Setting"
|
|
IDS_DEVRES_NO_CHANGE_MF "You cannot modify the resources for this device directly. To change its resources, change the resources of its parent device."
|
|
IDS_BASICCONFIG "Basic configuration"
|
|
IDS_OVERRIDECONFIG "Override configuration"
|
|
IDS_CURRENTCONFIG "Current configuration"
|
|
IDS_IRQ_FULL "Interrupt Request"
|
|
IDS_DMA_FULL "Direct Memory Access"
|
|
IDS_MEMORY_FULL "Memory Range"
|
|
IDS_IO_FULL "Input/Output Range"
|
|
IDS_IRQ_FULL_LC "interrupt request"
|
|
IDS_DMA_FULL_LC "direct memory access"
|
|
IDS_MEMORY_FULL_LC "memory range"
|
|
IDS_IO_FULL_LC "input/output range"
|
|
|
|
IDS_MEMORY "Memory Range"
|
|
IDS_IO "I/O Range"
|
|
IDS_DMA "DMA"
|
|
IDS_IRQ "IRQ"
|
|
IDS_UNKNOWN "Unknown"
|
|
|
|
IDS_DEVRES_NO_RESOURCES "This device does not require any resources."
|
|
IDS_DEVRES_NOALLOC_PROBLEM "This device isn't using any resources because it has a problem."
|
|
IDS_DEVRES_NOALLOC_DISABLED "This device isn't using any resources because it is not currently enabled."
|
|
IDS_DEVRES_NORMAL_CONFLICT "This device cannot find enough free resources that it can use.\n\nIf you want to use this device, you will need to disable one of the other devices on this system."
|
|
IDS_DEVRES_NOMATCHINGLC "The resources this device is using do not match any of its known configurations. To assign resources manually for this device, click Set Configuration Manually."
|
|
IDS_DEVRES_NOMODIFYTITLE "No Modifications Allowed"
|
|
|
|
IDS_EDITRES_RANGEINSTR1 "Enter the %s you would like to set for this device.\n\n"
|
|
IDS_EDITRES_RANGEINSTR2 "You may either enter a specific range and the nearest valid range will be automatically selected, or you may select a range using the up and down arrows."
|
|
|
|
IDS_EDITRES_ENTRYERROR "Edit Resource Setting"
|
|
IDS_EDITRES_VALIDATEERROR1 "The setting you entered, %s, is not valid for this device.\n\n"
|
|
IDS_EDITRES_VALIDATEERROR2 "The next valid setting of %s has been chosen automatically.\n\n"
|
|
IDS_EDITRES_VALIDATEERROR3 "Would you like to continue using the new setting?"
|
|
|
|
IDS_ERROR_BADMEMTEXT "Either the starting or ending value you entered is invalid.\n\nCheck that the starting and ending values are between 0x00000000 and 0xFFFFFFFF."
|
|
IDS_ERROR_BADIOTEXT "Either the starting or ending value you entered is invalid.\n\nCheck that the starting and ending values are between 0x0000 and 0xFFFF."
|
|
IDS_ERROR_BADDMATEXT "The direct memory access (DMA) value entered is invalid.\n\nCheck that the DMA value is between 0 and 7."
|
|
IDS_ERROR_BADIRQTEXT "The interrupt request (IRQ) value entered is invalid.\n\nPlease check that the IRQ value is between 0 and 15."
|
|
|
|
IDS_EDITRES_CONFLICTWARNMSG "Warning: The setting you have chosen conflicts with another device.\n\nTo select a different resource setting, click No. To continue, click Yes."
|
|
IDS_EDITRES_CONFLICTWARNTITLE "Conflict Warning"
|
|
IDS_DEVRES_NOCONFLICTINFO "No conflict information is currently available."
|
|
|
|
IDS_DEVRES_NOMODIFYSINGLE "This resource setting cannot be modified in this configuration. Try choosing a different configuration in the 'Settings Based On' box."
|
|
|
|
IDS_DEVRES_NOMODIFYALL "You cannot modify the resources in this configuration. Try choosing a different configuration in the 'Settings Based On' box."
|
|
IDS_DEVRES_NOMODIFYSELECT "First select the resource you wish to edit."
|
|
|
|
IDS_EDITRES_SINGLEINSTR1 "Enter the %s you would like to set for this device.\n\n"
|
|
IDS_EDITRES_SINGLEINSTR2 "You may either enter a specific value and the nearest valid value will be automatically selected, or you may select a value using the up and down arrows."
|
|
IDS_EDITRES_TITLE "Edit %s"
|
|
|
|
IDS_EDITRES_UNKNOWNCONFLICT "Windows cannot determine if the setting you have chosen conflicts with another device."
|
|
IDS_EDITRES_UNKNOWNCONFLICTINGDEVS "Unknown"
|
|
IDS_EDITRES_RESERVED "Warning: The setting you have chosen may not work due to the following reason(s):"
|
|
IDS_EDITRES_RESERVEDRANGE "The resource is unavailable"
|
|
|
|
IDS_EDITRES_NOCONFLICT "The setting you have chosen does not conflict with any other devices."
|
|
|
|
IDS_EDITRES_NOCONFLICTINGDEVS "No devices are conflicting."
|
|
|
|
IDS_MAKE_FORCED_TITLE "Creating a Forced Configuration"
|
|
IDS_FORCEDCONFIG_WARN1 "You adjusted one or more resource settings manually.\n\n"
|
|
IDS_FORCEDCONFIG_WARN2 "If you continue, these settings will be assigned to the device.\n\n"
|
|
IDS_FORCEDCONFIG_WARN3 "Do you want to continue?"
|
|
/*
|
|
IDS_FORCEDCONFIG_WARN2 "If you continue, these settings will be assigned, and Windows will be unable to change them automatically to make room for hardware you install in the future.\n\n"
|
|
IDS_FORCEDCONFIG_WARN3 "For example, if you install a Plug and Play device later, Windows might be unable to set it up because these settings are unavailable. "
|
|
IDS_FORCEDCONFIG_WARN4 "If this happens, you can return to this Resources tab and check the Use Automatic Settings check box.\n\nDo you want to continue?"
|
|
*/
|
|
IDS_FORCEDCONFIG_PARTIAL "Before you can use this forced configuration, resources marked with '?' must be explicitly set"
|
|
|
|
|
|
IDS_EDITRES_DEVCONFLICT "Warning: The setting you have chosen conflicts with the following device(s):"
|
|
IDS_DEVNAME_UNK "Unknown Device"
|
|
|
|
IDS_CONFLICT_FMT "%1!s! %2!s! used by:\r\n"
|
|
IDS_CONFLICT_UNAVAILABLE "%1!s! %2!s! not available.\r\n"
|
|
IDS_CONFLICT_GENERALERROR "Windows cannot determine if there are any resource conflicts for this device."
|
|
IDS_DEVRES_NOCONFLICTDEVS "No conflicts."
|
|
|
|
IDS_LOGSEVINFORMATION "Information"
|
|
IDS_LOGSEVWARNING "Warning"
|
|
IDS_LOGSEVERROR "Error"
|
|
IDS_LOGSEVFATALERROR "Fatal Error"
|
|
|
|
IDS_GENERIC_DEVNAME "model"
|
|
|
|
|
|
IDS_UNKNOWN_DRIVER "Unknown driver software package"
|
|
|
|
IDS_DRIVER_NOMATCH1 "Installing this device driver is not recommended because Windows cannot verify that it is compatible with your hardware. "
|
|
IDS_DRIVER_NOMATCH2 "If the driver is not compatible, your hardware will not work correctly and your computer might become unstable or stop working completely. "
|
|
IDS_DRIVER_NOMATCH3 "Do you want to continue installing this driver?"
|
|
|
|
IDS_DRIVER_UPDATE_TITLE "Update Driver Warning"
|
|
IDS_DRIVERCACHE_DESC "Windows Driver Cabinet"
|
|
|
|
IDS_NDW_NO_DRIVERS "(Unable to find any drivers for this device)"
|
|
IDS_NDW_RETRIEVING_LIST "(Retrieving a list of all devices)"
|
|
IDS_NDW_NODRIVERS_WARNING "Windows was unable to find any drivers for this device.\n\nIf you have a disk that contains the updated driver, or you wish to search in another location, click OK."
|
|
|
|
IDS_NDW_SELECTDEVICE "Select the device driver you want to install for this hardware."
|
|
|
|
IDS_VERSION " Version: %0d.%0d.%0d.%0d"
|
|
|
|
IDS_DEVICE_VERIFY_MSG1 "Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future. Microsoft strongly "
|
|
IDS_DEVICE_VERIFY_MSG2 "recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing."
|
|
IDS_SOFTWARE_VERIFY_MSG1 "Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future. Microsoft strongly "
|
|
IDS_SOFTWARE_VERIFY_MSG2 "recommends that you stop this installation now and contact the software vendor for software that has passed Windows Logo testing."
|
|
IDS_YES "Yes"
|
|
IDS_NO "No"
|
|
|
|
//
|
|
// MUI strings for shell
|
|
//
|
|
IDS_SHELL_INF_DESCRIPTION "Setup Information"
|
|
IDS_SHELL_PNF_DESCRIPTION "Precompiled Setup Information"
|
|
|
|
IDS_AUTHENTICITY "Publisher authenticity verified by "
|
|
IDS_UNKNOWNPUBLISHER "Unknown Publisher"
|
|
IDS_UNKNOWNPUBLISHERCERTISSUER "Unknown Publisher Certificate Issuer"
|
|
|
|
IDS_FILE_NOT_FOUND "File not found or not valid format."
|
|
IDS_SPC_PROVIDER "The Trust Provider is unknown or not configured properly."
|
|
IDS_SPC_SUBJECT "The object to be verified is unknown to the Trust Provider."
|
|
IDS_SPC_NO_SIGNATURE "Authenticode signature not found."
|
|
IDS_SPC_BAD_SIGNATURE "The signature does not match the content of the signed message."
|
|
IDS_SPC_BAD_FILE_DIGEST "Content does not match the signature."
|
|
IDS_SPC_NO_VALID_SIGNER "Signature does not contain a valid signer."
|
|
IDS_SPC_SIGNER_CERT "Signature does not contain a valid signing certificate."
|
|
IDS_SPC_VALID_COUNTERSIGNER
|
|
"Signature does not contain a valid counter signing certificate."
|
|
IDS_SPC_CERT_EXPIRED "A certificate (signing or issuer) has expired."
|
|
IDS_SPC_CERT_SIGNATURE "Certificate signature could not be verified using issuer's certificate."
|
|
IDS_SPC_CHAINING "Unable to create certificate chain from the signing certificate to a root."
|
|
IDS_SPC_UNTRUSTED_ROOT "The root certificate has not been enabled as a trusted root."
|
|
IDS_SPC_UNTRUSTED_TEST_ROOT
|
|
"The test root has not been enabled as a trusted root."
|
|
IDS_SPC_INVALID_CERT_NESTING
|
|
"Signing certificate's starting or ending time is outside one of its issuer's starting or ending time."
|
|
IDS_SPC_INVALID_PURPOSE "A purpose specified in a certificate (signing or issuer) makes it invalid for Authenticode."
|
|
IDS_SPC_INVALID_BASIC_CONSTRAINTS
|
|
"A basic constraint of a certificate in the signature failed for Authenticode."
|
|
IDS_SPC_INVALID_FINANCIAL
|
|
"Certificate does not contain or does not meet the Authenticode financial extension."
|
|
IDS_SPC_TIMESTAMP "The signature contains a time stamp. However, the time stamp could not be verified."
|
|
IDS_SPC_CERT_REVOKED "Signing certificate or issuing certificate has been revoked."
|
|
IDS_SPC_REVOCATION_ERROR
|
|
"An error occurred while accessing online revocation server."
|
|
IDS_SPC_SECURITY_SETTINGS
|
|
"Signature is not trusted by Authenticode with the current policy settings."
|
|
IDS_SPC_INVALID_EXTENSION
|
|
"The extension in a certificate means the certificate can not be used for Authenticode."
|
|
IDS_WRONG_USAGE "The root certificate has not been enabled for the requested use."
|
|
IDS_ELEMENT_NOT_FOUND "The installed INF file does not contain digital signature information."
|
|
IDS_SPC_OSS_ERROR "Error in ASN encoding (MSOSS error code: 0x%1)"
|
|
IDS_SPC_UNKNOWN "Error in Authenticode (error code: 0x%1)"
|
|
}
|
|
|
|
|
|
//
|
|
// Version resources
|
|
//
|
|
#include <ntverp.h>
|
|
#define VER_FILETYPE VFT_DLL
|
|
#define VER_FILESUBTYPE VFT2_UNKNOWN
|
|
#define VER_FILEDESCRIPTION_STR "Windows Setup API"
|
|
#define VER_INTERNALNAME_STR "SETUPAPI.DLL"
|
|
#define VER_ORIGINALFILENAME_STR "SETUPAPI.DLL"
|
|
#include <common.ver>
|
|
|
|
|
|
//
|
|
// Message resources
|
|
//
|
|
#include "msg.rc"
|
|
|
|
//
|
|
// Dialog resources
|
|
//
|
|
#include "prompt.dlg"
|