Question

If I install and then uninstall our extension through the registry everything works fine. But if I install it through the registry and then uninstall it through the browser extensions page the browser remembers it and i can't reinstall it through the registry even if I remove it and then try to reinstall it through the registry. The only way I can have the extension reinstalled is to add it manually to the extensions page. But, I don't want my users to have to do it manually. Is there a way to force install it again?

Thanks, Ben

Was it helpful?

Solution

I found a solution to the problem. But, I decided not to use it because I decided it is a good idea not to force installation after the user removed the extension. Just thought that you will want to know the solution: Turn off your Google Chrome browser go to the 'Preferences' file under: c:\users\\AppData\Local\Google\Chrome\User Data\Default there find your extension under "{Guid}" then delete everything from "{guid}" (included) to the close '}' and then save and start your browser. this hack will force chrome to check again for extensions and your extension will be on again.

OTHER TIPS

I respect the Chrome policy to make the extension blacklisted in this case until the user manually adds it back through Chrome Extensions page UI. However there is another tweak available:

If you are using windows, open the 'Preferences' file in: "C:\users\AppData\Local\Google\Chrome\User Data\Default".

This is a JSON file. Look for your extension id (Guid) key with object value section. Changing the value of 'state' property from 2 to 1 in your extension Guid values section will force chrome to bring back your extension once you start chrome browser.

Note: The chrome browser must be closed completely before modifying this file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top