[SETUPAPI]: Implement SetupPromptForDiskA/W by importing dialog.c from Wine Staging...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 27 Jul 2016 00:48:41 +0000 (00:48 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Wed, 27 Jul 2016 00:48:41 +0000 (00:48 +0000)
(Add also the patch "Add patch to support IDF_CHECKFIRST in SetupPromptForDisk." by DarkPlayer - 541cc8d08661980dfe80fe2bb9dd27c91879e09f)

svn path=/trunk/; revision=72009

34 files changed:
reactos/dll/win32/setupapi/CMakeLists.txt
reactos/dll/win32/setupapi/dialog.c [new file with mode: 0644]
reactos/dll/win32/setupapi/lang/bg-BG.rc
reactos/dll/win32/setupapi/lang/cs-CZ.rc
reactos/dll/win32/setupapi/lang/da-DK.rc
reactos/dll/win32/setupapi/lang/de-DE.rc
reactos/dll/win32/setupapi/lang/en-US.rc
reactos/dll/win32/setupapi/lang/es-ES.rc
reactos/dll/win32/setupapi/lang/fi-FI.rc
reactos/dll/win32/setupapi/lang/fr-FR.rc
reactos/dll/win32/setupapi/lang/he-IL.rc
reactos/dll/win32/setupapi/lang/hu-HU.rc
reactos/dll/win32/setupapi/lang/id-ID.rc
reactos/dll/win32/setupapi/lang/it-IT.rc
reactos/dll/win32/setupapi/lang/ja-JP.rc
reactos/dll/win32/setupapi/lang/ko-KR.rc
reactos/dll/win32/setupapi/lang/nl-NL.rc
reactos/dll/win32/setupapi/lang/no-NO.rc
reactos/dll/win32/setupapi/lang/pl-PL.rc
reactos/dll/win32/setupapi/lang/pt-BR.rc
reactos/dll/win32/setupapi/lang/ro-RO.rc
reactos/dll/win32/setupapi/lang/ru-RU.rc
reactos/dll/win32/setupapi/lang/sk-SK.rc
reactos/dll/win32/setupapi/lang/sq-AL.rc
reactos/dll/win32/setupapi/lang/sv-SE.rc
reactos/dll/win32/setupapi/lang/th-TH.rc
reactos/dll/win32/setupapi/lang/tr-TR.rc
reactos/dll/win32/setupapi/lang/uk-UA.rc
reactos/dll/win32/setupapi/lang/zh-CN.rc
reactos/dll/win32/setupapi/lang/zh-TW.rc
reactos/dll/win32/setupapi/resource.h
reactos/dll/win32/setupapi/setupapi_private.h
reactos/dll/win32/setupapi/stubs.c
reactos/media/doc/README.WINE

index 37e0563..409d9ed 100644 (file)
@@ -16,6 +16,7 @@ list(APPEND SOURCE
     cfgmgr.c
     devclass.c
     devinst.c
     cfgmgr.c
     devclass.c
     devinst.c
+    dialog.c
     dirid.c
     diskspace.c
     driver.c
     dirid.c
     diskspace.c
     driver.c
@@ -40,7 +41,7 @@ add_library(setupapi SHARED
 
 set_module_type(setupapi win32dll UNICODE)
 target_link_libraries(setupapi uuid wine ${PSEH_LIB})
 
 set_module_type(setupapi win32dll UNICODE)
 target_link_libraries(setupapi uuid wine ${PSEH_LIB})
-add_delay_importlibs(setupapi shell32 winspool wintrust)
+add_delay_importlibs(setupapi comdlg32 shell32 winspool wintrust)
 add_importlibs(setupapi gdi32 comctl32 advapi32 user32 rpcrt4 version msvcrt kernel32 ntdll)
 add_pch(setupapi setupapi_private.h SOURCE)
 add_cd_file(TARGET setupapi DESTINATION reactos/system32 FOR all)
 add_importlibs(setupapi gdi32 comctl32 advapi32 user32 rpcrt4 version msvcrt kernel32 ntdll)
 add_pch(setupapi setupapi_private.h SOURCE)
 add_cd_file(TARGET setupapi DESTINATION reactos/system32 FOR all)
diff --git a/reactos/dll/win32/setupapi/dialog.c b/reactos/dll/win32/setupapi/dialog.c
new file mode 100644 (file)
index 0000000..b513183
--- /dev/null
@@ -0,0 +1,281 @@
+/*
+ * SetupAPI dialog functions
+ *
+ * Copyright 2009 Ricardo Filipe
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include "setupapi_private.h"
+
+struct promptdisk_params {
+    PCWSTR DialogTitle;
+    PCWSTR DiskName;
+    PCWSTR PathToSource;
+    PCWSTR FileSought;
+    PCWSTR TagFile;
+    DWORD DiskPromptStyle;
+    PWSTR PathBuffer;
+    DWORD PathBufferSize;
+    PDWORD PathRequiredSize;
+};
+
+/* initiates the fields of the SetupPromptForDisk dialog according to the parameters
+*/
+static void promptdisk_init(HWND hwnd, struct promptdisk_params *params)
+{
+    SetWindowLongPtrW(hwnd, DWLP_USER, (LONG_PTR)params);
+
+    if(params->DialogTitle)
+        SetWindowTextW(hwnd, params->DialogTitle);
+    if(params->PathToSource)
+        SetDlgItemTextW(hwnd, IDC_PATH, params->PathToSource);
+
+    if(!(params->DiskPromptStyle & IDF_OEMDISK))
+    {
+        WCHAR message[256+2*MAX_PATH];
+        WCHAR format[256];
+        WCHAR unknown[256];
+        DWORD_PTR args[2];
+        LoadStringW(hInstance, IDS_PROMPTDISK, format,
+            sizeof(format)/sizeof(format[0]));
+
+        args[0] = (DWORD_PTR)params->FileSought;
+        if(params->DiskName)
+            args[1] = (DWORD_PTR)params->DiskName;
+        else
+        {
+            LoadStringW(hInstance, IDS_UNKNOWN, unknown,
+                sizeof(unknown)/sizeof(unknown[0]));
+            args[1] = (DWORD_PTR)unknown;
+        }
+        FormatMessageW(FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ARGUMENT_ARRAY,
+                       format, 0, 0, message, sizeof(message)/sizeof(*message),
+                       (__ms_va_list*)args);
+        SetDlgItemTextW(hwnd, IDC_FILENEEDED, message);
+
+        LoadStringW(hInstance, IDS_INFO, message,
+            sizeof(message)/sizeof(message[0]));
+        SetDlgItemTextW(hwnd, IDC_INFO, message);
+        LoadStringW(hInstance, IDS_COPYFROM, message,
+            sizeof(message)/sizeof(message[0]));
+        SetDlgItemTextW(hwnd, IDC_COPYFROM, message);
+    }
+    if(params->DiskPromptStyle & IDF_NOBROWSE)
+        ShowWindow(GetDlgItem(hwnd, IDC_RUNDLG_BROWSE), SW_HIDE);
+}
+
+/* When the user clicks in the Ok button in SetupPromptForDisk dialog
+ * if the parameters are good it copies the path from the dialog to the output buffer
+ * saves the required size for the buffer if PathRequiredSize is given
+ * returns NO_ERROR if there is no PathBuffer to copy too
+ * returns DPROMPT_BUFFERTOOSMALL if the path is too big to fit in PathBuffer
+ */
+static void promptdisk_ok(HWND hwnd, struct promptdisk_params *params)
+{
+    int requiredSize;
+    WCHAR aux[MAX_PATH];
+    GetWindowTextW(GetDlgItem(hwnd, IDC_PATH), aux, MAX_PATH);
+    requiredSize = strlenW(aux)+1;
+
+    if(params->PathRequiredSize)
+    {
+        *params->PathRequiredSize = requiredSize;
+        TRACE("returning PathRequiredSize=%d\n",*params->PathRequiredSize);
+    }
+    if(!params->PathBuffer)
+    {
+        EndDialog(hwnd, NO_ERROR);
+        return;
+    }
+    if(requiredSize > params->PathBufferSize)
+    {
+        EndDialog(hwnd, DPROMPT_BUFFERTOOSMALL);
+        return;
+    }
+    strcpyW(params->PathBuffer, aux);
+    TRACE("returning PathBuffer=%s\n", debugstr_w(params->PathBuffer));
+    EndDialog(hwnd, DPROMPT_SUCCESS);
+}
+
+/* When the user clicks the browse button in SetupPromptForDisk dialog
+ * it copies the path of the selected file to the dialog path field
+ */
+static void promptdisk_browse(HWND hwnd, struct promptdisk_params *params)
+{
+    OPENFILENAMEW ofn;
+    ZeroMemory(&ofn, sizeof(ofn));
+
+    ofn.lStructSize = sizeof(ofn);
+    ofn.Flags = OFN_HIDEREADONLY | OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST;
+    ofn.hwndOwner = hwnd;
+    ofn.nMaxFile = MAX_PATH;
+    ofn.lpstrFile = HeapAlloc(GetProcessHeap(), 0, MAX_PATH*sizeof(WCHAR));
+    strcpyW(ofn.lpstrFile, params->FileSought);
+
+    if(GetOpenFileNameW(&ofn))
+    {
+        WCHAR* last_slash = strrchrW(ofn.lpstrFile, '\\');
+        if (last_slash) *last_slash = 0;
+        SetDlgItemTextW(hwnd, IDC_PATH, ofn.lpstrFile);
+    }
+    HeapFree(GetProcessHeap(), 0, ofn.lpstrFile);
+}
+
+/* Handles the messages sent to the SetupPromptForDisk dialog
+*/
+static INT_PTR CALLBACK promptdisk_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
+{
+    switch(msg)
+    {
+        case WM_INITDIALOG:
+            promptdisk_init(hwnd, (struct promptdisk_params *)lParam);
+            return TRUE;
+        case WM_COMMAND:
+            switch(wParam)
+            {
+                case IDOK:
+                {
+                    struct promptdisk_params *params =
+                        (struct promptdisk_params *)GetWindowLongPtrW(hwnd, DWLP_USER);
+                    promptdisk_ok(hwnd, params);
+                    return TRUE;
+                }
+                case IDCANCEL:
+                    EndDialog(hwnd, DPROMPT_CANCEL);
+                    return TRUE;
+                case IDC_RUNDLG_BROWSE:
+                {
+                    struct promptdisk_params *params =
+                        (struct promptdisk_params *)GetWindowLongPtrW(hwnd, DWLP_USER);
+                    promptdisk_browse(hwnd, params);
+                    return TRUE;
+                }
+            }
+    }
+    return FALSE;
+}
+
+/***********************************************************************
+ *      SetupPromptForDiskA (SETUPAPI.@)
+ */
+UINT WINAPI SetupPromptForDiskA(HWND hwndParent, PCSTR DialogTitle, PCSTR DiskName,
+        PCSTR PathToSource, PCSTR FileSought, PCSTR TagFile, DWORD DiskPromptStyle,
+        PSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
+{
+    WCHAR *DialogTitleW, *DiskNameW, *PathToSourceW;
+    WCHAR *FileSoughtW, *TagFileW, PathBufferW[MAX_PATH];
+    UINT ret, length;
+
+    TRACE("%p, %s, %s, %s, %s, %s, 0x%08x, %p, %d, %p\n", hwndParent, debugstr_a(DialogTitle),
+          debugstr_a(DiskName), debugstr_a(PathToSource), debugstr_a(FileSought),
+          debugstr_a(TagFile), DiskPromptStyle, PathBuffer, PathBufferSize,
+          PathRequiredSize);
+
+    DialogTitleW = strdupAtoW(DialogTitle);
+    DiskNameW = strdupAtoW(DiskName);
+    PathToSourceW = strdupAtoW(PathToSource);
+    FileSoughtW = strdupAtoW(FileSought);
+    TagFileW = strdupAtoW(TagFile);
+
+    ret = SetupPromptForDiskW(hwndParent, DialogTitleW, DiskNameW, PathToSourceW,
+            FileSoughtW, TagFileW, DiskPromptStyle, PathBufferW, MAX_PATH, PathRequiredSize);
+
+    HeapFree(GetProcessHeap(), 0, DialogTitleW);
+    HeapFree(GetProcessHeap(), 0, DiskNameW);
+    HeapFree(GetProcessHeap(), 0, PathToSourceW);
+    HeapFree(GetProcessHeap(), 0, FileSoughtW);
+    HeapFree(GetProcessHeap(), 0, TagFileW);
+
+    if(ret == DPROMPT_SUCCESS)
+    {
+        length = WideCharToMultiByte(CP_ACP, 0, PathBufferW, -1, NULL, 0, NULL, NULL);
+        if(PathRequiredSize) *PathRequiredSize = length;
+        if(PathBuffer)
+        {
+            if(length > PathBufferSize)
+                return DPROMPT_BUFFERTOOSMALL;
+            WideCharToMultiByte(CP_ACP, 0, PathBufferW, -1, PathBuffer, length, NULL, NULL);
+        }
+    }
+    return ret;
+}
+
+/***********************************************************************
+ *      SetupPromptForDiskW (SETUPAPI.@)
+ */
+UINT WINAPI SetupPromptForDiskW(HWND hwndParent, PCWSTR DialogTitle, PCWSTR DiskName,
+        PCWSTR PathToSource, PCWSTR FileSought, PCWSTR TagFile, DWORD DiskPromptStyle,
+        PWSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
+{
+    struct promptdisk_params params;
+    UINT ret;
+
+    TRACE("%p, %s, %s, %s, %s, %s, 0x%08x, %p, %d, %p\n", hwndParent, debugstr_w(DialogTitle),
+          debugstr_w(DiskName), debugstr_w(PathToSource), debugstr_w(FileSought),
+          debugstr_w(TagFile), DiskPromptStyle, PathBuffer, PathBufferSize,
+          PathRequiredSize);
+
+    if(!FileSought)
+    {
+        SetLastError(ERROR_INVALID_PARAMETER);
+        return DPROMPT_CANCEL;
+    }
+
+    if (PathToSource && (DiskPromptStyle & IDF_CHECKFIRST))
+    {
+        static const WCHAR format[] = {'%', 's', '\\', '%', 's', '\0'};
+        WCHAR filepath[MAX_PATH];
+
+        if (strlenW(PathToSource) + 1 + strlenW(FileSought) < sizeof(filepath))
+        {
+            snprintfW(filepath, MAX_PATH, format, PathToSource, FileSought);
+
+            if (GetFileAttributesW(filepath) != INVALID_FILE_ATTRIBUTES)
+            {
+                if (PathRequiredSize)
+                    *PathRequiredSize = strlenW(PathToSource) + 1;
+
+                if (!PathBuffer)
+                    return DPROMPT_SUCCESS;
+
+                if (PathBufferSize >= strlenW(PathToSource) + 1)
+                {
+                    strcpyW(PathBuffer, PathToSource);
+                    return DPROMPT_SUCCESS;
+                }
+                else
+                    return DPROMPT_BUFFERTOOSMALL;
+            }
+        }
+    }
+
+    params.DialogTitle = DialogTitle;
+    params.DiskName = DiskName;
+    params.PathToSource = PathToSource;
+    params.FileSought = FileSought;
+    params.TagFile = TagFile;
+    params.DiskPromptStyle = DiskPromptStyle;
+    params.PathBuffer = PathBuffer;
+    params.PathBufferSize = PathBufferSize;
+    params.PathRequiredSize = PathRequiredSize;
+
+    ret = DialogBoxParamW(hInstance, MAKEINTRESOURCEW(IDPROMPTFORDISK),
+        hwndParent, promptdisk_proc, (LPARAM)&params);
+
+    if(ret == DPROMPT_CANCEL)
+        SetLastError(ERROR_CANCELLED);
+    return ret;
+}
index d62ad08..609a591 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Трябва да презапуснете компютъра, за да приключено слагането. Искате ли да го направите?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Трябва да презапуснете компютъра, за да приключено слагането. Искате ли да го направите?"
index 61ebe66..02cf21b 100644 (file)
@@ -19,6 +19,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Aby mohla být instalace dokončena, musí být počítač restartován. Pokračovat?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Aby mohla být instalace dokončena, musí být počítač restartován. Pokračovat?"
index 5d5544e..e557a52 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
index 8fede88..14b8a13 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Ihr Computer muss zum Beenden der Installation neu gestartet werden. Wollen Sie fortfahren?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Ihr Computer muss zum Beenden der Installation neu gestartet werden. Wollen Sie fortfahren?"
index 315f868..37cd6e6 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
index 5b9d28b..ab5ba15 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Su equipo debe ser reinicializada para completar la instalación. ¿Desea continuar?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Su equipo debe ser reinicializada para completar la instalación. ¿Desea continuar?"
index 174af0f..1261516 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
index 523a06d..e0eae5a 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Votre ordinateur doit être redémarré pour terminer l'installation. Voulez-vous redémarrer ?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Votre ordinateur doit être redémarré pour terminer l'installation. Voulez-vous redémarrer ?"
index bbeef88..fa8f0e7 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "צריך להפעיל מחדש את מחשבך כדי לסיים את ההתקנה. האם ברצונך להמשיך?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "צריך להפעיל מחדש את מחשבך כדי לסיים את ההתקנה. האם ברצונך להמשיך?"
index d4b5dec..3a10e66 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "A számítógépet újra kell indítani a telepítés befejezéséhez. Szeretnéd most újraindítani?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "A számítógépet újra kell indítani a telepítés befejezéséhez. Szeretnéd most újraindítani?"
index 6745ae8..9240aae 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Komputer anda perlu di-boot ulang untuk menyelesaikan instalasi. Anda ingin melakukannya?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Komputer anda perlu di-boot ulang untuk menyelesaikan instalasi. Anda ingin melakukannya?"
index 70de8d7..ebfdddd 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Il computer deve essere riavviato per completare l'installazione. Volete procedere?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Il computer deve essere riavviato per completare l'installazione. Volete procedere?"
index 37a6817..00b1833 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
index 1f1366f..c80d7e0 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
index 84ac935..5b314ac 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
index 1cfad9a..9e42012 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Din datamaskin trenger å startes på nytt for å fullføre installasjonen. Vil du starte på nytt?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Din datamaskin trenger å startes på nytt for å fullføre installasjonen. Vil du starte på nytt?"
index 99e19a6..c22fd40 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Twój komputer musi zostać zrestartowany, by ukończyć instalację. Czy chcesz kontynuować?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Twój komputer musi zostać zrestartowany, by ukończyć instalację. Czy chcesz kontynuować?"
index 0799e29..96e4e73 100644 (file)
@@ -28,6 +28,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
index 875c721..85a7540 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Este necesară repornirea calculatorului pentru a finaliza instalarea. Continuați?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Este necesară repornirea calculatorului pentru a finaliza instalarea. Continuați?"
index d155301..5c4424b 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Ваш компьютер должен быть перезагружен, чтобы завершить установку. Продолжить?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Ваш компьютер должен быть перезагружен, чтобы завершить установку. Продолжить?"
index d7e4db9..7e8e33c 100644 (file)
@@ -18,6 +18,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Pre dokončenie inštalácie je potrebné reštartovať počítač. Chcete pokračovať?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Pre dokončenie inštalácie je potrebné reštartovať počítač. Chcete pokračovať?"
index f50dfb7..ccc049d 100644 (file)
@@ -17,6 +17,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Kompjuteri juaj duhet të rifillohet për të përfunduar instalimin. A doni të vazhdoni?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Kompjuteri juaj duhet të rifillohet për të përfunduar instalimin. A doni të vazhdoni?"
index ac56506..98ced31 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Your computer needs to be rebooted to finish installation. Do you want to proceed?"
index ae181f2..c604255 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "เมื่อเสร็จสิ้นการติดตั้งแล้ว คอมพิวเตอร์ของคุณจำเป็นต้องเปิดเครื่องใหม่/n/n คุณต้องการเปิดเครื่องใหม่เดี๋ยวนี้เลยหรือไม่?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "เมื่อเสร็จสิ้นการติดตั้งแล้ว คอมพิวเตอร์ของคุณจำเป็นต้องเปิดเครื่องใหม่/n/n คุณต้องการเปิดเครื่องใหม่เดี๋ยวนี้เลยหรือไม่?"
index 546e8c9..e865407 100644 (file)
@@ -13,6 +13,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Bilgisayarınız kurulumunuz bitirilmesi için yeniden başlatılacak. Onaylıyor musunuz?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Bilgisayarınız kurulumunuz bitirilmesi için yeniden başlatılacak. Onaylıyor musunuz?"
index 07576a1..c9de177 100644 (file)
@@ -21,6 +21,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Для закінчення установки необхідно перезапустити Ваш комп'ютер. Продовжити?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "Для закінчення установки необхідно перезапустити Ваш комп'ютер. Продовжити?"
index 3c0ba44..12aacc6 100644 (file)
@@ -15,6 +15,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "您的计算机需要重新启动才能完成安装。您要继续吗?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "您的计算机需要重新启动才能完成安装。您要继续吗?"
index 8cf19b2..fb53b93 100644 (file)
@@ -15,6 +15,28 @@ BEGIN
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
     CONTROL "", PROGRESSORD, "setupx_progress", 7, 63, 194, 13, WS_CHILD | WS_VISIBLE | WS_TABSTOP
 END
 
+IDPROMPTFORDISK DIALOG 0, 0, 260, 120
+STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "Files Needed"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    LTEXT "Insert the manufacturer's installation disk, and then\nmake sure the correct drive is selected below", IDC_FILENEEDED, 10, 10, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "", IDC_INFO, 10, 50, 175, 38, WS_CHILD | WS_VISIBLE | WS_GROUP
+    LTEXT "Copy manufacturer's files from:", IDC_COPYFROM, 10, 90, 175, 11, WS_CHILD | WS_VISIBLE | WS_GROUP
+    CONTROL "", IDC_PATH, "COMBOBOX", WS_TABSTOP | WS_GROUP | WS_VSCROLL | WS_VISIBLE | CBS_DISABLENOSCROLL | CBS_AUTOHSCROLL | CBS_DROPDOWN, 10, 100, 175, 14
+    DEFPUSHBUTTON "OK", IDOK, 195, 10, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Cancel", IDCANCEL, 195, 30, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+    PUSHBUTTON "Browse...", IDC_RUNDLG_BROWSE, 195, 100, 60, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+END
+
+STRINGTABLE
+BEGIN
+    IDS_PROMPTDISK   "The file '%1' on %2 is needed"
+    IDS_UNKNOWN      "Unknown"
+    IDS_COPYFROM     "Copy files from:"
+    IDS_INFO         "Type the path where the file is located, and then click OK."
+END
+
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "您的計算機需要重新啟動才能完成安裝。您要繼續嗎?"
 STRINGTABLE
 BEGIN
     IDS_QUERY_REBOOT_TEXT "您的計算機需要重新啟動才能完成安裝。您要繼續嗎?"
index 2528d3e..07f21fc 100644 (file)
@@ -1,5 +1,16 @@
 #pragma once
 
 #pragma once
 
+#define IDC_FILENEEDED    503
+#define IDC_INFO          504
+#define IDC_COPYFROM      505
+#define IDC_PATH          506
+#define IDC_RUNDLG_BROWSE 507
+
+#define IDS_PROMPTDISK  508
+#define IDS_UNKNOWN     509
+#define IDS_COPYFROM    510
+#define IDS_INFO        511
+
 #define IDS_QUERY_REBOOT_TEXT       1000
 #define IDS_QUERY_REBOOT_CAPTION    2000
 #define IDS_INF_FILE                2001
 #define IDS_QUERY_REBOOT_TEXT       1000
 #define IDS_QUERY_REBOOT_CAPTION    2000
 #define IDS_INF_FILE                2001
@@ -9,6 +20,8 @@
 #define DESTSTRORD                  3002
 #define PROGRESSORD                 3003
 
 #define DESTSTRORD                  3002
 #define PROGRESSORD                 3003
 
+#define IDPROMPTFORDISK             3004
+
 #define IDI_SETUPAPI_DISP_ADAPT     1
 #define IDI_SETUPAPI_MOUSE          2
 #define IDI_SETUPAPI_KEYBOARD       3
 #define IDI_SETUPAPI_DISP_ADAPT     1
 #define IDI_SETUPAPI_MOUSE          2
 #define IDI_SETUPAPI_KEYBOARD       3
index 29594eb..8bb89b5 100644 (file)
 
 #include <windef.h>
 #include <winbase.h>
 
 #include <windef.h>
 #include <winbase.h>
-#include <winreg.h>
+#include <winuser.h>
 #include <wingdi.h>
 #include <wingdi.h>
+#include <winreg.h>
 #include <winspool.h>
 #include <wincon.h>
 #include <winspool.h>
 #include <wincon.h>
+
+#include <commdlg.h>
+
 #include <objbase.h>
 #include <cfgmgr32.h>
 #include <regstr.h>
 #include <objbase.h>
 #include <cfgmgr32.h>
 #include <regstr.h>
@@ -54,6 +58,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
 #undef __WINESRC__
 #endif
 
 #undef __WINESRC__
 #endif
 
+#include "resource.h"
+
 #define SETUP_DEVICE_INFO_SET_MAGIC 0xd00ff057
 #define SETUP_CLASS_IMAGE_LIST_MAGIC 0xd00ff058
 
 #define SETUP_DEVICE_INFO_SET_MAGIC 0xd00ff057
 #define SETUP_CLASS_IMAGE_LIST_MAGIC 0xd00ff058
 
@@ -240,6 +246,16 @@ struct FileLog /* HSPFILELOG */
 };
 
 extern HINSTANCE hInstance;
 };
 
 extern HINSTANCE hInstance;
+extern OSVERSIONINFOEXW OsVersionInfo;
+
+/*
+ * See: https://msdn.microsoft.com/en-us/library/bb432397(v=vs.85).aspx
+ * for more information.
+ */
+extern DWORD GlobalSetupFlags;
+#define PSPGF_NO_BACKUP         0x0002
+#define PSPGF_NONINTERACTIVE    0x0004
+
 #define RC_STRING_MAX_SIZE 256
 
 #define REG_INSTALLEDFILES "System\\CurrentControlSet\\Control\\InstalledFiles"
 #define RC_STRING_MAX_SIZE 256
 
 #define REG_INSTALLEDFILES "System\\CurrentControlSet\\Control\\InstalledFiles"
@@ -280,17 +296,6 @@ UINT CALLBACK QUEUE_callback_WtoA( void *context, UINT notification, UINT_PTR, U
 #define _S_IWRITE 0x0080
 #define _S_IREAD  0x0100
 
 #define _S_IWRITE 0x0080
 #define _S_IREAD  0x0100
 
-extern HINSTANCE hInstance;
-extern OSVERSIONINFOEXW OsVersionInfo;
-
-/*
- * See: https://msdn.microsoft.com/en-us/library/bb432397(v=vs.85).aspx
- * for more information.
- */
-extern DWORD GlobalSetupFlags;
-#define PSPGF_NO_BACKUP         0x0002
-#define PSPGF_NONINTERACTIVE    0x0004
-
 /* devinst.c */
 
 BOOL
 /* devinst.c */
 
 BOOL
index 4ec7ace..165853b 100644 (file)
@@ -56,33 +56,6 @@ BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
     return FALSE;
 }
 
     return FALSE;
 }
 
-/***********************************************************************
- *      SetupPromptForDiskA (SETUPAPI.@)
- */
-UINT WINAPI SetupPromptForDiskA(HWND hwndParent, PCSTR DialogTitle, PCSTR DiskName,
-        PCSTR PathToSource, PCSTR FileSought, PCSTR TagFile, DWORD DiskPromptStyle,
-        PSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
-{
-    FIXME("%p %s %s %s %s %s %d %p %d %p: stub\n", hwndParent, debugstr_a(DialogTitle),
-          debugstr_a(DiskName), debugstr_a(PathToSource), debugstr_a(FileSought),
-          debugstr_a(TagFile), DiskPromptStyle, PathBuffer, PathBufferSize,
-          PathRequiredSize);
-    return 0;
-}
-
-/***********************************************************************
- *      SetupPromptForDiskW (SETUPAPI.@)
- */
-UINT WINAPI SetupPromptForDiskW(HWND hwndParent, PCWSTR DialogTitle, PCWSTR DiskName,
-        PCWSTR PathToSource, PCWSTR FileSought, PCWSTR TagFile, DWORD DiskPromptStyle,
-        PWSTR PathBuffer, DWORD PathBufferSize, PDWORD PathRequiredSize)
-{
-    FIXME("%p %s %s %s %s %s %d %p %d %p: stub\n", hwndParent, debugstr_w(DialogTitle),
-          debugstr_w(DiskName), debugstr_w(PathToSource), debugstr_w(FileSought),
-          debugstr_w(TagFile), DiskPromptStyle, PathBuffer, PathBufferSize,
-          PathRequiredSize);
-    return 0;
-}
 
 /***********************************************************************
  *      SetupDiRemoveDevice(SETUPAPI.@)
 
 /***********************************************************************
  *      SetupDiRemoveDevice(SETUPAPI.@)
index 7b5badc..374d380 100644 (file)
@@ -338,6 +338,7 @@ secur32 -
   reactos/dll/win32/secur32/wrapper.c           # Synced to WineStaging-1.9.4
 
 setupapi -
   reactos/dll/win32/secur32/wrapper.c           # Synced to WineStaging-1.9.4
 
 setupapi -
+  reactos/dll/win32/setupapi/dialog.c           # Synced to WineStaging-1.9.15
   reactos/dll/win32/setupapi/query.c            # Partially synced to WineStaging-1.9.4
   reactos/dll/win32/setupapi/setupcab.c         # Synced to WineStaging-1.9.4
 
   reactos/dll/win32/setupapi/query.c            # Partially synced to WineStaging-1.9.4
   reactos/dll/win32/setupapi/setupcab.c         # Synced to WineStaging-1.9.4