这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

Good morning,

After several attemps of deploying SumatraPDF through MDT, I finally gave up and tried another way.

I finally created a small Powershell script with the parameters of installation, and a new step wtihin task sequence (Run Command Line) invoking Powershell to execute it once you arrive at Desktop in Windows. Worked like a charm.

I leave the script here:

$Arguments = @(
“-s”
“-all-users”
)
Start-Process -FilePath “PATHWHEREEXEISLOCATED” -ArgumentList $Arguments -Wait -NoNewWindow

Parameters of the TS (Run Command Line):

Command line: Powershell.exe -ExecutionPolicy Bypass -File "%ScriptRoot%\SCRIPT.ps1"
Start in: %ScriptRoot%

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@M1k3l0ny
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by M1k3l0ny
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants