Skip to content

Latest changes in UI break the installer (unable to find System.Drawing) #701

Closed
@dougsec

Description

@dougsec

What's the problem?

Unable to install from the install script, right after ChocoCache location gets updated, I get the error from the title.

Image

Steps to Reproduce

Run install.ps1
Fail

Environment

VirtualBox
10.0.19045
5.1.19041.3803
2.4.3
Boxstarter|3.0.3
[command not found]

Additional Information

chocolatey.log

`Boxstarter Module Installer completed
[+] Attempting to disable updates...
Boxstarter: Microsoft Update is already disabled, no action will be taken.
[!] Failed to disable Microsoft Store updates
Chocolatey v2.4.3
Added vm-packages - C:\Users\Fred\Desktop;.;https://www.myget.org/F/vm-packages/api/v2;https://myget.org/F/vm-packages/api/v2 (Priority 1)
Chocolatey v2.4.3
Enabled allowGlobalConfirmation
Chocolatey v2.4.3
Enabled allowEmptyChecksums
Chocolatey v2.4.3
Updated cacheLocation = C:\Users\Fred\AppData\Local\ChocoCache
Unable to find type [System.Drawing.ColorTranslator].
At C:\Users\Fred\Desktop\install.ps1:472 char:19

  • $errorColor = [System.Drawing.ColorTranslator]::FromHtml("#c80505 ...
    
  •               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (System.Drawing.ColorTranslator:TypeName) [], ParentContains
      ErrorRecordException
    • FullyQualifiedErrorId : TypeNotFound`

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions