Hi,
it is possible to delete the msi installer after installation?
Regards Marcus
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Delete msi after install
Started by
MarcusAK81
, Nov 27 2006 10:24
5 replies to this topic
Posted 27 November 2006 - 10:54
What exactly do you wish to delete? Which file, in which location?
Stefan Krüger
InstallSite.org twitter facebook
Posted 27 November 2006 - 11:00
I make an example. I download a msi package to my desktop, i install it and after i want that this msi is deleted automatically.
Regards Marcus
Regards Marcus
Posted 27 November 2006 - 11:26
I don't think the msi package can delete itself. However you could add a remove entry to the "pending rename operations" registry entry (or call the MoveFileEx windows API) to delete the file on the next reboot.
Stefan Krüger
InstallSite.org twitter facebook
Posted 27 November 2006 - 11:32
Hmm thats not good. I saw this feature by an self-extracting exe and so i thought it is also possible by an msi.
Reagrds Marcus
Reagrds Marcus
Posted 27 November 2006 - 13:00
If you use a custom setup.exe launcher, it should be possible to delete the MSI file after install, yes. the problem is that you would probably have to write such a launcher yourself, or use some sort of tool to create it.
Regards
-Stein Åsmul
-Stein Åsmul