I'm developping an Office Add-in for Excel using Visual Studio 2015 and C#. This add-in was for administrators user only and it was working fine. I recently changed this behavior and a regular user (without admin rights) can now install the add-in.
Using InstallShield Limited Edition I changed the properties:
- ALLUSERS from '1' to ''
- Require Administrative Privilege from 'Yes' to 'No'
- InstallDirectory from 'ProgramFilesFolder' to 'AppDataFolder'
At Excel startup the users have now a dialog asking to install the add-in. The dialog the users receive looks like the one here: Unknown Publisher
- Why is the add-in not installed yet?
Despite the fact that the add-in should be installed by my EXE file, in this dialog the add-in is not signed however the EXE is signed.
Should I sign the VSTO file? I tried with signTool and cannot do it. Is that even possible?
You should try this:
Put your VSTO in a trusted folder
Did you try to sign your VSTO in VS ?
Solution Explorer -> Property -> SigningI faced that issue since a year, I understood that some paths are trusted some not.
For example ProgramFilesFolder is always trusted, I am not believing the same for AppDataFolder
In my situation I moved to AllUser.
Another advanced solution would be to think about WIX Toolset, you will have full control over the deployment