electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

How to remove AppData for Win, Linux, Mac platforms when using MSI?

Open vtebano13 opened this issue 1 year ago • 1 comments

  • Electron-Builder Version: 23.3.3
  • Node Version: 14.17.0
  • Electron Version:4.2.12
  • Electron Type (current, beta, nightly):
  • Target: Windows

I noticed that there was an old ticket on this but wondering why this option was never added for MSI.

I need to delete app user data for all supported platforms (Win and Mac), when application uninstalled. But only suitable things that I found was customize "nsis" (add flag "deleteAppDataOnUninstall": true). Its working for Windows with simple *.exe installer, but doesnt work with *.msi installer.

How can I customize package.json that app data will be removed for Win and Mac?

vtebano13 avatar Aug 19 '22 14:08 vtebano13

Anyone?

vtebano13 avatar Sep 08 '22 20:09 vtebano13

I can't believe that I only one that has had this issue or request.

vtebano13 avatar Sep 22 '22 12:09 vtebano13

its good

gittare avatar Sep 25 '22 13:09 gittare

What does "its good" mean? Are you saying it works? If so, then some detail how would be appreciated.

vtebano13 avatar Sep 26 '22 12:09 vtebano13