Skip to content
⌘ NSIS Forum Archive

String for Installer.exe

4 posts

Yathosho#

String for Installer.exe

how about a string for the installer, so i can delete it independently from where it's executed from?
Yathosho#
is that independent from the actual filename then? i just want to delete the installer on exit.
kichik#
You can't delete the installer using the installer. You will have to create another program to do it for the installer. To get the installer path process $CMDLINE. Command is usually: "C:\bla\bla\installer.exe", but can have parameters after the installer name. If the installer path contains spaces the path will be quoted, so don't forget to pay attention to the quotes.