how do i code the custom action during the uninstall? Would it require a batch file?
thanks!
The user.config data gets stored in the %APPDATA%\ProjectName
folder.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With