From 9cdc8210963ed87b97e54ee2f0be0ee0ef6785f8 Mon Sep 17 00:00:00 2001 From: Rim Date: Mon, 18 Dec 2023 04:45:03 -0500 Subject: [PATCH] Add message box on initializtion --- T7x/t7x_Installer.nsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/T7x/t7x_Installer.nsi b/T7x/t7x_Installer.nsi index 6278931..878b09f 100644 --- a/T7x/t7x_Installer.nsi +++ b/T7x/t7x_Installer.nsi @@ -61,6 +61,12 @@ ShowUninstDetails show ; Languages !insertmacro MUI_LANGUAGE "English" +Function .onInit + MessageBox MB_OKCANCEL|MB_ICONINFORMATION "Place the installer in your Call of Duty Black Ops III game folder. Click OK to continue or Cancel to exit." IDOK done + Abort + done: +FunctionEnd + ; Sections Section "Main Application" SecMain SetOutPath $INSTDIR