WinConfig Module not importing

May 14, 2014 at 8:13 PM
I am attempting to do test with boxstarter and I am using the URL method and just to understand the process I am using example URL "START http://boxstarter.org/package/nr/url?https://gist.github.com/mwrock/7382880/raw/f6525387b4b524b8eccef6ed4d5ec219c82c0ac7/gistfile1.txt "

Boxstarter installs Chocolatey then it fails on Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop it seems as if the module WinConfig is not being imported in PS allowing the Set-WindowsExplorerOptions to work.

This may be user error as it doesn't appear WinConfig gets installed. Do I need to have Chocolatey install boxstarter.winconfig before I run the URL?
Editor
May 15, 2014 at 6:54 AM
Hello jjstabl,

To the best of my knowledge, the answer to the question is no. Using the URL method, everything that is required by Boxstarter should be installed prior to attempting the installation of the package.

Can you confirm with OS you are running the installation on?

Also, you should find a log file in the following folder:

C:\Users\<user name>\AppData\Local\Boxstarter

Would it be possible for you to upload that log file here?

Gary
May 19, 2014 at 4:33 PM
I am using Windows 8.1 with a fresh image.

Here is the error on the console -
Chocolatey (v0.9.8.23) is installing 'temp_BoxstarterPackage' and dependencies.
By installing you accept the license for 'temp_BoxstarterPackage' and each depen
dency you are installing.
______ temp_BoxstarterPackage v1.0.0 ______
WARNING: This command is deprecated, use Set-WindowsExplorerOptions instead.
WARNING: Your call to this function will now be routed to the
Set-WindowsExplorerOptions function.
Write-Error : Package 'temp_BoxstarterPackage v1.0.0' did not install successfu
lly: A parameter cannot be found that matches parameter name 'EnableShowHidenFi
lesFoldersDrives'.
At C:\Chocolatey\chocolateyinstall\functions\Chocolatey-NuGet.ps1:90 char:17
+                 Write-Error "Package `'$installedPackageName v$installedPacka
geV ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep
   tion
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
   n,Write-Error
Then here is what I get in the log file -
[2014-05-19T15:31:01.9104914-07:00:::PID 3576] Boxstarter: Disabling reboots
[2014-05-19T15:31:02.0823668-07:00:::PID 3576] Boxstarter: Installing package https://gist.githubusercontent.com/jstabl/9df5661ca14cc71b3d3e/raw/864bd9ae02f5719e3c2e8908d617b1353a917493/boxtest.txt
[2014-05-19T15:31:02.1136170-07:00:::PID 3576] Boxstarter: Installing package https://gist.githubusercontent.com/jstabl/9df5661ca14cc71b3d3e/raw/864bd9ae02f5719e3c2e8908d617b1353a917493/boxtest.txt
[2014-05-19T15:31:02.3479924-07:00:::PID 3576] Boxstarter Version 2.4.15
[2014-05-19T15:31:02.3479924-07:00:::PID 3576] Boxstarter Version 2.4.15
[2014-05-19T15:31:02.3479924-07:00:::PID 3576] (c) 2014 Matt Wrock. http://boxstarter.org

[2014-05-19T15:31:02.3636189-07:00:::PID 3576] (c) 2014 Matt Wrock. http://boxstarter.org

[2014-05-19T15:31:02.4261177-07:00:::PID 3576] + Boxstarter starting Installation session.
[2014-05-19T15:31:02.4417463-07:00:::PID 3576] Boxstarter: NoPassword is false checking autologin
[2014-05-19T15:31:02.5042434-07:00:::PID 3576] Boxstarter: AutoLogin status is False
[2014-05-19T15:31:02.5511275-07:00:::PID 3576] Boxstarter: NoPassword is set to True and RebootOk is set to False and the NoPassword parameter passed was False
[2014-05-19T15:31:02.5667594-07:00:::PID 3576] Boxstarter: Disabling Automatic Updates from Windows Update
[2014-05-19T15:31:02.5667594-07:00:::PID 3576] Boxstarter: Disabling Automatic Updates from Windows Update
[2014-05-19T15:31:02.7229947-07:00:::PID 3576] Boxstarter: Disabling reboots
[2014-05-19T15:31:02.7386212-07:00:::PID 3576] Boxstarter: LocalRepo is at C:\Users\User1\AppData\Local\Apps\2.0\J545CG88.LE9\PNAM5JLB.ELC\boxs..tion_9b0d113b5eadff54_0002.0004_d3164dcc60997d3b\BuildPackages
[2014-05-19T15:31:02.8323714-07:00:::PID 3576] Boxstarter: Chocolatey installed, setting up interception of Chocolatey methods.
[2014-05-19T15:31:04.2542496-07:00:::PID 3576] Boxstarter: Nuget.exe result: Created 'temp_BoxstarterPackage.nuspec' successfully.
[2014-05-19T15:31:04.2698721-07:00:::PID 3576] Boxstarter: Attempt #1...
[2014-05-19T15:31:04.4573736-07:00:::PID 3576] Boxstarter: Searching for temp_BoxstarterPackage\temp_BoxstarterPackage.nuspec
[2014-05-19T15:31:04.7386225-07:00:::PID 3576] Calling 'C:\Chocolatey\chocolateyinstall\nuget.exe pack temp_BoxstarterPackage\temp_BoxstarterPackage.nuspec -NoPackageAnalysis'.
[2014-05-19T15:31:05.8324137-07:00:::PID 3576] Attempting to build package from 'temp_BoxstarterPackage.nuspec'.
[2014-05-19T15:31:05.8792559-07:00:::PID 3576] Successfully created package 'C:\Users\User1\AppData\Local\Apps\2.0\J545CG88.LE9\PNAM5JLB.ELC\boxs..tion_9b0d113b5eadff54_0002.0004_d3164dcc60997d3b\BuildPackages\temp_BoxstarterPackage.1.0.0.nupkg'.
[2014-05-19T15:31:05.9105049-07:00:::PID 3576] 
[2014-05-19T15:31:05.9886257-07:00:::PID 3576] Boxstarter: Created a temporary package temp_BoxstarterPackage from https://gist.githubusercontent.com/jstabl/9df5661ca14cc71b3d3e/raw/864bd9ae02f5719e3c2e8908d617b1353a917493/boxtest.txt in C:\Users\User1\AppData\Local\Apps\2.0\J545CG88.LE9\PNAM5JLB.ELC\boxs..tion_9b0d113b5eadff54_0002.0004_d3164dcc60997d3b\BuildPackages
[2014-05-19T15:31:05.9886257-07:00:::PID 3576] Boxstarter: Created a temporary package temp_BoxstarterPackage from https://gist.githubusercontent.com/jstabl/9df5661ca14cc71b3d3e/raw/864bd9ae02f5719e3c2e8908d617b1353a917493/boxtest.txt in C:\Users\User1\AppData\Local\Apps\2.0\J545CG88.LE9\PNAM5JLB.ELC\boxs..tion_9b0d113b5eadff54_0002.0004_d3164dcc60997d3b\BuildPackages
[2014-05-19T15:31:06.0198750-07:00:::PID 3576] Boxstarter: Deleting previous temp_BoxstarterPackage package
[2014-05-19T15:31:06.0355003-07:00:::PID 3576] Boxstarter: Installing 1 packages from C:\Users\User1\AppData\Local\Apps\2.0\J545CG88.LE9\PNAM5JLB.ELC\boxs..tion_9b0d113b5eadff54_0002.0004_d3164dcc60997d3b\BuildPackages;http://chocolatey.org/api/v2;http://www.myget.org/F/boxstarter/api/v2
[2014-05-19T15:31:06.0823750-07:00:::PID 3576] Boxstarter: Installing 1 packages
[2014-05-19T15:31:06.0980015-07:00:::PID 3576] Boxstarter: Checking for Pending reboot
[2014-05-19T15:31:06.4261255-07:00:::PID 3576] + Boxstarter starting Calling Chocolatey to install temp_BoxstarterPackage. This may take several minutes to complete...
[2014-05-19T15:31:06.4261255-07:00:::PID 3576] + Boxstarter starting Calling Chocolatey to install temp_BoxstarterPackage. This may take several minutes to complete...
[2014-05-19T15:31:06.5980013-07:00:::PID 3576] Chocolatey (v0.9.8.23) is installing 'temp_BoxstarterPackage' and dependencies. By installing you accept the license for 'temp_BoxstarterPackage' and each dependency you are installing.
[2014-05-19T15:31:09.2230134-07:00:::PID 3576] ______ temp_BoxstarterPackage v1.0.0 ______
[2014-05-19T15:31:10.0355077-07:00:::PID 3576] Finished installing 'temp_BoxstarterPackage' and dependencies - if errors not shown in console, none detected. Check log for errors if unsure.
[2014-05-19T15:31:10.0667583-07:00:::PID 3576] Boxstarter: Exit Code: 0
[2014-05-19T15:31:10.0980093-07:00:::PID 3576] + Boxstarter finished Calling Chocolatey to install temp_BoxstarterPackage. This may take several minutes to complete... 00:00:03.6700534
[2014-05-19T15:31:10.1136375-07:00:::PID 3576] + Boxstarter finished Calling Chocolatey to install temp_BoxstarterPackage. This may take several minutes to complete... 00:00:03.6700534
[2014-05-19T15:31:10.1448844-07:00:::PID 3576] Boxstarter: Enabling Automatic Updates from Windows Update
[2014-05-19T15:31:10.1448844-07:00:::PID 3576] Boxstarter: Enabling Automatic Updates from Windows Update
[2014-05-19T15:31:10.2073856-07:00:::PID 3576] Boxstarter: Cleaning up and not rebooting
[2014-05-19T15:31:12.0980126-07:00:::PID 3576] + Boxstarter finished Installation session. 00:00:09.7189005
Coordinator
Jun 22, 2014 at 6:18 AM
sorry for taking forever to respond here. This looks to be a typo in a recent change to Set-ExplorerOptions. I have a fix pending.