Is it possible to delete the setup exe at the end of the install without reboot?
Theorically, it should be possible using the same method as the one you use with uninstall.exe
Delete the setup exe
5 posts
How exactly do you want to do this ?
yes it is possible 🙂
Because I think anything is possible 😎
yes it is possible 🙂
Because I think anything is possible 😎
The uninstaller doesn't exactly delete itself. It deletes a copy of iteslf. The uninstaller first copies itself into the temporary directory and executes its copy. The temporary copy can then delete the original copy.
You can try this:
You can try this:
I use the method which uses a batch file.
Now is it possible to compeletely hide the DOS window?
Currently I just can minimize it by using a ShellExecute with the option SW_SHOWMINIMIZE
Now is it possible to compeletely hide the DOS window?
Currently I just can minimize it by using a ShellExecute with the option SW_SHOWMINIMIZE
See the NSIS Update source code in CVS (Contrib\NSIS Update). It copies itself to a temporary location so it can update itself.