Skip to content
⌘ NSIS Forum Archive

Hex Editing

6 posts

ipab#

Hex Editing

i have searched the forums and have't seen a clear response to this topic. can some guide me in the direction of how to hex edit using the nsis installer, based on user input, and if it is even possible.

Thanks, your help is greatly appreciated.
Afrow UK#
This topic may help you:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


-Stu
ipab#
hmm, i dont realli understand how to use it though. I dont think that its realli all that relevant.

ps. if there is a plugin to do this, can sumone guide me to it.
saivert#
File manipulation

Just use the file manipulation functions FileOpen, FileRead and FileWrite. Close with FileClose.

Use the System.dll plug-in and call the Win32 CreateFile, ReadFile to work on binary files.
flizebogen#
For binary files you can also use the command FileWriteByte.

In the docs at the description of this command is an example.