uninstall

Is it possible to intercept app uninstall?

心已入冬 提交于 2019-12-02 03:51:21
问题 Is it possible to intercept app uninstall and make some job? E.g. my app modifies some files of device, so it would be neat before uninstalling just rollback changes made by my app. Any hints, ideas? 回答1: Are you talking about the similar issue Listen Broadcast Before application uninstall Then as said you have to use the intent-filter for delete as given in the above link. <activity android:name=".UninstallIntentActivity" android:label="@string/app_name" > <intent-filter> <action android

iPhone - App Uninstallation notification

半腔热情 提交于 2019-12-02 03:34:31
问题 How can I get a notification from App Store or APNs when my iOS App gets uninstalled? Also, if I send a push notification for the device where my App is uninstalled, what happens? Will Apple ban for such rogue Push notifications? 回答1: There isn't a way that your app will know if it is uninstalled. Also I do not believe there is anyway Apple will tell you if your app is uninstalled. Apples Push Notification Service's FeedBack Service does provide a way to know if a device cannot receive a

iPhone - App Uninstallation notification

僤鯓⒐⒋嵵緔 提交于 2019-12-02 02:32:32
How can I get a notification from App Store or APNs when my iOS App gets uninstalled? Also, if I send a push notification for the device where my App is uninstalled, what happens? Will Apple ban for such rogue Push notifications? There isn't a way that your app will know if it is uninstalled. Also I do not believe there is anyway Apple will tell you if your app is uninstalled. Apples Push Notification Service's FeedBack Service does provide a way to know if a device cannot receive a notification. However this does not guarantee that the device was uninstalled, only that it, for whatever reason

MSI: How a Service is stopped on uninstall during InstallValidate - could that work anyway?

无人久伴 提交于 2019-12-02 01:35:29
I want to know, how and when in concrete a service is tried to stop if it's marked as Remove="uninstall" Stop="uninstall" in the WiX Project File. Why I'm asking: On uninstalling, the service is not recognized or handled correctly by the RESTART MANAGER resulting in the "restart dialog". I attached the debugger to the service and realized, that it's never been tried to be stopped - at least, not via the registered ControlHandler. I was guessing, that it will be stopped in the same manner as executing "sc stop servicename" or by stopping it via the Services-Dialog. The service itself is written

Is it possible to intercept app uninstall?

*爱你&永不变心* 提交于 2019-12-02 00:55:58
Is it possible to intercept app uninstall and make some job? E.g. my app modifies some files of device, so it would be neat before uninstalling just rollback changes made by my app. Any hints, ideas? user1764879 Are you talking about the similar issue Listen Broadcast Before application uninstall Then as said you have to use the intent-filter for delete as given in the above link. <activity android:name=".UninstallIntentActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> <

How to downgrade Kotlin in Intellij 15

蓝咒 提交于 2019-12-01 16:53:20
For a project of mine I need to use Kotlin 1.0.0-1038 (beta), but to install it I probably need to uninstall the newer version of kotlin, but it has no uninstall button where it should have. How would I downgrade Kotlin? IntelliJ IDEA 15.0.4 IMPORTANT UPD: as @yole commented, this is a bad solution as it will break things. There is no proper way to downgrade a bundled plugin without breaking the installation. Instead, consider upgrading the project to the up-to-date Kotlin version. You have the plugin bundled with IntelliJ IDEA. On your own risk , you can delete its folder manually from

WiX ServiceControl Stop a service on uninstall, but don't start it on install

蓝咒 提交于 2019-12-01 13:44:28
问题 I need the service to stop and be removed on its uninstall, but I don't want it to start on install. The problem is, the start attribute on the ServiceControl element does not provide an option to disable starting. Or am I just missing it? I'm using this for my service control element: <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="Remec.AteService" Wait="yes" /> 回答1: As per the documentation, the start attribute is optional, so simply omit it entirely.

How to save a folder when user confirms uninstallation? (Inno Setup)

流过昼夜 提交于 2019-12-01 12:33:59
How can I save a backup copy of an specific folder to user desktop, when user confirms application uninstall? I tried this without success... Maybe there is an easier way to do it without using code... procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin if CurUninstallStep = usUninstall then begin FileCopy('{app}\Profile\*', '{userdesktop}\Backup\Profile\', False); end; end; Thank you guys! :) Martin Prikryl Triggering the backup on CurUninstallStepChanged(usUninstall) is the best solution. The problems you have are: The FileCopy function cannot copy folders. For that

How exactly are files removed during MSI uninstall?

大兔子大兔子 提交于 2019-12-01 11:30:24
I'd like to know what exactly happens to installed files / components during the uninstall procedure. For the install and upgrade procedure, reliable documentation exists at MSDN (see File Versioning Rules and Default File Versioning , for example). Anyways, I couldn't find a documentation of the uninstall remove logic at MSDN or at WiX´s documentation. So, my question is simple: I would like to know when exactly a file is removed from the system (which isn't always the case - for example if a SharedDLLRefCount exists/remains for that file). The closest I found was the following MSDN link ,

How to save a folder when user confirms uninstallation? (Inno Setup)

你说的曾经没有我的故事 提交于 2019-12-01 11:07:46
问题 How can I save a backup copy of an specific folder to user desktop, when user confirms application uninstall? I tried this without success... Maybe there is an easier way to do it without using code... procedure CurUninstallStepChanged(CurUninstallStep: TUninstallStep); begin if CurUninstallStep = usUninstall then begin FileCopy('{app}\Profile\*', '{userdesktop}\Backup\Profile\', False); end; end; Thank you guys! :) 回答1: Triggering the backup on CurUninstallStepChanged(usUninstall) is the