Unistaller
-
Hi All I have written an uninstall program to compliment an install program I have produced. However, how do you get around the problem of removing the uninstall program? It won't delete itself when running. How is uninstall usually done? I do note that my current install program does not inform the Windows Add/Remove Programs utility - which means I can't use that. It does use the registry but what settings are needed to use the Windows Add/Remove utility? Is there a way of informing Windows of the program so that I can use the Add/Remove functionality? Many thanks u6ik
-
Hi All I have written an uninstall program to compliment an install program I have produced. However, how do you get around the problem of removing the uninstall program? It won't delete itself when running. How is uninstall usually done? I do note that my current install program does not inform the Windows Add/Remove Programs utility - which means I can't use that. It does use the registry but what settings are needed to use the Windows Add/Remove utility? Is there a way of informing Windows of the program so that I can use the Add/Remove functionality? Many thanks u6ik
u6ik wrote: However, how do you get around the problem of removing the uninstall program? It won't delete itself when running. One way is with
MoveFileEx(..., MOVEFILE_DELAY_UNTIL_REBOOT)
. If you need this functionality on Windows 95, you'll need to use the wininit.ini file. See here for more.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
-
u6ik wrote: However, how do you get around the problem of removing the uninstall program? It won't delete itself when running. One way is with
MoveFileEx(..., MOVEFILE_DELAY_UNTIL_REBOOT)
. If you need this functionality on Windows 95, you'll need to use the wininit.ini file. See here for more.
"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown
-
Hi All I have written an uninstall program to compliment an install program I have produced. However, how do you get around the problem of removing the uninstall program? It won't delete itself when running. How is uninstall usually done? I do note that my current install program does not inform the Windows Add/Remove Programs utility - which means I can't use that. It does use the registry but what settings are needed to use the Windows Add/Remove utility? Is there a way of informing Windows of the program so that I can use the Add/Remove functionality? Many thanks u6ik
You can use a .cmd file for it... There is a tutorial about that... but I don't remember where I found it... try google. Don't try it, just do it! ;-)