Questions tagged [boxstarter]

Boxstarter can run any Chocolatey standard Nuget package to create an environment customized to your needs and tastes.

Read more:
http://boxstarter.org/

10 questions
4
votes
2 answers

Should I ever include a reboot command in my BoxStarter script?

Question Is there ever a reason to include if (Test-PendingReboot) { Invoke-Reboot } in a BoxStarter script when $Boxstarter.RebootOk=$true is declared? Background I've recently discovered BoxStarter and noticed that a number of scripts out there…
JohnLBevan
  • 22,735
  • 13
  • 96
  • 178
3
votes
1 answer

Passing parameters to Boxstarter via Install-BoxstarterPackage

When invoking a BoxStarter package, I use a powershell line such as: Install-BoxstarterPackage -Package $script I would like to pass some command line arguments into the package, but this does not seem to be supported. Some relevant…
jmsb
  • 4,846
  • 5
  • 29
  • 38
3
votes
1 answer

Run Boxstarter in "Debug" mode?

I'm writing some BoxStarter scripts for unattended installation. I've put some Write-Debug in my scripts and would like to conditionally see their output. Is there a flag I could run BoxStarter with (BoxStarter.bat PackageName -Debug don't…
CDuv
  • 2,098
  • 3
  • 22
  • 28
2
votes
0 answers

How to test if a program is already installed with BoxStarter script?

Is there any built-in command to check if a program is already installed, but not by Chocolatey? function Get-InstalledApps { if ([IntPtr]::Size -eq 4) { $regpath = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' } …
Adrian Halid
  • 589
  • 8
  • 17
2
votes
0 answers

Boxstarter won't install on Windows 10

I'm running Windows 10 (PowerShell v5.0.10240.16384, Chocolatey latest, and Boxstarter latest). I can't seem to get parts of boxstarter to install: boxstarter.winconfig boxstarter.bootstrapper boxstarter.chocolatey It fails with messages similar…
johnstaveley
  • 1,400
  • 1
  • 22
  • 46
2
votes
2 answers

Boxstarter or PowerShell command to change "Opens With" properties

I'm trying to develop my own Boxstarter script for spinning up new machines. I just realized that I'd really like to add a line that will change default applications to open certain file types. For example, I want to open .txt files with Notepad++.…
tmoore82
  • 1,857
  • 1
  • 27
  • 48
1
vote
2 answers

windows schedule task could not successfully run at startup

I use a script to create a windows scheduled task to call a powershell script in elevated mode to run windows update by using boxstarter (a tool could automatically continue running code even there is reboot during the execution) when system…
0
votes
1 answer

Boxstarter fails to install package (extracted script is actually a zip file)

I'm trying to make a simple Boxstarter package that will install a few basics to new machines. Nothing special. I've created a new package as suggested in the docs (using the Boxstarter shell): New-BoxstarterPackage -Name MyPackage -Description "I…
Dan McCoy
  • 313
  • 2
  • 15
0
votes
1 answer

Boxstarter For Software Automation

We are trying to automate our deployment process, we are mainly using .net/Microsoft stack which happen to be a good fit to use CICD like TeamCity and Octopus, however looking into automating the way projects gets installed on local dev machines…
TechNerd
  • 910
  • 1
  • 10
  • 19
0
votes
1 answer

Chocolatey Installation of Visual Studio Pro 2012 is failing

I'm using Chocolatey to install Visual Studio 2012 Professional > cinst visualstudio2012professional In my Chocolatey logs, I'm seeing that the install succeeded. [DEBUG] Running 'Delete-ExistingErrorLog' for VisualStudio2012Professional [DEBUG]…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376