Re:Create a web app from scratch in under 5 minutes with Met...
by TazeTSchnitzel on Thursday February 07, 2013 @02:37PM
(#5184063)
@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('http://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%systemdrive%\chocolatey\bin
Goodness, that looks awful.
Re:Create a web app from scratch in under 5 minutes with Met...
by orionblastar on Thursday February 07, 2013 @04:49PM
(#5184733)
Heh the least they could do is put that into a batch file to be downloaded and clicked on to run.
Chocolatey is sort of like an alternative apt-get for Windows, except that it doesn't need s sudo command and your password to install software. It uses cinst to install stuff:
cinst firefox
Installs Firefox.
The UAC asks the current user to allow the setup program to run and that is about it. No password needed to install like apt-get has.
Oh yeah if your PC doesn't have Powershell installed you are SOL if you try to use that command to install Chocolatey. Some administrators remove it because it can be used to install software without being known to the user.
Re:Create a web app from scratch in under 5 minutes with Met...
by serge2k on Thursday February 07, 2013 @10:32PM
(#5186147)
Right, because UAC assumes someone who is logged in as an admin is supposed to be. I configure sudo like this on some of my dev machines, easier and I don't care about them (usually just VMs).
Why not just restrict the execution policy? I don't really know PS thta well, but doesn't that stop arbitrary (or any) scripts?
Re:Create a web app from scratch in under 5 minutes with Met...
by orionblastar on Sunday February 10, 2013 @11:23PM
(#5199370)
You are revealing the security flaws of Windows. Cancel or Allow?
[1] http://chocolatey.org/