Creating registry keys via setup

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

Could someone please give me steps to create a registry key via setup,
which would be removed from registry if application is uninstalled via
setup?

Thanks

Regards
 
John,
I did give you 2 answers this morning in 2 hours.
- first how to make a showdialog.
- then how to do fix that in the register
And now you do ask for an example how to do that in the setup.
You even did not answer my question if the last sollution I gave you was the
right one.

Now I don't now anymore what are the meaning of your messages.
Cor
 
Hi

I have already used your answer on dialog that was very useful. Thanks. I am
now working on the keys issues and have left my comments on your previous
answer. Now I want to take it one step further, by erasing the keys if the
application is uninstalled so the application does not get confused the next
time it is installed. Kinda make it all bit clean and professional.

Thanks for all the help.

Regards
 
John,
I do'nt know that myself too, so I am curious for a simple answer too.
I asume you did use setup and deployment?
Cor
 
You should open the "Registry Editor" for your setup project.

This can be done by right-clicking the setup project in the solution
explorer, and select "view|registry" ( or something like that )

There you see a representation of the registry on the target machine. You
can create new keys and values. For names and values, you can use variables
in the setup project.
When clicking a key, you can change whether or not it is removed during
uninstall in the property tool window

Regards,
Peter Strøiman
 
Back
Top