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.
[SOLVED] VLC Media Player Package
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
- dcardon
- WAPT Expert
- Messages: 1932
- Registration: June 18, 2014 - 09:58
- Location: Saint Sébastien sur Loire
- Contact :
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
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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
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.
This file should contain:
qt-updates-notif=0
and qt-privacy-ask=0.
It seems to be working.
WAPT 1.5.1.9
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
Server: CentOS 7
Administration: Windows 7 Pro
Clients: Windows 7 Pro
Thanks for the info!
We'll modify our package accordingly,
Alexandre.
We'll modify our package accordingly,
Alexandre.
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
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
