Click here to Skip to main content
15,887,326 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to make a network connection at this case? Pin
Majid_grok5-Jun-09 1:36
Majid_grok5-Jun-09 1:36 
GeneralRe: How to make a network connection at this case? Pin
stancrm5-Jun-09 1:39
stancrm5-Jun-09 1:39 
QuestionCan we use pointers or similar in C# ? Pin
Otex4-Jun-09 23:53
Otex4-Jun-09 23:53 
AnswerRe: Can we use pointers or similar in C# ? Pin
0x3c05-Jun-09 0:01
0x3c05-Jun-09 0:01 
GeneralRe: Can we use pointers or similar in C# ? Pin
Otex5-Jun-09 0:15
Otex5-Jun-09 0:15 
GeneralRe: Can we use pointers or similar in C# ? Pin
0x3c05-Jun-09 0:21
0x3c05-Jun-09 0:21 
AnswerRe: Can we use pointers or similar in C# ? Pin
Christian Graus5-Jun-09 0:12
protectorChristian Graus5-Jun-09 0:12 
QuestionOutlook 2003 VSTO Addin deployment on Windows Vista - Registry and other issues - How to Pin
Chaitanya Joshi4-Jun-09 23:28
Chaitanya Joshi4-Jun-09 23:28 
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/bb332052.aspx)

Thanks a lot once again for your appreciation. Awaiting the reply.

regards,

Chaitanya
AnswerRe: Outlook 2003 VSTO Addin deployment on Windows Vista - Registry and other issues - How to Pin
led mike5-Jun-09 4:37
led mike5-Jun-09 4:37 
GeneralRe: Outlook 2003 VSTO Addin deployment on Windows Vista - Registry and other issues - How to Pin
Chaitanya Joshi7-Jun-09 23:26
Chaitanya Joshi7-Jun-09 23:26 
GeneralRe: Outlook 2003 VSTO Addin deployment on Windows Vista - Registry and other issues - How to Pin
led mike8-Jun-09 5:37
led mike8-Jun-09 5:37 
QuestionBatch Insert Problem with SqlBulkCopy. Pin
hdv2124-Jun-09 22:33
hdv2124-Jun-09 22:33 
AnswerRe: Batch Insert Problem with SqlBulkCopy. Pin
Manas Bhardwaj4-Jun-09 22:41
professionalManas Bhardwaj4-Jun-09 22:41 
GeneralRe: Batch Insert Problem with SqlBulkCopy. Pin
hdv2124-Jun-09 23:45
hdv2124-Jun-09 23:45 
GeneralRe: Batch Insert Problem with SqlBulkCopy. Pin
Manas Bhardwaj4-Jun-09 23:49
professionalManas Bhardwaj4-Jun-09 23:49 
GeneralRe: Batch Insert Problem with SqlBulkCopy. Pin
hdv2125-Jun-09 0:41
hdv2125-Jun-09 0:41 
AnswerRe: Batch Insert Problem with SqlBulkCopy. Pin
I Believe In GOD5-Jun-09 2:04
I Believe In GOD5-Jun-09 2:04 
QuestionHow to install Microsoft.mshtml.dll in GAC Pin
svt gdwl4-Jun-09 22:28
svt gdwl4-Jun-09 22:28 
AnswerRe: How to install Microsoft.mshtml.dll in GAC Pin
Christian Graus4-Jun-09 23:05
protectorChristian Graus4-Jun-09 23:05 
QuestionWMI Pin
arkiboys4-Jun-09 22:21
arkiboys4-Jun-09 22:21 
AnswerRe: WMI Pin
Pete O'Hanlon4-Jun-09 23:05
mvePete O'Hanlon4-Jun-09 23:05 
GeneralRe: WMI Pin
arkiboys4-Jun-09 23:49
arkiboys4-Jun-09 23:49 
GeneralRe: WMI Pin
arkiboys5-Jun-09 0:31
arkiboys5-Jun-09 0:31 
QuestionUser Control Pin
User 62554644-Jun-09 21:14
User 62554644-Jun-09 21:14 
AnswerRe: User Control Pin
Christian Graus4-Jun-09 21:37
protectorChristian Graus4-Jun-09 21:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.