Shelby

//Shelby
Shelby

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Shelby
    Participant
    Post count: 3

    There is an bug in the Execute-Process function, it can’t handle spaces in the -Path parameter.

    Was this ever addressed? I am currently battling with it trying to register a activex control (.ocx).

    Current syntax…

    Execute-Process “c:\Windows\System32\regsvr32.exe” -parameters “%ProgramFiles(x86)%\Company Name\Video Gateway\WebViewer.ocx'”

    • This reply was modified 1 year, 6 months ago by  Shelby. Reason: Conceal company information
  • Shelby
    Participant
    Post count: 3

    At the advice on another thread found HERE I attempted the following logic unsuccessfully …

    Execute-Process -FilePath “wusa.exe” -Parameters “/s /f1^”$dirFiles\Dca.msu /quiet /norestart^””

Viewing 2 posts - 1 through 2 (of 2 total)