Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   exe files (http://forums.winamp.com/showthread.php?t=206648)

syntax_6.0 2nd February 2005 07:06

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

Takhir 2nd February 2005 09:54

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

syntax_6.0 2nd February 2005 10:16

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

Takhir 2nd February 2005 10:48

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

syntax_6.0 2nd February 2005 10:59

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...

syntax_6.0 2nd February 2005 11:13

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

Takhir 2nd February 2005 11:23

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.

syntax_6.0 2nd February 2005 11:37

What does this souce do ?

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


All times are GMT. The time now is 05:18.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.