Welcome to MrOrange - Help Page!
Advanced/Compile options for Windows Batch:
Windows Batch
(win_batch)
How to compile:
Download source code for client_win_batch_source_X.XX.rar
Extract client_win_batch_source_X.XX.rar
Get curl.exe:
you need to place a curl.exe binary in source directory:
Take a look at the curl project:
http://curl.haxx.se
Downlad your "Win32 - Generic" favourite curl.exe edition.
(Need a more small version? compress with
UPX
)
Get NSIS:
you need to install NSIS (Nullsoft Scriptable Install System):
Take a look at the curl project:
NSIS
copy MrOrange.ico to C:\Program Files\NSIS\Contrib\Graphics\Icons
Download KillProcDLL-bin.zip from
http://nsis.sourceforge.net/KillProcDLL_plug-in
Extract KillProcDLL.dll to C:\Program Files\NSIS\Plugins
Compile:
Right click on your MrOrange.nsi file ans select "Compile NSIS Script"
you have your
client_win_batch_X.XX.exe
installer for Windows ready!
How to build servers name/ips inside installable?
Edit MrOrange.bat and change:
set OrderServer=localhost
set EmergencyServer=127.0.0.1
Compile
How to change installable name?
Just rename client_win_batch_X.XX.exe :)
How to change binary name (MrOrange.bat)?
(Its only possible to change extension from .bat to .cmd, nothing else)
Edit MrOrange.bat and change:
set BinaryName=MrOrange
Edit MrOrange.nsi and change:
(all references to MrOrange.bat)
rename MrOrange.bat file
Compile
Go back to help main page.