Trying to get a custom packate up and working based off "example". I've taken most of the header, including:
(I've got more obviously). I packaged up successfully and have been running my package. After two reboots, I'm seeing the following exception:
Checking for helper updates...
Chocolatey (v0.9.8.20-alpha2) is installing AppServer and dependencies. By installing you accept the license for AppServer and each dependency you are installing.
______ AppServer v6.6.6 ______
Checking for updates...
Windows Internet Explorer 9 for Windows Server 2008 R2 for x64-based Systems
Windows Malicious Software Removal Tool x64 - December 2012 (KB890830)
Beginning to install
Exception calling "Install" with "0" argument(s): "Exception from HRESULT: 0x80240023"
At C:\Chocolatey\lib\BoxStarter.Helpers.0.1.9\Install-WindowsUpdate.ps1:40 char:9
- $result = $Installer.Install()
- CategoryInfo : NotSpecified: (:) , MethodInvocationException
- FullyQualifiedErrorId : ComMethodTargetInvocation
Probably related, I then manually ran Windows Update and the dialog indicated that the version of Windows Update needed to be upgraded. So perhaps the older version has a different API?
I manually completed the windows update and removed this Install-WindowsUpdate call from my script (probably makes more sense to run it after I have installed everything I need)
Great tool BTW, will save me hours in setting up VMs (I hope!)