how do i code the custom action during the uninstall?
Would it require a batch file?
thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The user.config data gets stored in the
%APPDATA%\ProjectNamefolder.If you want to remove the user.config data when you uninstall then you can just use the
System.IO.Directory.Delete("%APPDATA%\ProjectName");Note: You can get the installed path using the following
Context.Parameters["assemblypath"]this is the path that the user selects to install the project.