473,378 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Create Registry Entry On Install.

Hi. Does anyone have a way of creating a registry entry during the VB Net
2003 installation process? I can't rely on the application adding the entry
on first run.

Any help gratefully recevied.

Cheers,
Tull.
May 2 '06 #1
5 9253
Hai,
If you mean VB NET 2003 installation process as Project installation
using the .msi file:
Create a registry file with the registry entry in it.
Add this registry file into the Setup project and configure the
properties of the 'Register' property of the file to vsdrfCOMSelfReg.

This should do it.

May 2 '06 #2
Thanks, I have no idea what any of this means, but I have a day to sort it
out!

I'll let you know if I get it sorted.

Cheers,
Tull.
"IdleBrain" <in**************@yahoo.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
Hai,
If you mean VB NET 2003 installation process as Project installation
using the .msi file:
Create a registry file with the registry entry in it.
Add this registry file into the Setup project and configure the
properties of the 'Register' property of the file to vsdrfCOMSelfReg.

This should do it.

May 2 '06 #3
start visual studio and choose a setup project , now follow Idle brain`s
instructions

regards

Michel Posseth [MCP]

"Tull Clancey" <tu**********@btopenworld.com> schreef in bericht
news:uO********************@bt.com...
Thanks, I have no idea what any of this means, but I have a day to sort it
out!

I'll let you know if I get it sorted.

Cheers,
Tull.
"IdleBrain" <in**************@yahoo.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
Hai,
If you mean VB NET 2003 installation process as Project installation
using the .msi file:
Create a registry file with the registry entry in it.
Add this registry file into the Setup project and configure the
properties of the 'Register' property of the file to vsdrfCOMSelfReg.

This should do it.


May 2 '06 #4
I've got the file sorted, it's included in the installation package and all
was looking so good... Until...

On isntallation I get the following error:

c:\program files\myapp\valid.reg failed to register HRESULT -2147024703
Contact blah blah.

I am an administrator with all rights, I've tried searching for the error
but no success, any ideas?

If I run the file on the local machine, Ah, found the problem, I have
spyware that disables the reg script. Is there any way around this?

I want the installation to add a reg entry of, for the sake of argument
"Install". When the application is first run it will check this entry and
change it to an ecrypted date code, so the users are given a trial period.

If I instruct them to run the file manualy they have the ability to work out
the logic.

Any ideas?

Cheers,
Tull.
"Michel Posseth [MCP]" <MS**@posseth.com> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
start visual studio and choose a setup project , now follow Idle brain`s
instructions

regards

Michel Posseth [MCP]

"Tull Clancey" <tu**********@btopenworld.com> schreef in bericht
news:uO********************@bt.com...
Thanks, I have no idea what any of this means, but I have a day to sort
it out!

I'll let you know if I get it sorted.

Cheers,
Tull.
"IdleBrain" <in**************@yahoo.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
Hai,
If you mean VB NET 2003 installation process as Project installation
using the .msi file:
Create a registry file with the registry entry in it.
Add this registry file into the Setup project and configure the
properties of the 'Register' property of the file to vsdrfCOMSelfReg.

This should do it.



May 2 '06 #5
This works as long as there are no spyware/anti virus packages looking for
script updates on the registry. Does anyone know a way around this?

My application is legitimate but I dont' want to pay MS loads of money to
find their back doors!

Cheers.

"IdleBrain" <in**************@yahoo.com> wrote in message
news:11**********************@j73g2000cwa.googlegr oups.com...
Hai,
If you mean VB NET 2003 installation process as Project installation
using the .msi file:
Create a registry file with the registry entry in it.
Add this registry file into the Setup project and configure the
properties of the 'Register' property of the file to vsdrfCOMSelfReg.

This should do it.

May 8 '06 #6

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

Similar topics

1
by: John Taylor | last post by:
I want to visit each windows registry entry (or at least a large number of them) and lookup the value for each entry. I want to take a snapshot of registry entries before and after I install...
5
by: Brad Tilley | last post by:
Python 2.3 placed a registry key under: 'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Python2.3' When this key was removed, Python no longer appeared in the Windows...
2
by: Brent Shire | last post by:
To anyone who is willing and able to help me! I have developed a Windows application in VB .NET and wish to deploy it from a CD using a typical install program. I have created a deployment...
9
by: Swami | last post by:
I was wondering how I can programmatically find out the path of an installed program. I have an application that needs access to a config file that resides in the folder of another application. ...
7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
1
by: Daniel | last post by:
what exact registry entries does the installing of a .net windows service create? either with installutil or with a deployment project.
3
by: techmaccoy | last post by:
I am trying to access a entry under HKEY_Current_USER/Software. In My code it List seven subkeys under there. Actually there are lot more and the entry i wanted to access in seen in the Registry,...
4
by: Doug Bell | last post by:
Hi, I have a small application with a User Settings form I would like to give the Users the ability to (at any time) set the Application to load when the PC is started. Can someone point me in...
8
by: Kniffel | last post by:
hi everyone I programm an ISAPI extension with embedded Visual C++ for a Windows CE device. I try to write the network settings to the registry. I am able to write the IpAdress to the registry,...
1
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...
0
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...
0
isladogs
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.