Skip to content

Commit

Permalink
V. 1.8 (64-bit)
Browse files Browse the repository at this point in the history
V. 1.8 (64-bit)
  • Loading branch information
islamadel committed Feb 16, 2021
1 parent 1c2ed89 commit 104c3bb
Show file tree
Hide file tree
Showing 13 changed files with 77 additions and 22 deletions.
3 changes: 2 additions & 1 deletion source/changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ By: Islam Adel
2015-08-21 Removed ResHacker
2020-05-21 Added command line parameters for silent use, Removed ping to local host, Removed upx compression
2020-05-22 No Admin Privileges required, Compatibility Set to Windows 7
2020-05-23 Apply icon to SFX
2020-05-23 Apply icon to SFX
2021-02-16 Version 1.8 (64-bit)
26 changes: 15 additions & 11 deletions source/dev_readme.txt
Original file line number Diff line number Diff line change
@@ -1,28 +1,32 @@
Readme for Developers

By: Islam Adel
------------------------------------------------------

- Change File Version and Info:
V. 1.8 64-bit

- Replaced 7z.dll, 7z.exe, 7zSD.sfx with version 9.20 + Extras

- Replaced RCEDIT by RCEDIT64

Open sfx with Reshacker
change text under "Version Info"
click compile script
save and exit
- Apply manifest compatibility:
#https://github.com/eladkarako/mt/tree/master/x64
mt.exe -manifest manifest.xml -outputresource:"7zS.sfx;#1

- Apply Version Info with Resource H.
- Apply Default icon with RCEDIT64
#https://sourceforge.net/projects/winrun4j/
------------------------------------------------------

- What to include when updating version?

bat2exe.bat
bat2exe.cmd
bat2exe.ico

bin\7z.dll
bin\7z.exe
bin\7ZSD_LZMAi.sfx
bin\7ZSD.sfx
bin\browse.vbs
bin\choice.exe
-[bin\ResHacker.exe]
bin\res.exe
bin\upx.exe
bin\RCEDIT64.exe

------------------------------------------------------
21 changes: 21 additions & 0 deletions source/manifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">

<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<!--application support for Windows Vista -->
<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
<!--application support for Windows 7 -->
<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
</application>
</compatibility>

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>

</assembly>
6 changes: 3 additions & 3 deletions source/release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
BAT2EXE 1.7
BAT2EXE 1.8 (64-bit)


BAT2EXE 1.7
BAT2EXE 1.8 (64-bit)

Convert any Batch File easily to an Executable

Expand All @@ -11,4 +11,4 @@ to an executable [.exe] file package.

Change Log:

Apply icon to SFX
64-bit
27 changes: 27 additions & 0 deletions source/version_info.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

1 VERSIONINFO
FILEVERSION 1,8,0,0
PRODUCTVERSION 1,8,0,0
FILEOS 0x40004
FILETYPE 0x1
{
BLOCK "StringFileInfo"
{
BLOCK "040904B0"
{
VALUE "CompanyName", "Islam Adel"
VALUE "FileDescription", "Created by BAT2EXE.net"
VALUE "FileVersion", "1.8"
VALUE "InternalName", "bat2exe.exe"
VALUE "LegalCopyright", "Islam Adel"
VALUE "OriginalFilename", "bat2exe.exe"
VALUE "ProductName", "BAT2EXE"
VALUE "ProductVersion", "1.8"
}
}

BLOCK "VarFileInfo"
{
VALUE "Translation", 0x0409 0x04B0
}
}
16 changes: 9 additions & 7 deletions source/workspace/bat2exe.cmd
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@echo off
REM BY ISLAM ADEL
REM BAT2EXE.NET
SET VER=1.7
SET VERd=2020-05-23
SET VER=1.8
SET VERd=2021-02-16
MODE 90,50
COLOR 9F
TITLE BAT2EXE V. %VER% - Rel. [%VERd%] By: Islam Adel - http://BAT2EXE.net
Expand Down Expand Up @@ -236,15 +236,17 @@ REM >>%cf% echo ExecuteParameters="%*"
>>%cf% echo ;!@InstallEnd@!
REM 3. Create SFX

SET sfxfile=7zSD

IF DEFINED ikon (
echo Applying icon..
REM https://sourceforge.net/projects/winrun4j/
copy /y "bin\7zSD.sfx" "7zSD_icon.sfx"
Start /B /Wait "Applying Icon" "bin\RCEDIT.exe" /I "7zSD_icon.sfx" "%WS%\%ficon%"
copy /y /b "7zSD_icon.sfx" + %cf% + %sfxa% "%name%.tmp" 2>NUL>NUL
copy /y "bin\%sfxfile%.sfx" "%sfxfile%_icon.sfx"
Start /B /Wait "Applying Icon" "bin\RCEDIT64.exe" /I "%sfxfile%_icon.sfx" "%WS%\%ficon%"
copy /y /b "%sfxfile%_icon.sfx" + %cf% + %sfxa% "%name%.tmp" 2>NUL>NUL
) ELSE (
echo No .ico File found in Source Folder
copy /y /b "bin\7zSD.sfx" + %cf% + %sfxa% "%name%.tmp" 2>NUL>NUL
copy /y /b "bin\%sfxfile%.sfx" + %cf% + %sfxa% "%name%.tmp" 2>NUL>NUL
)

copy /y "%name%.tmp" "%TF%\%name%.exe"
Expand All @@ -253,7 +255,7 @@ echo.

IF EXIST "%name%.tmp" DEL /Q /F "%name%.tmp" 2>NUL>NUL
IF EXIST %sfxa% DEL /Q /F %sfxa% 2>NUL>NUL
IF EXIST "7zSD_icon.sfx" DEL /Q /F "7zSD_icon.sfx" 2>NUL>NUL
IF EXIST "%sfxfile%_icon.sfx" DEL /Q /F "%sfxfile%_icon.sfx" 2>NUL>NUL

CALL :verfile "%TF%\%name%.exe"
IF EXIST "%TF%\%name%.exe" (
Expand Down
Binary file added source/workspace/bat2exe.ico
Binary file not shown.
Binary file modified source/workspace/bin/7z.dll
Binary file not shown.
Binary file modified source/workspace/bin/7z.exe
Binary file not shown.
Binary file modified source/workspace/bin/7zSD.sfx
Binary file not shown.
Binary file removed source/workspace/bin/RCEDIT.exe
Binary file not shown.
Binary file added source/workspace/bin/RCEDIT64.exe
Binary file not shown.
Binary file modified upload/bat2exe.exe
Binary file not shown.

0 comments on commit 104c3bb

Please sign in to comment.