Skip to content

Impossible to install drivers with a custom package / fujitsu #331

Description

@vartaxe

Ok, found where the problem was. There is this code around line 360 :

Set Log Path

switch ($PSCmdLet.ParameterSetName) {
"Debug" {
$LogsDirectory = Join-Path -Path $env:SystemRoot -ChildPath "Temp"
}
default {
$LogsDirectory = $Script:TSEnvironment.Value("_SMSTSLogPath")
}
}

When i tried step by step, this is where is got a null value error ($LogsDirectory = $Script:TSEnvironment.Value("_SMSTSLogPath")). Tried to replace temporarliy by $LogsDirectory = "X:\windows\temp" and it works then.

Originally posted by @RoadToDie in #845

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions