Create Registry Entry On Install.

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.
 
I

IdleBrain

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.
 
T

Tull Clancey

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.
 
M

Michel Posseth [MCP]

start visual studio and choose a setup project , now follow Idle brain`s
instructions

regards

Michel Posseth [MCP]
 
T

Tull Clancey

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.
 
T

Tull Clancey

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

EXE and Dev environment. 8
Email monitoring 1
Create Access ODBC DSN ? 3
VB 2005 and Exchange Server 3
Deploying the framework. 2
VB Net and ADOX 8
Number of database connections 4
Multiple Component Classes 7

Top