Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
cl-docker-images
ccl
Commits
e4a7a719
Commit
e4a7a719
authored
Oct 30, 2020
by
Eric Timmons
Browse files
Forgot to open registry key for writing
parent
773456e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
1.12/windowsservercore/ltsc2019/windows-amd64/Dockerfile
View file @
e4a7a719
...
...
@@ -24,7 +24,7 @@ RUN $srcurl = ('https://github.com/Clozure/ccl/releases/download/v{0}/ccl-{0}-wi
Add-Content -Path 'C:\Program Files\ccl\ccl.cmd' '\"C:\Program Files\ccl\wx86cl64.exe\"'; `
type 'C:\Program Files\ccl\ccl.cmd'
RUN
$machineKey
=
[
Microsoft.Win32.Registry]::LocalMachine.OpenSubKey
(
'SYSTEM\ControlSet001\Control\Session Manager\Environment\'
)
;
`
RUN
$machineKey
=
[
Microsoft.Win32.Registry]::LocalMachine.OpenSubKey
(
'SYSTEM\ControlSet001\Control\Session Manager\Environment\'
,
$true
)
;
`
$machinePath = $machineKey.GetValue('PATH', [string]::Empty, 'DoNotExpandEnvironmentNames').ToString(); `
$newPath = ('C:\Program Files\ccl;{0}' -f $machinePath); `
$machineKey.SetValue('PATH', $newPath, 'ExpandString'); `
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment