473,467 Members | 1,300 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Checking registry

I have a windows application distributed across an intranet using ClickOnce
deployment. The problem I have is that my project makes a reference to a COM
object on the client machine.

Is there any way I can set this up so that my application can check to see
if the COM compnent is registered on the client machine and if not, copy it
to the client machine and register it automatically ?

Thanks In Advance
Jan 23 '06 #1
1 971
you can do this by adding the component as a custom prerequisite to your
installer.
when your app is installed, setup will check the prerequisites and only
install them if they are not already installed.

for detailed instruxctions check MSDN under
Dev tools and languages->visual studio -> integrated evelopment environment
-> deploying applications -> adding custom prerequisites.

kind regards,
Bruno.
"poppy" wrote:
I have a windows application distributed across an intranet using ClickOnce
deployment. The problem I have is that my project makes a reference to a COM
object on the client machine.

Is there any way I can set this up so that my application can check to see
if the COM compnent is registered on the client machine and if not, copy it
to the client machine and register it automatically ?

Thanks In Advance

Jan 23 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Tongu? Yumruk | last post by:
I have a little proposal about type checking in python. I'll be glad if you read and comment on it. Sorry for my bad english (I'm not a native English speaker) A Little Stricter Typing in Python...
4
by: GujuBoy | last post by:
i want to check to see if a certain program is installed on my windows box using python. how can i do that...(ie, i want to see if "word" is installed) please help
5
by: Jeff | last post by:
Hi - I'm creating an installation program that will install a VB.NET program and an instance of MSDE on an unknown desktop (commercial application). The install will include the MSDE...
0
by: gsb58 | last post by:
Hi! I have a little problem with the registry function. The function is supposed to check the registry as the main form is activated. If there is a key it should not write to the registry, as it...
2
by: Jozef | last post by:
Hi folks! I'm trying to develop a system that will allow users to keep preference settings in the registry. Is there any way to detect if the user has rights to write to the registry without...
3
by: jonefer | last post by:
How can I lookup registry values? I'd like to check for the existence of this folder in the registry: HKLM\Software\AcmeCompany\MWIApplications\AutoLogonForSharedWorkstations so that I can use...
6
by: JOSII | last post by:
Getting a string of boolean value into and out of the registry is no problem. Here's the problem: Although you can place an object into the registry and retreive it, I need to place an ArrayList...
2
by: Nick 'The Database Guy' | last post by:
Hi All, I have writen a value to the registry. What I want to know is, is there a way that I can check that value? Thanks in advance. Nick
2
by: causesdrowsiness | last post by:
Hi everyone. Sorry if this is the wrong group for this question, but since it is .NET and VB, I thought someone may be able to help me here or point me to the right group for this. I am...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.