uninstall

Remove file and folders on uninstall

谁说我不能喝 提交于 2020-01-13 05:16:08
问题 I am learning WIX to build installer for my app but I am stuck with removing files. My question is how can I remove files and folders on uninstall. When I click on remove button, all the files and folders which the installer created doesn't remove on uninstall. 回答1: The answer is in the comments above but for future reference there are two things to check first when files are not being removed: Ensure that you do not have Component/@Guid="". In Specifically setting to an empty string (Guid=""

How can I perform a custom action in WiX that only executes on install or uninstall?

蹲街弑〆低调 提交于 2020-01-12 12:53:48
问题 I have two custom actions, one of which I'd like to execute when my product is installed and the other when it is uninstalled. My custom action is currently called from a merge module after the "InstallFinalize", but this happens for both install and uninstall. I've tried adding the "NOT INSTALLED AND NOT UPGRADINGPRODUCTCODE" condition, but that gave me an error: Error 2762. Cannot write script record. Transaction not started. I've also tried attaching to other actions (for example,

How to delete Folder at uninstallation in C#.NET application?

岁酱吖の 提交于 2020-01-12 06:19:07
问题 I have a window .net application named "XYZ", I have created a custom folder named"ABC" (folder may be anywhere other than application path) while using my application after installation. When i am uninstalling the application all folders are removed but "ABC" folder remain there. How can I delete 'ABC' folder which resides other than application path? 回答1: You have to use Custom Actions for that: Add a new library ("CustomActions") to the setup project Add => New Item => Installer class

How to delete Folder at uninstallation in C#.NET application?

拟墨画扇 提交于 2020-01-12 06:16:10
问题 I have a window .net application named "XYZ", I have created a custom folder named"ABC" (folder may be anywhere other than application path) while using my application after installation. When i am uninstalling the application all folders are removed but "ABC" folder remain there. How can I delete 'ABC' folder which resides other than application path? 回答1: You have to use Custom Actions for that: Add a new library ("CustomActions") to the setup project Add => New Item => Installer class

Testing Firebase Funnels

我只是一个虾纸丫 提交于 2020-01-07 03:07:28
问题 I wanted to know a simple question regarding setting up my first funnel in Firebase. If we wanted to know which unique users (on a specific day) first opened the app and removed it, would the below simple funnel be sufficient ? Note: On the filter date, I selected "Yesterday". Question: Would this selection enable me then to view only those users that did "First Open" (my base) AND "App removal" on the same day (on D0) ? or is this an open funnel of a wider base: i.e. users that somewhere in

Removing extra files after uninstalling a clickonce application

孤街醉人 提交于 2020-01-06 08:42:27
问题 I have a project that uses clickonce to generate the setup.exe. During the run time my program create some extra files like "Log" and "Attachments" inside the User Folder. However, those folders are not removed when I perform an uninstall of the clickonce application from the ARP. These remaining files are interfering the next install. I know that click once does not support for adding custom action to install or uninstall. I am wondering if is there is a way that I can remove those extra

Removing extra files after uninstalling a clickonce application

烂漫一生 提交于 2020-01-06 08:41:34
问题 I have a project that uses clickonce to generate the setup.exe. During the run time my program create some extra files like "Log" and "Attachments" inside the User Folder. However, those folders are not removed when I perform an uninstall of the clickonce application from the ARP. These remaining files are interfering the next install. I know that click once does not support for adding custom action to install or uninstall. I am wondering if is there is a way that I can remove those extra

Inno Setup - Registry uninsdeletekey - exclude upgrade

左心房为你撑大大i 提交于 2020-01-05 13:54:21
问题 I have an Inno-Setup installation with the following entry in the [Registry] section Root: HKCU; Subkey: SOFTWARE\MyCompany\MyApp; ValueName: MyKey; Flags: uninsdeletekey noerror Which as stated by the flags is to be deleted upon uninstall. But I need it to be preserved in case the uninstall is due to version upgrade. How can it be done? Check maybe? Thanks. 回答1: You will need to pass the information that you want to preserve the key to the uninstaller since it doesn't know who executes it

Uninstall C# windows application from self

别说谁变了你拦得住时间么 提交于 2020-01-04 14:17:31
问题 How can the currently executing C# application uninstall itself? I just wanted to do it to be user friendly. It's only a small program, if they install it and don't like it, I don't want to force them to go through the trouble of add/remove, just a quick button click. It's got an (are you sure) dialogue to stop accidents, but beyond that, I thought it would be nice. sorry about not specifying the install software, I'm using Visual Studio 2008 and its accompanying Publish feature which I've

How to reinstall Ruby and Gem on Mac OS X

大憨熊 提交于 2020-01-04 06:55:30
问题 I am trying very hard to uninstall Ruby and Gem from my computer so that I can do a complete reinstall of all, since I've clogged up a few errors and crossed wires. When I do sudo uninstall gem I get the following progress/message: Preparing Uninstall... Uninstall Began... Uninstall Failed... Reason: ErrorMissingBundle I'm NOT, I repeat NOT at this point looking to install rvm, since I just want to clean out my computer and get rid of the bugs before I install anything else. 回答1: You didn't