Gain Admin Privilege to Install Outlook Addin Problem

Hello, 

when I tried to deploy my Outlook addin, I faced the famous problem of : 

The value of the property 'type' cannot be parsed. The error is: Could not load file or assembly 'Microsoft.Office.BusinessApplications.Fba,Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bc3111e9429c' or one of its dependencies. The system cannot find the file specified (C:\Program Files (x86)\Common Files\Microsoft Shared\VSTO\10.0\VSTOInstaller.exe.Config line 10).

which prevents the addin from being installed. 

I worked this around by adding a custom action in Installshield, that runs a script to move the VSTOInstaller.exe.config to a different folder , install the addin , then move the file back to it's place, and the addin is being installed perfectly but it requires admin permission since VSTOInstaller.exe.config is in the Common Files\microsoft share\VSTO folder which requires admin privileges to be moved to a different place. 

My problem is, I cannot deploy this addin to be forced to run as administrator ( which i'm doing now in order to be able to install it )

i need to make sure that even users that do not have admin privileges are able to install the addin. 

any ideas ?

Regards 

Leed. 

May 14th, 2015 5:18am

Indeed it needs admin permission, so there's actually no good way to deploy afaik.

-Jeff

Free Windows Admin Tool Kit Click here and download it now
May 15th, 2015 2:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics