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.