Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Outlook 2003 VSTO Addin deployment on Windows Vista - Registry and other issues - How to

Outlook 2003 VSTO Addin deployment on Windows Vista - Registry and other issues - How to

Scheduled Pinned Locked Moved C#
questioncsharpvisual-studiohelpcom
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Chaitanya Joshi
    wrote on last edited by
    #1

    Hello everybody, First of all thanks a lot for all of yours' support on forums, blogs and dev networks with the help of which development becomes very easy and motivating. I've developed an addin for Outlook 2003 using VSTO SE and VS 2005 (C#). By referring to the articles regarding deployment I was able to manage to create its MSI installer from setup and deployment project in the solution. The addin gets properly installed on other machines having Outlook 2003 and works there fine. All the security policies are granted properly as well. I am using SetSecurity project for granting trust to assemblies. For that I had referred to articles Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer Part 1 & 2 (http://msdn.microsoft.com/en-us/library/aa537173(office.11).aspx) (http://msdn.microsoft.com/en-us/library/aa537179.aspx) Now I want to deploy the same addin for Windows Vista. I am aware of the issues faced due to UAC. The major issue is regarding admin access to installer and need of presence of registry keys in HKLM when UAC is turned off. In my installer project I can add those additional registry keys in Registry view. Now my questions are (finally ...) 1. I want to know whether it is possible to use a single installer for Windows XP and Windows Vista. If yes, how can I determine OS version in my Custom Actions or Launch Conditions? 2. If answer to previous question is positive then are there any changes required in method of granting trust to assemblies For Windows Vista? I've already stated that I'm using modified version of SetSecurity project for that. 3. How can determine in Windows Vista whether the UAC has been turned on or off? How can I set a registry launch condition for that so that I can register additional keys in HKLM hive. I'm anyways going to add keys in HKCU for both XP as well as Vista. 4. How can I add those registry keys if I find that it's Windows Vista and UAC is turned off? I've read articles. They say all about where to change in the registry of Windows Vista, but not how to change it. * Deploying Application Level Addins (http://msdn.microsoft.com/en-us/library/ms269007(VS.80).aspx) * Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer (Part 1 of 2) (http://msdn.microsoft.com/en-us/library/bb332051.aspx) * Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer: Walkthroughs (Part 2 of 2) (http://msdn.microsoft.com/en-us/library

    L 1 Reply Last reply
    0
    • C Chaitanya Joshi

      Hello everybody, First of all thanks a lot for all of yours' support on forums, blogs and dev networks with the help of which development becomes very easy and motivating. I've developed an addin for Outlook 2003 using VSTO SE and VS 2005 (C#). By referring to the articles regarding deployment I was able to manage to create its MSI installer from setup and deployment project in the solution. The addin gets properly installed on other machines having Outlook 2003 and works there fine. All the security policies are granted properly as well. I am using SetSecurity project for granting trust to assemblies. For that I had referred to articles Deploying Visual Studio 2005 Tools for Office Solutions Using Windows Installer Part 1 & 2 (http://msdn.microsoft.com/en-us/library/aa537173(office.11).aspx) (http://msdn.microsoft.com/en-us/library/aa537179.aspx) Now I want to deploy the same addin for Windows Vista. I am aware of the issues faced due to UAC. The major issue is regarding admin access to installer and need of presence of registry keys in HKLM when UAC is turned off. In my installer project I can add those additional registry keys in Registry view. Now my questions are (finally ...) 1. I want to know whether it is possible to use a single installer for Windows XP and Windows Vista. If yes, how can I determine OS version in my Custom Actions or Launch Conditions? 2. If answer to previous question is positive then are there any changes required in method of granting trust to assemblies For Windows Vista? I've already stated that I'm using modified version of SetSecurity project for that. 3. How can determine in Windows Vista whether the UAC has been turned on or off? How can I set a registry launch condition for that so that I can register additional keys in HKLM hive. I'm anyways going to add keys in HKCU for both XP as well as Vista. 4. How can I add those registry keys if I find that it's Windows Vista and UAC is turned off? I've read articles. They say all about where to change in the registry of Windows Vista, but not how to change it. * Deploying Application Level Addins (http://msdn.microsoft.com/en-us/library/ms269007(VS.80).aspx) * Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer (Part 1 of 2) (http://msdn.microsoft.com/en-us/library/bb332051.aspx) * Deploying Visual Studio 2005 Tools for the Office System SE Solutions Using Windows Installer: Walkthroughs (Part 2 of 2) (http://msdn.microsoft.com/en-us/library

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Chaitanya Joshi wrote:

      how can I determine OS version in my Custom Actions or Launch Conditions?

      See here[^]

      Chaitanya Joshi wrote:

      How can I add those registry keys if I find that it's Windows Vista and UAC is turned off?

      See here[^] ( Also notice where this page is in MSDN (see the location links at the top ), it's in the Windows Installer Documentation. You may find many answers here, like this one, if you just look )

      C 1 Reply Last reply
      0
      • L led mike

        Chaitanya Joshi wrote:

        how can I determine OS version in my Custom Actions or Launch Conditions?

        See here[^]

        Chaitanya Joshi wrote:

        How can I add those registry keys if I find that it's Windows Vista and UAC is turned off?

        See here[^] ( Also notice where this page is in MSDN (see the location links at the top ), it's in the Windows Installer Documentation. You may find many answers here, like this one, if you just look )

        C Offline
        C Offline
        Chaitanya Joshi
        wrote on last edited by
        #3

        Thanks Led... Very precious links. But word about MSDN links... I was not investigating what registry keys were to be added but where to add them as in which section of VS Setup & Deployment Project by checking the necessary conditions. Thanks for help though...

        L 1 Reply Last reply
        0
        • C Chaitanya Joshi

          Thanks Led... Very precious links. But word about MSDN links... I was not investigating what registry keys were to be added but where to add them as in which section of VS Setup & Deployment Project by checking the necessary conditions. Thanks for help though...

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          Chaitanya Joshi wrote:

          which section of VS Setup & Deployment Project

          I don't know what that means. Windows Installer has tables, I don't know what "section" means.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups