How to create package that uninstalls itself right after it is installed?

Aug 14, 2011 at 3:46 PM

What I want to achieve is create package that works like NuGetPSVariables. After Install-Package it does it's work and uninstalls itself.

I tried to download NuGetPSVariables package using Powershell script - http://weblogs.asp.net/jgalloway/archive/2011/02/02/downloading-a-local-nuget-repository-with-powershell.aspx and check it's scripts but it wasn't downloaded, weird.

I want my package to download snippets and disappear (leaving snippets). Maybe you have some other suggestions on how it should work?

I also posted this question on SO - http://stackoverflow.com/questions/7056390/how-to-create-nuget-package-that-uninstalls-itself-right-after-install

Aug 14, 2011 at 5:00 PM

Nuget package explorer will let you look at packages...should do the trick.

____
Rob
"Be passionate in all you do"

http://devlicio.us/blogs/rob_reynolds
http://ferventcoder.com
http://twitter.com/ferventcoder

Aug 14, 2011 at 7:19 PM

I don't have package that works how I would like my package to work.