Noude
25th August 2010 11:16 UTC
Dyn. name of installer.
Hello !
I just want to know if it's possible to change the name of the installer of my program.
If I have a folder with: "toto.exe" inside.
And if the name of my installer is "toto.exe" too.
I don't want to overwrite the 1st "toto.exe".
So I want to change dynamically the name of my installer, like "toto(1).exe".
Thanks for help, it's the last thing I have to do in my project, yeaaah.
MSG
25th August 2010 11:22 UTC
You should put your binaries in a different (sub)folder.
Noude
25th August 2010 11:29 UTC
yep I know I can, but I really want to do this... :(
MSG
25th August 2010 11:40 UTC
I have my doubts that you can do this in NSIS, but you can use a vbscript to write the automatically generated filename command to, say, outfile.nsh, and then include that in your nsis script. Search the forums for info on how to automatically run a vbscript file during compilation.
Noude
25th August 2010 13:23 UTC
Yep I will do that, thanks again MSG.
Noude
25th August 2010 13:48 UTC
Yep I will do that, thanks again MSG ;)