-
-
Notifications
You must be signed in to change notification settings - Fork 930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following instructions gives errors, starting with a scratchdisk error #339
Comments
Hi mate !
Try : Set-ExecutionPolicy -Scope Process Unrestricted Accept the change then : Get-ExecutionPolicy Verify that the output is 'Unrestricted' before calling the script. Plus, the parameter is not the mounted iso, it's the working directory of Tiny11. |
Only thing I did differently was doing the Get-ExecutionPolicy, got different output: Output here: Execution Policy Change PS D:\users\jbb\Downloads\Tiny-11\tiny11builder-main> .\tiny11Coremaker.ps1
You cannot call a method on a null-valued expression.
Cannot invoke method. Method invocation is supported only on core types in this language mode.
new-object : Cannot create type. Only core types are supported in this language mode.
You cannot call a method on a null-valued expression.
Transcript started, output file is D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11.log ` Other than the initial errors shown above, it does now appear to be working, will update when it's complete |
It finally finished,I dont think it's good, given that there is a 110k log file with lots of errors, see attached: Log file is zipped for upload |
Hi, My bad, haven't be attentive in my previous response. $ExecutionContext.SessionState.LanguageMode To set the $ExecutionContext.SessionState.LanguageMode = "FullLanguage" This will let you use the New-Object cmdlet that is disable when setted to : NoLanguage |
Hi, I solved it using this link. It gave me the same errors too. |
Instructions say to run the script (after running
Set-ExecutionPolicy unrestricted
) and that you will be prompted for where the ISO is mounted.Doing so generates 52 lines of error, the captured output is below:
tiny11maker.log
The output is below, but the formatting is a bit off due to markup:
`The variable cannot be validated because the value D:\users\jbb\Downloads\Tiny-11\tiny11builder-main is not a valid
value for the ScratchDisk variable.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:10 char:5
Scratch disk set to
New-Object : Cannot create type. Only core types are supported in this language mode.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:30 char:13
You cannot call a method on a null-valued expression.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:31 char:1
Cannot invoke method. Method invocation is supported only on core types in this language mode.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:32 char:1
new-object : Cannot create type. Only core types are supported in this language mode.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:33 char:21
You cannot call a method on a null-valued expression.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:35 char:5
Transcript started, output file is \tiny11.log
Cannot set property. Property setting is supported only on core types in this language mode.
At D:\users\jbb\Downloads\Tiny-11\tiny11builder-main\tiny11maker.ps1:50 char:1
`
The text was updated successfully, but these errors were encountered: