Closed AliM1988 closed 1 year ago
SFX self extract archive: Combine the hpatchz executable file of the target platform and the diffFile into one executable file.
"selfExecuteFile" is the hpatchz executable file of the target platform
's pathName.
"outSelfExtractArchive" is the combined one executable file
's pathName.
Thank you for your reply. As an example:
set program="hpatchz.exe"
set patch="patch.hdiffz"
set selfpatch="patch.sfx.exe"
%program% -X-exe#%program% %patch% -X#%selfpatch%
I can't understand why we should repeat %program% (hpatchz) while SFX creator and SFX executer is same?
if same OS,you can delete '-X-exe#%program%' .
we created sfx on maxos, and need run sfx on windows.
In Windows %program% %patch% -X#%selfpatch%
works fine!
Thank you.
I don't know how to create SFX. hpatchz [-X-exe#selfExecuteFile] diffFile -X#outSelfExtractArchive
What is selfExecuteFile ?