Results 1 to 2 of 2

Thread: [VS.Net Deployment] Insert DateTime.Now to Registry

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    [VS.Net Deployment] Insert DateTime.Now to Registry

    I need help in inserting DateTime.Now value to registry in the deployment project with VS.Net. Any help? Thanks in advance.

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [VS.Net Deployment] Insert DateTime.Now to Registry

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width