Solved

VSTO 2010 Install Issue with no local Admin

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

This article describes a serious pitfall that can happen when deleting shapes using VBA.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

627 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