Archive: String for Installer.exe


String for Installer.exe
how about a string for the installer, so i can delete it independently from where it's executed from?


You can get that from the command line ($CMDLINE).


is that independent from the actual filename then? i just want to delete the installer on exit.


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.