Create Registry Entry On Install.

  • Thread starter Thread starter Tull Clancey
  • Start date Start date
T

Tull Clancey

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.
 
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.
 
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.
 
start visual studio and choose a setup project , now follow Idle brain`s
instructions

regards

Michel Posseth [MCP]
 
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 said:
start visual studio and choose a setup project , now follow Idle brain`s
instructions

regards

Michel Posseth [MCP]



Tull Clancey said:
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.
 
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.
 
Back
Top