Archive: exe files


exe files
hi folks....
I have a question about exe files.
Is it possible so open exe files and change them ?
I want to change some parameters in the exe file that installs it automaticaly...

I hope somebody can help me.

Micha


Read to memory, update, write back. Binary read sample http://nsis.sourceforge.net/archive/...instances=0,11


this source does not work...
what can I do that it does work ?
I`ve never done this before...


Do you want to change exe file itself or you want to run it with parameters in the command line?


For example....
I have a NSIS installer, this installer copies files to a folder...this works..
some of this files (2 files) are Setup.exe files (seperate applications)
and in the installation of this exe files you have to set some parameters like: -nas_soft -xtcpip ......
and I want to set this parameters in this applications...
I want to read in the exe files and start a "dummy" installation where I can set this parameters and then I create a new exe file where this parameters are included...


*.exe --> *.nsi
is this possible ?
I think, If I can create from *.nsi --> *.exe then it must work in the oppisite direction, too...


Extract files to tmp folder and run it
SetOutPath $PLUGINSDIR
File Setup.exe
ExecWait "$PLUGINSDIR\Setup.exe -xtcpip"
Please read NSIS manual "4.9 Instructions" partition. A lot of variants.


What does this souce do ?

SetOutPath $PLUGINSDIR
File Setup.exe
ExecWait "$PLUGINSDIR\Setup.exe -xtcpip"