Help Me

hi,
I am writting a program to uninstall the application ,but i want that after uninstalling the application uninstall.exe(through which i am uninstalling the application) will get deleted ...plz tell me how to acchive this..
[230 byte] By [amit_srms21] at [2007-11-20 11:31:36]
# 1 Re: Help Me
You can do this two ways: use MoveFileEx ( http://msdn2.microsoft.com/en-us/library/aa365240.aspx) with MOVEFILE_DELAY_UNTIL_REBOOT or
dynamically create batch file which would be run before your uninstaller exit - that batch file must remove your uninstaller along with itself
Igor Vartanov at 2007-11-10 22:25:10 >