Solved

VSTO 2010 Install Issue with no local Admin

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question! 4 36
Simple Injector with Web Service 4 38
HTML - Color not displaying correctly in EMAIL. 6 32
Install both Office 2010 and 2013 4 35
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

813 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

12 Experts available now in Live!

Get 1:1 Help Now