uninstall

How to uninstall a Windows Service when there is no executable for it left on the system?

牧云@^-^@ 提交于 2019-12-02 13:52:01
How do I uninstall a Windows Service when there is no executable for it left on the system? I can not run installutil -u since there is not executable left on the system. I can still see an entry for the service in the Services console. The reason for this state is probably because of a problem in the msi package that does not remove the service correctly, but how do I fix it once the service is in this state? Treb You should be able to uninstall it using sc.exe (I think it is included in the Windows Resource Kit) by running the following in an "administrator" command prompt: sc.exe delete

How to uninstall android system app programmatically?

♀尐吖头ヾ 提交于 2019-12-02 11:56:46
问题 I can get a list of installed apps (both user and system apps). I am also able to uninstall user apps, however, not able to uninstall system apps. Is there any way to uninstall system app? If the phone is already rooted, will the following code work? Intent intent = new Intent(Intent.ACTION_DELETE); intent.setData(Uri.parse("package:"+appPackageName.getText().toString())); context.startActivity(intent); 回答1: you can execute root commands with: runCommand("su"); runCommand("rm /data/system

How to handle uninstall intent on Android 6 and above?

痴心易碎 提交于 2019-12-02 11:04:36
问题 Background On my "app manager" app, I handled uninstall intent so that users could uninstall apps in the background, using root. The problem Up to Android 5.x , all went well and worked fine, but it seems that starting from Android 6, things have changed and the same intent, even though the logs say is being used, cannot be used by the app. What I've tried The manifest includes this intent-filter for the activity, as it always had: <intent-filter> <action android:name="android.intent.action

password protected uninstall in android 4+ versions [programmatically]

*爱你&永不变心* 提交于 2019-12-02 10:31:48
问题 i want my app to have a password protected uninstall ... (like app lock) im using folling code it works on Android 2.3 but not on Android 4+ versions MANIFEST FILE <receiver android:name="fyp.invisibleink.UninstallIntentReceiver" > <intent-filter android:priority="0" > <action android:name="android.intent.action.QUERY_PACKAGE_RESTART" /> <data android:scheme="package" /> </intent-filter> </receiver> Uninstalling Activity code ublic class Uninstalling extends Activity { @Override protected

Chrome extension cleans storage on uninstall

本小妞迷上赌 提交于 2019-12-02 09:27:10
问题 Is there any way to prevent deleting localStorage and data in sync storage (chrome.storage.sync) when user is uninstalls extension? I need to keep persistant authorization data (at least for testing) 回答1: The answer is no . But there's a bug (or feature?): IndexedDB storage is not deleted with your extension data. Probably you can try that. 来源: https://stackoverflow.com/questions/22396467/chrome-extension-cleans-storage-on-uninstall

android: require password when uninstall app

ⅰ亾dé卋堺 提交于 2019-12-02 08:14:49
I want to build app like parental control, so when child try to uninstall/remove my app I would like to require that a user type a password before being allowed to uninstall/remove my application. i try this, but still don't understand : Require a password to uninstall/remove application Any suggest? You can lock the device if you use device administration. Users can't uninstall active device admins, then you can lock the device if they try to disable device admin, then the parent could type in the password to unlock it. In your manifest: <receiver android:name=".AdminReceiver" android:label=

password protected uninstall in android 4+ versions [programmatically]

泪湿孤枕 提交于 2019-12-02 07:49:38
i want my app to have a password protected uninstall ... (like app lock) im using folling code it works on Android 2.3 but not on Android 4+ versions MANIFEST FILE <receiver android:name="fyp.invisibleink.UninstallIntentReceiver" > <intent-filter android:priority="0" > <action android:name="android.intent.action.QUERY_PACKAGE_RESTART" /> <data android:scheme="package" /> </intent-filter> </receiver> Uninstalling Activity code ublic class Uninstalling extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout

How can I safely remove old InnoSetup installations?

旧巷老猫 提交于 2019-12-02 07:25:23
I use InnoSetup 5.5.1 (a) for my Delphi 6 software installations. A user just informed me that the old uninstall entries pile up in the Control Panel Remove Programs list if not uninstalled manually. I'm thinking of changing my install to remove old entries automatically but I don't want to remove old entries that are valid. Some users like to keep an old version or two around in case they don't like a later version or for fear a later version will break something. For clarity's sake, I am referring specifically to the typical situation where a user usually accepts the default installation

MSI upgrade and retain registry keys?

坚强是说给别人听的谎言 提交于 2019-12-02 06:42:33
We have a product, 1.0, in the field. I am trying to update the installer for that product so it can install over the old version, to install a new version, 2.0. I'm using a Visual Studio 2010 setup project to do this. I have maintained the UpgradeCode, and set remove earlier versions to true, and the new installer will successfully install over the old one, removing the old one. However, it appears that the uninstall of the old MSI happens after the install of the new MSI. Both MSIs deploy the same registry keys (since our code that uses them hasn't changed)... but that means when the old MSI

How to listen to uninstallation event in javascript from a chrome extension?

倾然丶 夕夏残阳落幕 提交于 2019-12-02 04:38:10
问题 I'm trying to clean some preferences files when a user uninstall my extension from chrome browser. On google website, http://code.google.com/chrome/extensions/external_extensions.html They say, "To uninstall your extension (for example, if your software is uninstalled), remove the metadata from the preferences file or registry. " I would really like to do that but how do my extension listens to the 'uninstall event', if it exists. I didn't find this event anywhere. Please help. 回答1: What they