diff --git a/programs/cmm/installer/_compile_en.bat b/programs/cmm/installer/_compile_en.bat index 952207a56e..ec06f20812 100644 --- a/programs/cmm/installer/_compile_en.bat +++ b/programs/cmm/installer/_compile_en.bat @@ -1,9 +1,9 @@ @del lang.h-- @echo #define LANG_ENG 1 >lang.h-- -..\C--\C-- main.c +..\C--\C-- installer.c @del installer.kex -@rename main.com installer.kex +@rename installer.com installer.kex @pause @del lang.h-- @del warning.txt diff --git a/programs/cmm/installer/_compile_ru.bat b/programs/cmm/installer/_compile_ru.bat index e642842699..4abda48829 100644 --- a/programs/cmm/installer/_compile_ru.bat +++ b/programs/cmm/installer/_compile_ru.bat @@ -1,9 +1,9 @@ @del lang.h-- @echo #define LANG_RUS 1 >lang.h-- -..\C--\C-- main.c +..\C--\C-- installer.c @del installer.kex -@rename main.com installer.kex +@rename installer.com installer.kex @pause @del lang.h-- @del warning.txt diff --git a/programs/cmm/installer/installer.c b/programs/cmm/installer/installer.c index 8dd00641e1..fdb8dc6a94 100644 --- a/programs/cmm/installer/installer.c +++ b/programs/cmm/installer/installer.c @@ -7,9 +7,8 @@ #include "..\lib\mem.h" #include "..\lib\dll.h" #include "..\lib\copyf.h" -//*.obj libraries -#include "..\lib\lib.obj\box_lib.h" +#include "add_appl_dir.c"; #define LOGOW 16 #define LOGOH 16 @@ -52,9 +51,6 @@ int DefineWindow(dword wtitle, wbutton) return 1; } -#include "add_appl_dir.c"; -#include "dialogs.c"; - void main() { mem_Init(); @@ -91,7 +87,7 @@ void InstallationLoop(int dialog_t) { if !(DefineWindow("Installation Started", "Stop")) break; //iclock[0]>