![]() The Mozilla reg file was extracted from a manual install, here's the copypaste of VLCMozPlug. %systemroot%\system32\cacls.exe "%ALLUSERSPROFILE%\Desktop\VLC Media Player.lnk" /e /g users:c %systemroot%\system32\regsvr32.exe /s "%ProgramFiles%\VideoLAN\VLC\axvlc.dll" %systemroot%\system32\xcopy.exe \\server\share\installs\VLCplayer\vlc-0.9.8a\activex\ "%ProgramFiles%\VideoLAN\VLC\" /y /c %systemroot%\system32\xcopy.exe \\server\share\installs\VLCplayer\vlc-0.9.8a\activex\axvlc.dll "%ProgramFiles%\VideoLAN\VLC\" /y /c If exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" %systemroot%\regedit.exe /s \\server\share\installs\VLCplayer\VLCMozPlug.reg If exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" %systemroot%\system32\xcopy.exe \\server\share\installs\VLCplayer\vlc-0.9.8a\mozilla\ "%ProgramFiles%\VideoLAN\VLC\" /y /c If exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" %systemroot%\system32\xcopy.exe \\server\share\installs\VLCplayer\vlc-0.9.8a\mozilla\npvlc.dll "%ProgramFiles%\VideoLAN\VLC\" /y /c REM These were extracted from the zip file REM Install the browser plugins manually after this - just registry additions. I opened the VLC wiki and found this (thats the only help I found online): Start process -FilePath 'C: Temp VLC.exe' -ArgumentList '/ L 1033 / S' When I run this command I dont get an error, but I have to accept the Windows admin thing and thats it. \\server\share\installs\VLCplayer\vlc-0.9.8a-win32.exe /S 1 Im trying to install the VLC media player using a PowerShell script. REM Install VLC Player 0.9.8a from default distribution package "%ProgramFiles%\VideoLAN\VLC\uninstall.exe" /S
0 Comments
Leave a Reply. |