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 - 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 5: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 7:19 PM

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