Solved

VSTO 2010 Install Issue with no local Admin

Posted on 2012-03-19
5
931 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:Howard Bash
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:Howard Bash
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:Howard Bash
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
This article describes a serious pitfall that can happen when deleting shapes using VBA.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

734 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