Hi all,
Is there any way to make the installer delete itself like the uninstaller does?
My program will download the installer to the temp directory, and launch it, and I would like the installer to delete after install.
Thanks!
Automatically delete installer after install
4 posts
You can use Delete the installer with /REBOOTOK switch and the installer is removed on the next reboot.
There's also SelfDel plug-in that can delete the installer without reboot, but AFAIK it doesn't work on Vista.
PaR
The uninstaller actually does this too. Uninstaller first copies itself in the temp directory and then runs the copy so the original file can be deleted and the copy is deleted when the system reboots.Delete /REBOOTOK "$EXEPATH"
There's also SelfDel plug-in that can delete the installer without reboot, but AFAIK it doesn't work on Vista.
PaR
You could also use the selfdel plug-in which deletes the installer instantly rather than on reboot.
Stu
Stu
Originally posted by Afrow UKWord, I am using it exactly for that 👍
You could also use the selfdel plug-in which deletes the installer instantly rather than on reboot.
Stu