Solved

VSTO 2010 Install Issue with no local Admin

Posted on 2012-03-19
5
870 Views
Last Modified: 2012-03-22
I need to "install" an word addin and a word template project onto a machine that I do not have local admin on.  Is it possible to do so?  Can I have an admin add some prerequisites and then deposit the DLL(s) and/or EXE(s) manually?
0
Comment
Question by:hbash
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:xenacode
ID: 37741182
The recommended installation method for VSTO solutions is Click Once. Click Once can install your solution, along with prerequisites, without admin rights.

Pete
Xenacode Ltd
0
 
LVL 1

Author Comment

by:hbash
ID: 37743493
I did not see that as the case.  I remoted into a box without local admin and the setup needed to install some prerequisites such as VSTO runtime and it failed to do so.

Also, there are potentially registry  updates that the setup may make that also require some elevated rights.
0
 
LVL 6

Expert Comment

by:xenacode
ID: 37743718
what registry values require elevated rights?
0
 
LVL 1

Author Comment

by:hbash
ID: 37747237
I can tell you that the VSTO 2010 would not install on the machine I attempted to run the install.  I did not have rights to do the install whereas a local admin ran the setup.  I would think that the registry will also be secured.  

I do not have a particular registry entry in mind which is why in my comment I used the word "may".
0
 
LVL 6

Accepted Solution

by:
xenacode earned 500 total points
ID: 37751642
OK. Let me clarify. There are certain pre-requisites for VSTO solutions such as .NET Framework and VSTO Runtime that you do need administrator rights to install. If you want users to be able to install your solution without admin rights then you need to have these pre-requisites pre-installed.

Otherwise Click Once is not an option for you. An alternative method of installing VSTO solutions is via a Windows Installer package i.e. an MSI file. This would need to be installed by an administrator and therefore the solution must be installed for all users if it is to be used by non-admin users.

Here's a link showing you how to do it:

http://msdn.microsoft.com/en-us/library/ff937654.aspx
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Outlook Free & Paid Tools
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now