Page 1 of 1

[SOLVED] VLC Media Player Package

Published: January 25, 2018 - 1:12 PM
by hasop
Hello,
I downloaded the VLC package from the TIS repository and deployed it on a test machine.
Contrary to what I expected, I get the security policy screen at startup.

After analysis, there are in the code the options " --no-qt-privacy-ask" and " --no-qt-updates-notif":
if iswin64():
install_exe_if_needed('vlc-%s-win64.exe' % versionpaquet,silentflags='/S --no-qt-privacy-ask --no-qt-updates-notif',key='VLC media player',min_version=versionpaquet,killbefore=['vlc.exe'])
else:
install_exe_if_needed('vlc-%s-win32.exe' % versionpaquet,silentflags='/S --no-qt-privacy-ask --no-qt-updates-notif',key='VLC media player',min_version=versionpaquet,killbefore=['vlc.exe'])

While watching the VLC FAQ ((https://wiki.videolan.org/WindowsFAQ-2.1.x/), it seems, unless I'm mistaken, that these options must be passed when running the binary and not during installation.

Do you have a way to make these options permanent during installation or in a configuration file?

Thanks in advance.

Re: VLC Media Player Package

Published: January 26, 2018 - 08:46
by dcardon
Hi hasop,

if these options need to be added on the first launch, you'll need to modify a configuration file or registry using `session_setup()`.

To find out what needs to be modified, you can use tis-regshot. This allows you to capture the registry and a given directory (e.g., your user directory) before and after the first launch, so you can see what needs to be added.

After that, you'll just need to add it to the `session_setup()` function. If you find the right combination, you can repost your `session_setup()` function here; Simon can add it to store.wapt.fr.

Denis

Re: VLC Media Player Package

Published: January 26, 2018 - 09:25
by hasop
Thank you for the feedback.
I'll run some tests and get back to you.

Re: VLC Media Player Package

Published: January 29, 2018 - 09:57
by hasop
Actually, after finding information online, I retrieved a configuration file from a fresh installation (a vlcrc file) and placed it in C:\Users\Default\AppData\Roaming\vlc using the installation package (with a filecopyto command).

This file should contain:
qt-updates-notif=0
and qt-privacy-ask=0.

It seems to be working.

Re: VLC Media Player Package

Published: February 1, 2018 - 9:40 AM
by agauvrit
Thanks for the info!

We'll modify our package accordingly, ;)

Alexandre.

Re: VLC Media Player Package

Published: February 8, 2018 - 6:22 PM
by agauvrit
VLC Media Player 3.0 was supposed to be released today, but it's not; we'll have to wait until tomorrow.

In the meantime, I've added a customization option for vlcrc that takes into account modifications to existing files:

https://store.wapt.fr/package_details?p ... 3_all.wapt

Alexandre