I have a regular old Windows Forms application with a WiX installer, and it is installed for all users in the Program Files folder, as you would expect. The application hosts add-ons using the System.AddIn framework .
Since the System.AddIn structure needs to write some of the add-in pipeline folders ( AddIns , AddInSideAdapters , AddInViews , Contracts and HostSideAdapters ), I don’t know the best place to install add-ons. I cannot install on Program Files because the user will not have write permissions, and if I install it in the user’s Application Data folder, then the add-ons will not be installed for other users.
I understand that there are conflicting requirements (users cannot interact with add-ons of other users, add-ons must be installed for all users, and all users require write permission), but what is the best practical route to take?
It is a shame that the files that the System.AddIn structure should write cannot be stored separately in Application Data , but this is apparently a limitation of the scope.
source share