From 5c97afc2f55796a6da2f2a72eba8bf6fa298614e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 25 Nov 2007 18:06:49 +0000 Subject: [PATCH] manual folder selection now works --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401730 --- tools/installer/ChooseMethod.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/installer/ChooseMethod.cpp b/tools/installer/ChooseMethod.cpp index a3790f52..fa3fb2da 100644 --- a/tools/installer/ChooseMethod.cpp +++ b/tools/installer/ChooseMethod.cpp @@ -4,6 +4,8 @@ #include "Welcome.h" #include "GamesList.h" #include "SelectGame.h" +#include "PerformInstall.h" +#include "LocalCopyMethod.h" game_group_t *g_game_group = NULL; unsigned int method_chosen = 0; @@ -156,6 +158,12 @@ INT_PTR CALLBACK ChooseMethodHandler(HWND hDlg, UINT message, WPARAM wParam, LPA DisplayBadFolderDialog(hDlg, val); break; } + + g_LocalCopier.SetOutputPath(method_path); + SetInstallMethod(&g_LocalCopier); + + UpdateGlobalPosition(hDlg); + EndDialog(hDlg, (INT_PTR)DisplayPerformInstall); } }