Deploying Visual Studio 2005 Tools for Office Second Edition

 

  1. Download the redistributable Visual Studio 2005 Tools for Office Second Edition runtime (vstor.exe).
  2. Create an administrative installation point for VSTO and note location of the installation package (vsto.msi).
  3. Create and edit a group policy object. Ensure that the installation package will be installed with elevated privileges.
  4. Under Computer Configuration add a software installation item by referencing the vsto.msi package that is created at the administrative installation point. The path must be specified as a network share e.g.\\{server}\{path}\vsto.msi
  5. Link the GPO to OUs containing the target computers.
Advertisements

About Paul Cardelli, CISSP
Cyber Security Analyst, and computer guru

One Response to Deploying Visual Studio 2005 Tools for Office Second Edition

  1. Aldo Elam Majiah says:

    Deploying vstor.exe (Visual Studio 2005 Tools for Office Second Edition Runtime) using Group Policy.
    1. Copy vstor.exe to a share folder. Give the share folder read access to “Domain Users”
    2. Create a GPO and apply it to appropiate Computers Organizational Unit (not Users OU).
    3. In the OU, modify startup script (Computer Configuration –> Windows Settings –> Scripts –> Startup.
    4. Make your GPO run the script below. Give a .vbs extension to the script (It’s a vbscript). You might want to encrypt it into a .vbe file because the

    script contains a password.

    this GPO and script have been tested succesfully.

    ————————
    Option explicit
    Dim oShell
    Dim objFSO, strSourceFile, strTargetFile

    strSourceFile = “\\servername\share_folder\vstor.exe”
    strTargetFile = “c:\”

    set oShell= Wscript.CreateObject(“WScript.Shell”)
    Set objFSO = CreateObject(“Scripting.FileSystemObject”)

    On Error Resume Next
    If objFSO.FileExists( strTargetFile) Then
    Endend
    Else
    objFSO.CopyFile strSourceFile, strTargetFile
    End If

    oShell.Run “RunAs /noprofile /user:your_domain\administrative_account “”C:\vstor.exe /q”””
    WScript.Sleep 100
    oShell.Sendkeys “password_of_the_administrative_account~”

    Endend:
    Wscript.Quit
    —————————

    Regards,
    Aldo Elam Majiah

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: