Skip to content

Commit

Permalink
mpcvideorenderer: change installer and uninstaller scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Youxikong committed Jun 13, 2024
1 parent e53d75d commit 99fd62e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions bucket/mpcvideorenderer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@
"installer": {
"script": [
"if ($architecture -eq \"64bit\") {",
" $Arg = \"/s \"+ \"$dir\\MpcVideoRenderer64.ax\"",
" Start-Process regsvr32.exe -ArgumentList $Arg -Verb RunAs -Wait",
" Start-Process regsvr32.exe -ArgumentList \"/s\", $dir\\MpcVideoRenderer64.ax -Verb RunAs -Wait",
"}",
"elseif ($architecture -eq \"32bit\") {",
" $Arg = \"/s \"+ \"$dir\\MpcVideoRenderer.ax\"",
" Start-Process regsvr32.exe -ArgumentList $Arg -Verb RunAs -Wait",
" Start-Process regsvr32.exe -ArgumentList \"/s\", $dir\\MpcVideoRenderer.ax -Verb RunAs -Wait",
"}",
"else {",
" Write-Host \"No appropriate version\"",
Expand All @@ -24,12 +22,10 @@
"uninstaller": {
"script": [
"if ($architecture -eq \"64bit\") {",
" $Arg = \"/u /s \"+ \"$dir\\MpcVideoRenderer64.ax\"",
" Start-Process regsvr32.exe -ArgumentList $Arg -Verb RunAs -Wait",
" Start-Process regsvr32.exe -ArgumentList \"/u /s\", $dir\\MpcVideoRenderer64.ax -Verb RunAs -Wait",
"}",
"elseif ($architecture -eq \"32bit\") {",
" $Arg = \"/u /s \"+ \"$dir\\MpcVideoRenderer.ax\"",
" Start-Process regsvr32.exe -ArgumentList $Arg -Verb RunAs -Wait",
" Start-Process regsvr32.exe -ArgumentList \"/u /s\", $dir\\MpcVideoRenderer.ax -Verb RunAs -Wait",
"}",
"else {",
" Write-Host \"No appropriate version\"",
Expand Down

0 comments on commit 99fd62e

Please sign in to comment.