Page 1 of 1

VLC: Disable the Privacy/Network dialog box

Published: March 31, 2015 - 2:48 PM
by rezidu
Hello,

I'm currently developing a package to install VLC. My problem is that I don't know how to easily disable the Privacy/Network dialog box that appears for each user the first time they launch the application.

I've searched online and found the command "--no-qt-privacy-ask" which does indeed prevent this dialog box from appearing. The problem is that this command isn't run during installation (which would disable the dialog box for all users) but rather with the VLC executable (%PROGRAMFILES%/VideoLAN/VLC/vlc.exe --no-qt-privacy-ask).

There's also the "vlcrc" file located in each user's AppData folder, which would allow disabling this dialog box, but this would mean creating/copying the file for each user profile on each machine, which is impossible for a large network.

Does anyone have a solution to my problem?

Re: VLC disable the Privacy/Network dialog box

Published: April 9, 2015 - 11:00 AM
by Yvan Karmouta
Hello,
with the Wapt functions stored in the python setuphelpers.py you can modify the shortcut in the all programs menu to add the "--no-qt-privacy-ask" option.

Re: VLC disable the Privacy/Network dialog box

Published: April 10, 2015 - 9:58 AM
by rezidu
Hello,

thank you for your reply.

I agree that this will work, but the problem is that users never launch VLC using the desktop shortcut; they launch it by clicking on their audio or video files.

So how can I prevent this dialog box from appearing when VLC is launched by double-clicking on an associated file?

Re: VLC disable the Privacy/Network dialog box

Published: April 14, 2015 - 10:36 AM
by ssamson
Hello rezidu,

As explained on this siteThe default associations in the registry need to be modified.
For example:
reg add HKCR\VLC.mp3\shell\Open\command\ /d \""C:\Program Files (x86)\VideoLAN\VLC\vlc.exe\" --no-qt-privacy-ask --no-qt-updates-notif --started-from-file \"%%1\"" /f
The tis-7zip package also contains other examples.