Hi,
I have this method in my c# vs.net 2003 code:
================= Start Code =================
private void isOutlook()
{
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path");
if( path != null)
System.Diagnostics.Process.Start("OUTLOOK.EXE");
else
MessageBox.Show("There is no Outlook in this computer!","System
Error",MessageBoxButtons.OK,MessageBoxIcon.Exclama tion);
}
================= End Code =================
I have com add-in to outlook 2003, code in c#.
I want to check if this add-in was installed in this computer.
if no --I want to install the setup.exe of my com add-in from this method.
Is it possible to run setup file from C# code?
Thanking you in anticipation,
Yael. 5 2517
private void isOutlook(){
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path"); if( path != null)// if have
outlook do the installing com add-in
//if this com add-in not yet installed
System.Diagnostics.Process.Start("C:\\MatarotToolb ar\\MatarotToolbarSetup\\Debug\\Setup.Exe");
}
1) How to check before calling the installer if this add-in was installed in
this computer?
2) How to check the path of MatarotToolbarSetup\\Debug\\Setup.Exe???
"Yael" wrote:
Hi,
I have this method in my c# vs.net 2003 code:
================= Start Code =================
private void isOutlook()
{
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path");
if( path != null)
System.Diagnostics.Process.Start("OUTLOOK.EXE");
else
MessageBox.Show("There is no Outlook in this computer!","System
Error",MessageBoxButtons.OK,MessageBoxIcon.Exclama tion);
}
================= End Code =================
I have com add-in to outlook 2003, code in c#.
I want to check if this add-in was installed in this computer.
if no --I want to install the setup.exe of my com add-in from this method.
Is it possible to run setup file from C# code?
Thanking you in anticipation,
Yael.
"Yael" <Ya**@discussions.microsoft.comwrote in message
news:FA**********************************@microsof t.com...
private void isOutlook(){
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app
paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path"); if( path != null)// if have
outlook do the installing com add-in
//if this com add-in not yet installed
System.Diagnostics.Process.Start("C:\\MatarotToolb ar\\MatarotToolbarSetup\\Debug\\Setup.Exe");
}
1) How to check before calling the installer if this add-in was installed
in
this computer?
If it is a COM add-in, then there will certainly be entries in
HKEY_CLASSES_ROOT\Clsid that are specific to that addin.
>
2) How to check the path of MatarotToolbarSetup\\Debug\\Setup.Exe???
"Yael" wrote:
>Hi, I have this method in my c# vs.net 2003 code: ================= Start Code ================= private void isOutlook() { Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey( "Software\\microsoft\\windows\\currentversion\ \app paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path"); if( path != null) System.Diagnostics.Process.Start("OUTLOOK.EXE"); else MessageBox.Show("There is no Outlook in this computer!","System Error",MessageBoxButtons.OK,MessageBoxIcon.Exclam ation); } ================= End Code =================
I have com add-in to outlook 2003, code in c#. I want to check if this add-in was installed in this computer. if no --I want to install the setup.exe of my com add-in from this method. Is it possible to run setup file from C# code? Thanking you in anticipation, Yael.
before running the setup?
Could you set me how to code it please...I'm no't fully understand
Thank's
"Ben Voigt" wrote:
>
"Yael" <Ya**@discussions.microsoft.comwrote in message
news:FA**********************************@microsof t.com...
private void isOutlook(){
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app
paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path"); if( path != null)// if have
outlook do the installing com add-in
//if this com add-in not yet installed
System.Diagnostics.Process.Start("C:\\MatarotToolb ar\\MatarotToolbarSetup\\Debug\\Setup.Exe");
}
1) How to check before calling the installer if this add-in was installed
in
this computer?
If it is a COM add-in, then there will certainly be entries in
HKEY_CLASSES_ROOT\Clsid that are specific to that addin.
2) How to check the path of MatarotToolbarSetup\\Debug\\Setup.Exe???
"Yael" wrote:
Hi,
I have this method in my c# vs.net 2003 code:
================= Start Code =================
private void isOutlook()
{
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app
paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path");
if( path != null)
System.Diagnostics.Process.Start("OUTLOOK.EXE");
else
MessageBox.Show("There is no Outlook in this computer!","System
Error",MessageBoxButtons.OK,MessageBoxIcon.Exclama tion);
}
================= End Code =================
I have com add-in to outlook 2003, code in c#.
I want to check if this add-in was installed in this computer.
if no --I want to install the setup.exe of my com add-in from this
method.
Is it possible to run setup file from C# code?
Thanking you in anticipation,
Yael.
"Yael" <Ya**@discussions.microsoft.comwrote in message
news:C1**********************************@microsof t.com...
before running the setup?
Could you set me how to code it please...I'm no't fully understand
Thank's
First use the OLE typelib viewer to find out what the UUID of the library
is. Then check whether that key is present under
HKEY_CLASSES_ROOT\TypeLib\{UUID-goes-here} to see if it is installed on the
target system.
>
"Ben Voigt" wrote:
>> "Yael" <Ya**@discussions.microsoft.comwrote in message news:FA**********************************@microso ft.com...
private void isOutlook(){
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app
paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path"); if( path != null)// if have
outlook do the installing com add-in
//if this com add-in not yet installed
System.Diagnostics.Process.Start("C:\\MatarotToolb ar\\MatarotToolbarSetup\\Debug\\Setup.Exe");
}
1) How to check before calling the installer if this add-in was
installed
in
this computer?
If it is a COM add-in, then there will certainly be entries in HKEY_CLASSES_ROOT\Clsid that are specific to that addin.
>
2) How to check the path of MatarotToolbarSetup\\Debug\\Setup.Exe???
"Yael" wrote:
Hi, I have this method in my c# vs.net 2003 code: ================= Start Code ================= private void isOutlook() { Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.LocalMachine.OpenSubKey( "Software\\microsoft\\windows\\currentversion\ \app paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path"); if( path != null) System.Diagnostics.Process.Start("OUTLOOK.EXE"); else MessageBox.Show("There is no Outlook in this computer!","System Error",MessageBoxButtons.OK,MessageBoxIcon.Exclam ation); } ================= End Code =================
I have com add-in to outlook 2003, code in c#. I want to check if this add-in was installed in this computer. if no --I want to install the setup.exe of my com add-in from this method. Is it possible to run setup file from C# code? Thanking you in anticipation, Yael.
Thank's,
Could you set me example please?
"Ben Voigt [C++ MVP]" wrote:
>
"Yael" <Ya**@discussions.microsoft.comwrote in message
news:C1**********************************@microsof t.com...
before running the setup?
Could you set me how to code it please...I'm no't fully understand
Thank's
First use the OLE typelib viewer to find out what the UUID of the library
is. Then check whether that key is present under
HKEY_CLASSES_ROOT\TypeLib\{UUID-goes-here} to see if it is installed on the
target system.
"Ben Voigt" wrote:
>
"Yael" <Ya**@discussions.microsoft.comwrote in message
news:FA**********************************@microsof t.com...
private void isOutlook(){
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app
paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path"); if( path != null)// if have
outlook do the installing com add-in
//if this com add-in not yet installed
System.Diagnostics.Process.Start("C:\\MatarotToolb ar\\MatarotToolbarSetup\\Debug\\Setup.Exe");
}
1) How to check before calling the installer if this add-in was
installed
in
this computer?
If it is a COM add-in, then there will certainly be entries in
HKEY_CLASSES_ROOT\Clsid that are specific to that addin.
2) How to check the path of MatarotToolbarSetup\\Debug\\Setup.Exe???
"Yael" wrote:
Hi,
I have this method in my c# vs.net 2003 code:
================= Start Code =================
private void isOutlook()
{
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.LocalMachine.OpenSubKey(" Software\\microsoft\\windows\\currentversion\\app
paths\\OUTLOOK.EXE");
string path = (string)key.GetValue("Path");
if( path != null)
System.Diagnostics.Process.Start("OUTLOOK.EXE");
else
MessageBox.Show("There is no Outlook in this computer!","System
Error",MessageBoxButtons.OK,MessageBoxIcon.Exclama tion);
}
================= End Code =================
I have com add-in to outlook 2003, code in c#.
I want to check if this add-in was installed in this computer.
if no --I want to install the setup.exe of my com add-in from this
method.
Is it possible to run setup file from C# code?
Thanking you in anticipation,
Yael.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: MENTAT |
last post by:
Hi,
I am trying to create an installer for my web application. So I added a
web setup project to my solution (I am using VS.NET 2003). Been playing
around with it since then and it basically...
|
by: Richard Bell |
last post by:
I'm having difficulty with memory loss on an application that
automates IE6 under XP (pro, fully up to date) using VB.Net. Every 30
minutes (triggered by the XP scheduler) the application visits a...
|
by: Alison Givens |
last post by:
....... that nobody knows the answer.
I can't imagine that I am the only one that uses parameters in CR.
So, my question again:
I have the following problem.
(VB.NET 2003 with CR)
I have a...
|
by: Wayne Smith |
last post by:
I've come up against a major headache that I can't seem to find a solution
for but I'm sure there must be a workaround and I would really be grateful
of any help.
I'm currently building a web...
|
by: Gene |
last post by:
I would like to know if the following is even possible with the visual
studio.net Setup and Deployment project.
1. During the deployment after creation of application directory the
setup needs...
|
by: bartonc |
last post by:
You can find the original author of the script by ggling " Py2Exe version 6.3 setup" The cool thing about this is that it calls py2exe, just in case you're uncomfortable with the command line. I had...
|
by: =?Utf-8?B?WmlhbmdpIEpvbmVz?= |
last post by:
Hi,
I m using VS .NET 2003 to create a website. Using the setup package I create
a setup as well.
But this setup has files with actual code in it & not pre-compiled DLLs.
Please let me know...
|
by: sanghavi |
last post by:
how to create a set up project in vb.net..how to run an application on a different machine
|
by: =?Utf-8?B?VWxm?= |
last post by:
Hi,
We have created a setup project for an app in MS VS .Net with Windows
Installer Bootstrapper selected. When installing the app, we wonder if it is
possible to start the installation using...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |