Archive: replacing file inside compiled setup


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.


Here is recent similar thread,

http://forums.winamp.com/showthread.php?threadid=266710


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?


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

Thanks