0

I like to enter the deployment time of wsp into registry when we had installed on particular server.

How to get it in code?

4
  • 1
    How are you deploying WSP, if you are using powershell script , you can think of adding scripts to your code for updating registry. Commented May 9, 2014 at 11:56
  • do you have any code to enter entry in registry on feature activation? Commented May 9, 2014 at 13:02
  • Are you wanting to schedule the deployment of a WSP or get the time it was deployed? Commented May 9, 2014 at 15:44
  • There are a lot of examples in the internet. Look at blogs.technet.com/b/heyscriptingguy/archive/2012/05/09/… Commented May 9, 2014 at 19:35

1 Answer 1

0

Check this thread: https://stackoverflow.com/questions/19705401/how-to-set-system-environment-variable-in-c It has code examples for setting values in registry.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.