
Preferably on an open-source platform, but windows commandline can also work.
torkel wrote:What tools do I need to create a customized sc.exe file? I want to do this automated using scripts, and the sc.exe file will be different each time. So I would really like some information on which tools to use and what files I need to "compile" my own custom executable
Preferably on an open-source platform, but windows commandline can also work.
Here is the code on windows (.bat) ... it should be fairly easy to do the same on linux, but i have never tried ...rockyzhangxq wrote:Is there any way I can compile it using some open source compiler (e.g. Mingw)? (on linux) I want to use script to build it automatically as well.
Code: Select all
@echo off
title Creating VNC2Me Package, using 7zip method
cls
echo this script will create the VNC2Me package using 7zip method.
echo.
echo consult the readme or website before running for the first time.
echo.
echo if you do not want to build this package now,
echo press ctrl + c NOW
echo.
echo else,
pause
cls
del temp\VNC2Me_7zip.7z
build_resources\7za a temp\VNC2Me_7zip.7z compiled\*.*
copy /b build_resources\7z_v2m.sfx + build_resources\7z_sfx_config.txt + temp\VNC2Me_7zip.7z temp\VNC2Me_7zip.exe
build_resources\upx -9 -f -k -o VNC2Me_SC_7zip.exe temp\VNC2Me_7zip.exe
copy temp\VNC2Me_7zip.exe .\ /y
pause