update to 9.7.1-P2
[tridge/bind9.git] / bin / win32 / BINDInstall / BINDInstall.rc
1 // Microsoft Visual C++ generated resource script.
2 //
3 #include "resource.h"
4
5 #define APSTUDIO_READONLY_SYMBOLS
6 /////////////////////////////////////////////////////////////////////////////
7 //
8 // Generated from the TEXTINCLUDE 2 resource.
9 //
10 #include "afxres.h"
11
12 /////////////////////////////////////////////////////////////////////////////
13 #undef APSTUDIO_READONLY_SYMBOLS
14
15 /////////////////////////////////////////////////////////////////////////////
16 // English (U.S.) resources
17
18 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19 #ifdef _WIN32
20 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
21 #pragma code_page(1252)
22 #endif //_WIN32
23
24 #ifdef APSTUDIO_INVOKED
25 /////////////////////////////////////////////////////////////////////////////
26 //
27 // TEXTINCLUDE
28 //
29
30 1 TEXTINCLUDE 
31 BEGIN
32     "resource.h\0"
33 END
34
35 2 TEXTINCLUDE 
36 BEGIN
37     "#include ""afxres.h""\r\n"
38     "\0"
39 END
40
41 3 TEXTINCLUDE 
42 BEGIN
43     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
44     "#define _AFX_NO_OLE_RESOURCES\r\n"
45     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
46     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
47     "\r\n"
48     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
49     "#ifdef _WIN32\r\n"
50     "LANGUAGE 9, 1\r\n"
51     "#pragma code_page(1252)\r\n"
52     "#endif //_WIN32\r\n"
53     "#include ""res\\BINDInstall.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
54     "#include ""afxres.rc""         // Standard components\r\n"
55     "#endif\r\n"
56     "\0"
57 END
58
59 #endif    // APSTUDIO_INVOKED
60
61
62 /////////////////////////////////////////////////////////////////////////////
63 //
64 // Icon
65 //
66
67 // Icon with lowest ID value placed first to ensure application icon
68 // remains consistent on all systems.
69 IDR_MAINFRAME           ICON                    "res\\BINDInstall.ico"
70
71 /////////////////////////////////////////////////////////////////////////////
72 //
73 // Dialog
74 //
75
76 IDD_BINDINSTALL_DIALOG DIALOGEX 0, 0, 210, 311
77 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
78 EXSTYLE WS_EX_APPWINDOW
79 CAPTION "BIND 9 Installer"
80 FONT 8, "MS Sans Serif", 0, 0, 0x1
81 BEGIN
82     EDITTEXT        IDC_TARGETDIR,7,62,196,14,ES_AUTOHSCROLL
83     EDITTEXT        IDC_ACCOUNT_NAME,7,94,196,14,ES_AUTOHSCROLL
84     EDITTEXT        IDC_ACCOUNT_PASSWORD,7,122,196,14,ES_PASSWORD | ES_AUTOHSCROLL
85     EDITTEXT        IDC_ACCOUNT_PASSWORD_CONFIRM,7,151,196,14,ES_PASSWORD | ES_AUTOHSCROLL
86     DEFPUSHBUTTON   "&Install",IDC_INSTALL,153,7,50,14
87     PUSHBUTTON      "E&xit",IDC_EXIT,153,39,50,14
88     CONTROL         "&Tools Only",IDC_TOOLS_ONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,185,72,10
89     CONTROL         "&Automatic Startup",IDC_AUTO_START,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,195,72,10
90     CONTROL         "&Keep Config Files After Uninstall",IDC_KEEP_FILES,
91                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,205,116,10
92     CONTROL         "&Start BIND Service After Install",IDC_START,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,14,215,113,10
93     PUSHBUTTON      "&Uninstall",IDC_UNINSTALL,153,23,50,14
94     PUSHBUTTON      "Browse",IDC_BROWSE,7,22,50,14
95     LTEXT           "Target Directory:",IDC_STATIC,7,53,54,8
96     GROUPBOX        "Progress",IDC_STATIC,7,234,196,70
97     RTEXT           "",IDC_COPY_TAG,14,271,78,8
98     LTEXT           "",IDC_COPY_FILE,105,271,90,8
99     RTEXT           "",IDC_SERVICE_TAG,15,281,77,8
100     LTEXT           "",IDC_REG_SERVICE,105,281,89,8
101     RTEXT           "",IDC_MESSAGE_TAG,15,291,77,8
102     LTEXT           "",IDC_REG_MESSAGE,105,291,88,8
103     RTEXT           "",IDC_DIR_TAG,15,261,77,8
104     GROUPBOX        "Options",IDC_STATIC,7,172,196,60
105     CTEXT           "Version Unknown",IDC_VERSION,7,7,61,10,SS_CENTERIMAGE | SS_SUNKEN
106     RTEXT           "Current Operation:",IDC_CURRENT_TAG,34,245,58,8
107     LTEXT           "",IDC_CURRENT,105,245,90,8
108     LTEXT           "",IDC_CREATE_DIR,105,261,88,8
109     LTEXT           "Service Account Name",IDC_STATIC,7,84,74,8
110     LTEXT           "Service Account Password",IDC_STATIC,7,112,86,8
111     LTEXT           "Confirm Service Account Password",IDC_STATIC,7,140,112,8
112 END
113
114 IDD_BROWSE DIALOG  0, 0, 227, 117
115 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
116 CAPTION "Select Directory"
117 FONT 8, "MS Sans Serif"
118 BEGIN
119     DEFPUSHBUTTON   "OK",IDOK,170,7,50,14
120     PUSHBUTTON      "Cancel",IDCANCEL,170,24,50,14
121     LISTBOX         IDC_DIRLIST,7,28,155,82,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
122     EDITTEXT        IDC_CURDIR,7,7,155,14,ES_AUTOHSCROLL
123     COMBOBOX        IDC_DRIVES,170,98,50,74,CBS_DROPDOWNLIST | CBS_SORT | WS_VSCROLL | WS_TABSTOP
124 END
125
126 IDD_DIALOG1 DIALOG  0, 0, 186, 95
127 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
128 CAPTION "Dialog"
129 FONT 8, "MS Sans Serif"
130 BEGIN
131     DEFPUSHBUTTON   "OK",IDOK,129,7,50,14
132     PUSHBUTTON      "Cancel",IDCANCEL,129,24,50,14
133 END
134
135
136 /////////////////////////////////////////////////////////////////////////////
137 //
138 // Version
139 //
140
141 VS_VERSION_INFO VERSIONINFO
142  FILEVERSION 2,0,0,0
143  PRODUCTVERSION 2,0,0,0
144  FILEFLAGSMASK 0x3fL
145 #ifdef _DEBUG
146  FILEFLAGS 0x1L
147 #else
148  FILEFLAGS 0x0L
149 #endif
150  FILEOS 0x4L
151  FILETYPE 0x1L
152  FILESUBTYPE 0x0L
153 BEGIN
154     BLOCK "StringFileInfo"
155     BEGIN
156         BLOCK "040904b0"
157         BEGIN
158             VALUE "CompanyName", "Internet Software Consortium"
159             VALUE "FileDescription", "ISC BIND Install Utility"
160             VALUE "FileVersion", "2.0.0"
161             VALUE "InternalName", "BINDInstall"
162             VALUE "LegalCopyright", "Copyright © 2000"
163             VALUE "OriginalFilename", "BINDInstall.EXE"
164             VALUE "ProductName", "ISC BIND"
165             VALUE "ProductVersion", "9.7.0"
166         END
167     END
168     BLOCK "VarFileInfo"
169     BEGIN
170         VALUE "Translation", 0x409, 1200
171     END
172 END
173
174
175 /////////////////////////////////////////////////////////////////////////////
176 //
177 // DESIGNINFO
178 //
179
180 #ifdef APSTUDIO_INVOKED
181 GUIDELINES DESIGNINFO 
182 BEGIN
183     IDD_BINDINSTALL_DIALOG, DIALOG
184     BEGIN
185         LEFTMARGIN, 7
186         RIGHTMARGIN, 203
187         VERTGUIDE, 14
188         VERTGUIDE, 92
189         VERTGUIDE, 105
190         TOPMARGIN, 7
191         BOTTOMMARGIN, 294
192         HORZGUIDE, 195
193         HORZGUIDE, 205
194         HORZGUIDE, 215
195         HORZGUIDE, 239
196         HORZGUIDE, 255
197         HORZGUIDE, 265
198         HORZGUIDE, 275
199         HORZGUIDE, 285
200         HORZGUIDE, 295
201     END
202
203     IDD_BROWSE, DIALOG
204     BEGIN
205         LEFTMARGIN, 7
206         RIGHTMARGIN, 220
207         TOPMARGIN, 7
208         BOTTOMMARGIN, 110
209     END
210
211     IDD_DIALOG1, DIALOG
212     BEGIN
213         LEFTMARGIN, 7
214         RIGHTMARGIN, 179
215         TOPMARGIN, 7
216         BOTTOMMARGIN, 88
217     END
218 END
219 #endif    // APSTUDIO_INVOKED
220
221
222 /////////////////////////////////////////////////////////////////////////////
223 //
224 // String Table
225 //
226
227 STRINGTABLE 
228 BEGIN
229     IDS_MAINFRAME           "BIND 9 Installer"
230     IDS_CREATEDIR           "Directory %s does not exist.\nDo you wish to create it?"
231     IDS_SUCCESS             "BIND installation completed successfully"
232     IDS_FAIL                "BIND installation failed"
233     IDS_DIREXIST            "Directory %s exists.\n Install here anyway?"
234     IDS_INSTALL_DIR         "Create Directories..."
235     IDS_INSTALL_FILE        "Copy Files..."
236     IDS_INSTALL_SERVICE     "Register Service..."
237     IDS_INSTALL_MESSAGE     "Register Messages..."
238     IDS_UNINSTALL           "Do you wish to uninstall BIND?"
239     IDS_UNINSTALL_DONE      "BIND Uninstall Completed"
240 END
241
242 STRINGTABLE 
243 BEGIN
244     IDS_CREATE_KEY          "Creating BIND registry key"
245     IDS_ADD_REMOVE          "Setting up Add/Remove Programs entry"
246     IDS_CLEANUP             "Cleaning up"
247     IDS_INSTALL_DONE        "Finished Installing"
248     IDS_CREATE_DIR          "Creating directory %s"
249     IDS_REMOVE_DIR          "Removing directory %s"
250     IDS_COPY_FILE           "Copying file %s"
251     IDS_DELETE_FILE         "Deleting file %s"
252     IDS_OPEN_SCM            "Opening Service Control Manager"
253     IDS_CREATE_SERVICE      "Creating BIND service"
254     IDS_OPEN_SERVICE        "Opening BIND service"
255     IDS_REMOVE_SERVICE      "Removing BIND service"
256     IDS_REGISTER_MESSAGES   "Registering BIND message source"
257     IDS_UNREGISTER_MESSAGES "Unregistering BIND message source"
258     IDS_STOP_SERVICE        "Stopping BIND service"
259     IDS_START_SERVICE       "Starting BIND service"
260 END
261
262 STRINGTABLE 
263 BEGIN
264     IDS_UNINSTALL_DIR       "Remove Directories..."
265     IDS_UNINSTALL_FILES     "Delete Files..."
266     IDS_UNINSTALL_SERVICE   "Unregister Service..."
267     IDS_UNINSTALL_MESSAGE   "Unregister Messages..."
268     IDS_ERR_OPEN_SCM        "Could not open Service Control Manager\n(%s)"
269     IDS_ERR_OPEN_SERVICE    "Could not open BIND Service\n(%s)"
270     IDS_ERR_STOP_SERVICE    "Could not stop BIND Service\n(%s)"
271     IDS_ERR_NONCRIT_FILE    "An error occurred while copying non-critical file %s\n(%s)\nDo you wish to continue?"
272     IDS_ERR_COPY_FILE       "An error occurred while copying file %s\n(%s)\nInstallation will be terminated"
273     IDS_ERR_CREATE_SERVICE  "Error creating service\n(%s)"
274     IDS_ERR_REMOVE_SERVICE  "Error removing service\n(%s)"
275     IDS_REBOOT              "BINDInstall needs to restart Windows.\nDo you wish to restart now?"
276     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."
277     IDS_ERR_CREATE_DIR      "An error occurred while creating directory %s\n(%s)"
278     IDS_VERSION             "Version %s"
279     IDS_ERR_CREATE_KEY      "An error occured while creating registry keys\n(%s)"
280 END
281
282 STRINGTABLE 
283 BEGIN
284     IDS_ERR_SET_VALUE       "An error occured while setting registry key values\n(%s)"
285     IDS_NO_VERSION          "Version Unknown"
286     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?"
287     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) "
288     IDS_ERR_TOOPRIVED       "Chosen account has too many privileges. Do you wish to choose a different account name?"
289     IDS_ERR_BADACCOUNT      "Error Validating Account. Unable to install service using this account."
290     IDS_ERR_WRONGPRIV       "The wrong privilege: %s was detected.  Only the Service Logon Right privilege should be enabled for this account."
291     IDS_CREATEACCOUNT_FAILED "Unable to Create Account for the Service."
292     IDS_ERR_PASSWORD        "Passwords entered did not match. Please reenter password."
293     IDS_ERR_UPDATE_SERVICE  "Error updating service\n(%s)"
294     IDS_ERR_NULLPASSWORD    "Service account password cannot be null"
295     IDS_ERR_WHITESPACE      "Service account password has leading/trailing whitespace"
296 END
297
298 #endif    // English (U.S.) resources
299 /////////////////////////////////////////////////////////////////////////////
300
301
302
303 #ifndef APSTUDIO_INVOKED
304 /////////////////////////////////////////////////////////////////////////////
305 //
306 // Generated from the TEXTINCLUDE 3 resource.
307 //
308 #define _AFX_NO_SPLITTER_RESOURCES
309 #define _AFX_NO_OLE_RESOURCES
310 #define _AFX_NO_TRACKER_RESOURCES
311 #define _AFX_NO_PROPERTY_RESOURCES
312
313 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
314 #ifdef _WIN32
315 LANGUAGE 9, 1
316 #pragma code_page(1252)
317 #endif //_WIN32
318 #include "res\BINDInstall.rc2"  // non-Microsoft Visual C++ edited resources
319 #include "afxres.rc"         // Standard components
320 #endif
321
322 /////////////////////////////////////////////////////////////////////////////
323 #endif    // not APSTUDIO_INVOKED
324