Also known as ISC bind. This import adds utilities such as host(1), dig(1), and nslookup(1), as well as many other tools and libraries. Change-Id: I035ca46e64f1965d57019e773f4ff0ef035e4aa3
325 lines
11 KiB
Plaintext
325 lines
11 KiB
Plaintext
// Microsoft Visual C++ generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "afxres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#undef APSTUDIO_READONLY_SYMBOLS
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// English (U.S.) resources
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// TEXTINCLUDE
|
|
//
|
|
|
|
1 TEXTINCLUDE
|
|
BEGIN
|
|
"resource.h\0"
|
|
END
|
|
|
|
2 TEXTINCLUDE
|
|
BEGIN
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE
|
|
BEGIN
|
|
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
|
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
|
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
|
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
|
"\r\n"
|
|
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
|
|
"#ifdef _WIN32\r\n"
|
|
"LANGUAGE 9, 1\r\n"
|
|
"#pragma code_page(1252)\r\n"
|
|
"#endif //_WIN32\r\n"
|
|
"#include ""res\\BINDInstall.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
|
|
"#include ""afxres.rc"" // Standard components\r\n"
|
|
"#endif\r\n"
|
|
"\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDR_MAINFRAME ICON "res\\BINDInstall.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_BINDINSTALL_DIALOG DIALOGEX 0, 0, 210, 311
|
|
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
|
|
EXSTYLE WS_EX_APPWINDOW
|
|
CAPTION "BIND 9 Installer"
|
|
FONT 8, "MS Sans Serif", 0, 0, 0x1
|
|
BEGIN
|
|
EDITTEXT IDC_TARGETDIR,7,62,196,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_ACCOUNT_NAME,7,94,196,14,ES_AUTOHSCROLL
|
|
EDITTEXT IDC_ACCOUNT_PASSWORD,7,122,196,14,ES_PASSWORD | ES_AUTOHSCROLL
|
|
EDITTEXT IDC_ACCOUNT_PASSWORD_CONFIRM,7,151,196,14,ES_PASSWORD | ES_AUTOHSCROLL
|
|
DEFPUSHBUTTON "&Install",IDC_INSTALL,153,7,50,14
|
|
PUSHBUTTON "E&xit",IDC_EXIT,153,39,50,14
|
|
CONTROL "&Tools Only",IDC_TOOLS_ONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,185,72,10
|
|
CONTROL "&Automatic Startup",IDC_AUTO_START,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,195,72,10
|
|
CONTROL "&Keep Config Files After Uninstall",IDC_KEEP_FILES,
|
|
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,205,116,10
|
|
CONTROL "&Start BIND Service After Install",IDC_START,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,215,113,10
|
|
PUSHBUTTON "&Uninstall",IDC_UNINSTALL,153,23,50,14
|
|
PUSHBUTTON "Browse",IDC_BROWSE,7,22,50,14
|
|
LTEXT "Target Directory:",IDC_STATIC,7,53,54,8
|
|
GROUPBOX "Progress",IDC_STATIC,7,234,196,70
|
|
RTEXT "",IDC_COPY_TAG,14,271,78,8
|
|
LTEXT "",IDC_COPY_FILE,105,271,90,8
|
|
RTEXT "",IDC_SERVICE_TAG,15,281,77,8
|
|
LTEXT "",IDC_REG_SERVICE,105,281,89,8
|
|
RTEXT "",IDC_MESSAGE_TAG,15,291,77,8
|
|
LTEXT "",IDC_REG_MESSAGE,105,291,88,8
|
|
RTEXT "",IDC_DIR_TAG,15,261,77,8
|
|
GROUPBOX "Options",IDC_STATIC,7,172,196,60
|
|
CTEXT "Version Unknown",IDC_VERSION,7,7,61,10,SS_CENTERIMAGE | SS_SUNKEN
|
|
RTEXT "Current Operation:",IDC_CURRENT_TAG,34,245,58,8
|
|
LTEXT "",IDC_CURRENT,105,245,90,8
|
|
LTEXT "",IDC_CREATE_DIR,105,261,88,8
|
|
LTEXT "Service Account Name",IDC_STATIC,7,84,74,8
|
|
LTEXT "Service Account Password",IDC_STATIC,7,112,86,8
|
|
LTEXT "Confirm Service Account Password",IDC_STATIC,7,140,112,8
|
|
END
|
|
|
|
IDD_BROWSE DIALOG 0, 0, 227, 117
|
|
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Select Directory"
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,170,7,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,170,24,50,14
|
|
LISTBOX IDC_DIRLIST,7,28,155,82,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
|
EDITTEXT IDC_CURDIR,7,7,155,14,ES_AUTOHSCROLL
|
|
COMBOBOX IDC_DRIVES,170,98,50,74,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
|
|
END
|
|
|
|
IDD_DIALOG1 DIALOG 0, 0, 186, 95
|
|
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "Dialog"
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
|
|
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Version
|
|
//
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
FILEVERSION 3,0,0,0
|
|
PRODUCTVERSION 3,0,0,0
|
|
FILEFLAGSMASK 0x3fL
|
|
#ifdef _DEBUG
|
|
FILEFLAGS 0x1L
|
|
#else
|
|
FILEFLAGS 0x0L
|
|
#endif
|
|
FILEOS 0x4L
|
|
FILETYPE 0x1L
|
|
FILESUBTYPE 0x0L
|
|
BEGIN
|
|
BLOCK "StringFileInfo"
|
|
BEGIN
|
|
BLOCK "040904b0"
|
|
BEGIN
|
|
VALUE "CompanyName", "Internet Systems Consortium"
|
|
VALUE "FileDescription", "ISC BIND 9 Install Utility"
|
|
VALUE "FileVersion", "3.0.0"
|
|
VALUE "InternalName", "BINDInstall"
|
|
VALUE "LegalCopyright", "Copyright © 2000,2014"
|
|
VALUE "OriginalFilename", "BINDInstall.EXE"
|
|
VALUE "ProductName", "ISC BIND 9"
|
|
VALUE "ProductVersion", "9.10.0"
|
|
END
|
|
END
|
|
BLOCK "VarFileInfo"
|
|
BEGIN
|
|
VALUE "Translation", 0x409, 1200
|
|
END
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO
|
|
BEGIN
|
|
IDD_BINDINSTALL_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 203
|
|
VERTGUIDE, 14
|
|
VERTGUIDE, 92
|
|
VERTGUIDE, 105
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 294
|
|
HORZGUIDE, 195
|
|
HORZGUIDE, 205
|
|
HORZGUIDE, 215
|
|
HORZGUIDE, 239
|
|
HORZGUIDE, 255
|
|
HORZGUIDE, 265
|
|
HORZGUIDE, 275
|
|
HORZGUIDE, 285
|
|
HORZGUIDE, 295
|
|
END
|
|
|
|
IDD_BROWSE, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 220
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 110
|
|
END
|
|
|
|
IDD_DIALOG1, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 179
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 88
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_MAINFRAME "BIND 9 Installer"
|
|
IDS_CREATEDIR "Directory %s does not exist.\nDo you wish to create it?"
|
|
IDS_SUCCESS "BIND installation completed successfully"
|
|
IDS_FAIL "BIND installation failed"
|
|
IDS_DIREXIST "Directory %s exists.\n Install here anyway?"
|
|
IDS_INSTALL_DIR "Create Directories..."
|
|
IDS_INSTALL_FILE "Copy Files..."
|
|
IDS_INSTALL_SERVICE "Register Service..."
|
|
IDS_INSTALL_MESSAGE "Register Messages..."
|
|
IDS_UNINSTALL "Do you wish to uninstall BIND?"
|
|
IDS_UNINSTALL_DONE "BIND Uninstall Completed"
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_CREATE_KEY "Creating BIND registry key"
|
|
IDS_ADD_REMOVE "Setting up Add/Remove Programs entry"
|
|
IDS_CLEANUP "Cleaning up"
|
|
IDS_INSTALL_DONE "Finished Installing"
|
|
IDS_CREATE_DIR "Creating directory %s"
|
|
IDS_REMOVE_DIR "Removing directory %s"
|
|
IDS_COPY_FILE "Copying file %s"
|
|
IDS_DELETE_FILE "Deleting file %s"
|
|
IDS_OPEN_SCM "Opening Service Control Manager"
|
|
IDS_CREATE_SERVICE "Creating BIND service"
|
|
IDS_OPEN_SERVICE "Opening BIND service"
|
|
IDS_REMOVE_SERVICE "Removing BIND service"
|
|
IDS_REGISTER_MESSAGES "Registering BIND message source"
|
|
IDS_UNREGISTER_MESSAGES "Unregistering BIND message source"
|
|
IDS_STOP_SERVICE "Stopping BIND service"
|
|
IDS_START_SERVICE "Starting BIND service"
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_UNINSTALL_DIR "Remove Directories..."
|
|
IDS_UNINSTALL_FILES "Delete Files..."
|
|
IDS_UNINSTALL_SERVICE "Unregister Service..."
|
|
IDS_UNINSTALL_MESSAGE "Unregister Messages..."
|
|
IDS_ERR_OPEN_SCM "Could not open Service Control Manager\n(%s)"
|
|
IDS_ERR_OPEN_SERVICE "Could not open BIND Service\n(%s)"
|
|
IDS_ERR_STOP_SERVICE "Could not stop BIND Service\n(%s)"
|
|
IDS_ERR_NONCRIT_FILE "An error occurred while copying non-critical file %s\n(%s)\nDo you wish to continue?"
|
|
IDS_ERR_COPY_FILE "An error occurred while copying file %s\n(%s)\nInstallation will be terminated"
|
|
IDS_ERR_CREATE_SERVICE "Error creating service\n(%s)"
|
|
IDS_ERR_REMOVE_SERVICE "Error removing service\n(%s)"
|
|
IDS_REBOOT "BINDInstall needs to restart Windows.\nDo you wish to restart now?"
|
|
IDS_BAD_PRIVILEGES "This user cannot acquire the privileges necessary to install BIND. Please ensure you are logged on as a member of the Administrators group."
|
|
IDS_ERR_CREATE_DIR "An error occurred while creating directory %s\n(%s)"
|
|
IDS_VERSION "Version %s"
|
|
IDS_ERR_CREATE_KEY "An error occured while creating registry keys\n(%s)"
|
|
END
|
|
|
|
STRINGTABLE
|
|
BEGIN
|
|
IDS_ERR_SET_VALUE "An error occured while setting registry key values\n(%s)"
|
|
IDS_NO_VERSION "Version Unknown"
|
|
IDS_EXISTING_NEWER "%s\nThe existing version of this file is newer than the version being installed.\nDo you wish to overwrite the existing file?"
|
|
IDS_FILE_BAD "Could not retrieve version info for file %s. Do you wish to continue?\n(Continuing may overwrite a newer version of the file) "
|
|
IDS_ERR_TOOPRIVED "Chosen account has too many privileges. Do you wish to choose a different account name?"
|
|
IDS_ERR_BADACCOUNT "Error Validating Account. Unable to install service using this account."
|
|
IDS_ERR_WRONGPRIV "The wrong privilege: %s was detected. Only the Service Logon Right privilege should be enabled for this account."
|
|
IDS_CREATEACCOUNT_FAILED "Unable to Create Account for the Service."
|
|
IDS_ERR_PASSWORD "Passwords entered did not match. Please reenter password."
|
|
IDS_ERR_UPDATE_SERVICE "Error updating service\n(%s)"
|
|
IDS_ERR_NULLPASSWORD "Service account password cannot be null"
|
|
IDS_ERR_WHITESPACE "Service account password has leading/trailing whitespace"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
#define _AFX_NO_SPLITTER_RESOURCES
|
|
#define _AFX_NO_OLE_RESOURCES
|
|
#define _AFX_NO_TRACKER_RESOURCES
|
|
#define _AFX_NO_PROPERTY_RESOURCES
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE 9, 1
|
|
#pragma code_page(1252)
|
|
#endif //_WIN32
|
|
#include "res\BINDInstall.rc2" // non-Microsoft Visual C++ edited resources
|
|
#include "afxres.rc" // Standard components
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|