I need help in inserting DateTime.Now value to registry in the deployment project with VS.Net. Any help? Thanks in advance.
Printable View
I need help in inserting DateTime.Now value to registry in the deployment project with VS.Net. Any help? Thanks in advance.
Hey,
What problem are you having exactly?
In order to do this, you are going to need to create a Custom Installer and then override the Install method and put the code for accessing the registry in there. In addition, during the uninstallation you should add code to remove/reset the registry key.
Have a look here for creating the Registry Key:
http://msdn.microsoft.com/en-us/libr...f7(VS.80).aspx
And here for creating a custom installation step:
http://msdn.microsoft.com/en-us/libr...2d(VS.80).aspx
Hope that helps!!
Gary