is99
11th April 2007 09:34 UTC
replacing file inside compiled setup
I have a bit complicated question.
Lets say my setup include some source file - file.ini
I want to replace this file inside the setup without recompiling.
Maybe something like this, if a user will run setup.exe /r newfile.ini the file will be replace or sometihng like this.
Is it possible ?
Thanks.
Red Wine
11th April 2007 10:09 UTC
Here is recent similar thread,
http://forums.winamp.com/showthread.php?threadid=266710
is99
11th April 2007 10:16 UTC
Thanks for your quick answer.
Unfortunatly it dosn't help me too much, but knowing it can't be done so easy its also a good thing.
Tell me one more thing can I work in NSIS with /something after the setup? I mean can I write something like setup.exe /r and then iside the setup detect this /r and open a custom page or sometihng like this?
Red Wine
11th April 2007 10:21 UTC
Tell me one more thing can I work in NSIS with /something after the setup? I mean can I write something like setup.exe /r and then iside the setup detect this /r and open a custom page or sometihng like this?
It's possible combining ${GetParameters} and ${GEtOptions}.
http://nsis.sourceforge.net/Docs/AppendixE.html#E.1is99
11th April 2007 10:23 UTC
Thanks