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

Aug 14, 2011 at 2: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 - 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 -

Aug 14, 2011 at 4:00 PM

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

"Be passionate in all you do"

Aug 14, 2011 at 6:19 PM

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