By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Create Registry Entry On Install.

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.