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
Solved

VSTO 2010 Install Issue with no local Admin

Posted on 2012-03-19
5
897 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
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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…

808 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