GstPipelineStudio/installer/wix/prepare_gstreamer.ps1
2023-09-28 16:45:01 +02:00

12 lines
682 B
PowerShell

# install gtk, gstreamer built within the docker image to a clean folder used by wix to generate the package.
Remove-Item -Recurse -Force c:\gst-install-clean
New-Item c:\gst-install-clean -ItemType Directory
New-Item c:\gst-install-clean\bin -ItemType Directory
Copy-Item -Path C:\gst-install\bin\*.dll -Destination c:\gst-install-clean\bin\
Copy-Item -Path C:\gst-install\bin\*.exe -Destination c:\gst-install-clean\bin\
New-Item c:\gst-install-clean\lib\gstreamer-1.0 -ItemType Directory
Copy-Item -Path C:\gst-install\lib\gstreamer-1.0\*.dll -Destination c:\gst-install-clean\lib\gstreamer-1.0
Copy-Item -Path C:\gst-install\share -Destination c:\gst-install-clean\ -Recurse