It looks like your intent is for the install BAT to be run from a CMD or PowerShell console.
If you insert something like:
$ParrentProcess = GWmi Win32_Process -filter "processid = $PID" | % { Get...
Id #12 | Release:
None
| Updated: Mar 27 at 6:40 PM by Jmiller76 | Created: Mar 27 at 6:40 PM by Jmiller76
Chocolatey has a command available at http://chocolatey.org/ that a user can run from both cmd and powershell to get chocolatey installed:
@powershell -NoProfile -ExecutionPolicy unrestricted -Comm...
Id #10 | Release:
None
| Updated: Mar 25 at 3:52 PM by mwrock | Created: Mar 24 at 7:12 PM by jmanning
Never written one so i dont know all the constraints. Thinking of a command like:
Start http://boxstarter.org/{user}/{package}
This downloads the BoxStarter module and away you go.
Id #7 | Release:
None
| Updated: Mar 27 at 9:09 PM by Jmiller76 | Created: Aug 3, 2012 at 10:13 AM by mwrock
With tab completion for the choclotey names
Id #6 | Release:
None
| Updated: Aug 3, 2012 at 10:08 AM by mwrock | Created: Aug 3, 2012 at 10:08 AM by mwrock
This includes a way for intelligently looking for the exe if an absolute path is not given searching programfiles, appsettings, tools, root, Choclatey\Lib.
Id #3 | Release:
None
| Updated: Aug 3, 2012 at 10:04 AM by mwrock | Created: Aug 3, 2012 at 10:04 AM by mwrock
The source is relative to the package and the target might be the program executable of a inclluded package.
Box-Copy Console.xmx console.exe
This includes a way for intelligently looking for t...
Id #2 | Release:
None
| Updated: Aug 3, 2012 at 10:03 AM by mwrock | Created: Aug 3, 2012 at 10:03 AM by mwrock