temp_BoxstarterPackage.1.0.0.nupkg should be created in %temp%


Use case:
Background: the boxstarter installation is stored in a network share (\server\boxstarter) to make it available for new bare hosts. (see http://boxstarter.org/InstallingPackages, "Running an Install from a network share or external media")

If boxstarter.bat then is used to execute a text script (as described here: http://boxstarter.org/WebLauncher, install from a gist) a temporary boxstarter package (temp_BoxstarterPackage.1.0.0.nupkg) is created in $boxstarter.basedir\BuildPackages on the share.

This effectively turns $boxstarter.basedir\BuildPackages\temp_BoxstarterPackage.1.0.0.nupkg into a shared mutable state which will lead to problems if multiple bare hosts runs boxstarter from the same share but with different text scripts at the same time.

Suggestion: (by Matt Wrock: https://twitter.com/mwrockx/status/445610173160120320)
temp packages created when running text scripts should be stored in the bare host's %temp% directory.
Closed Sep 16, 2014 at 5:37 AM by mwrock