ripken204 Posted August 31, 2005 Share Posted August 31, 2005 the switch for vlc is /S but the problem is that i want to do a full install where i click some boxes for what i want to install. does any1 know how i should do this via a switch or should i just use autoit?? Link to comment Share on other sites More sharing options...
glent Posted August 31, 2005 Share Posted August 31, 2005 Try the Saveinf command here http://www.appdeploy.com/tips/detail.asp?id=13Then use the loadinf when you install Link to comment Share on other sites More sharing options...
MHz Posted August 31, 2005 Share Posted August 31, 2005 VideoLAN uses the NSIS Installer. NSIS supports /S, /D=InstallPath or /NCRC for no crc checking. Unless the author adds more switches to the NSIS Installer, which is rare, then that is it. Link to comment Share on other sites More sharing options...
ckislam Posted February 5, 2008 Share Posted February 5, 2008 When I use the /S switch, the mozilla Plugin doesn't get installed. If anyone know, how i can get it installed, let me know.Thanks Link to comment Share on other sites More sharing options...
radix Posted February 5, 2008 Share Posted February 5, 2008 When I use the /S switch, the mozilla Plugin doesn't get installed. If anyone know, how i can get it installed, let me know.Because /S switch will install with the default options (recommended). Link to comment Share on other sites More sharing options...
ckislam Posted February 5, 2008 Share Posted February 5, 2008 So, is there a way to install with FULL options? Link to comment Share on other sites More sharing options...
radix Posted February 5, 2008 Share Posted February 5, 2008 So, is there a way to install with FULL options?Which components do you need from these:start menu shortcutdesktop shortcutMozilla pluginActiveX pluginContext MenusFile type associationsDelete preferences and cache? Link to comment Share on other sites More sharing options...
radix Posted February 5, 2008 Share Posted February 5, 2008 (edited) Try this:#cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.10.0 Author: myName VLC media player 0.8.6d Script Function: Template AutoIt script.#ce ----------------------------------------------------------------------------; Script Start - Add your code below hereOpt("TrayIconDebug", 1)Opt("SendKeyDelay", 200); Executable file name$EXECUTABLE = "vlc-0.8.6d-win32.exe"; Start menu shortcut$StartMenu = "1"; Desktop shortcut$Desktop = "1"; Mozilla plugin$Mozilla = "1"; ActiveX plugin$ActiveX = "1"; Context menus$Context = "1"; File type associations$FileAssoc = 1; Delete preferences and cache$Cache = "1"; Installation folder$INSTALLLOCATION = @ProgramFilesDir & "\VideoLAN\VLC"If FileExists($INSTALLLOCATION & "\vlc.exe") Then MsgBox(0x40010, @ScriptName, "Please uninstall previous version of VLC media player before using this script", 4) ExitEndIf; Run the installerRun($EXECUTABLE); Please select a language.WinWait("Installer Language", "Please select a language.")WinActivate("Installer Language", "Please select a language.")ControlClick("Installer Language", "", "Button1"); Welcome to the VideoLAN VLC media player 0.8.6d Setup WizardWinWaitActive("VideoLAN VLC media player 0.8.6d Setup", "Welcome to the VideoLAN VLC media player 0.8.6d Setup Wizard")ControlClick("VideoLAN VLC media player 0.8.6d Setup", "", "Button2"); License AgreementWinWaitActive("VideoLAN VLC media player 0.8.6d Setup ", "License Agreement")ControlClick("VideoLAN VLC media player 0.8.6d Setup ", "", "Button2"); Choose ComponentsWinWaitActive("VideoLAN VLC media player 0.8.6d Setup ", "Choose Components")Send("{TAB}")Send("{DOWN}")If $StartMenu = 0 Then Send("{SPACE}")EndIfSend("{DOWN}")If $Desktop = 0 Then Send("{SPACE}")EndIfSend("{DOWN}")If $Mozilla = 1 Then Send("{SPACE}")EndIfSend("{DOWN}")If $ActiveX = 0 Then Send("{SPACE}")EndIfSend("{DOWN}")If $Context = 1 Then Send("{SPACE}")EndIfSend("{DOWN}")If $FileAssoc = 0 Then Send("{SPACE}")EndIfSend("{DOWN}")If $Cache = 1 Then Send("{SPACE}")EndIfControlClick("VideoLAN VLC media player 0.8.6d Setup ", "", "Button2"); Choose Install LocationWinWaitActive("VideoLAN VLC media player 0.8.6d Setup ", "Choose Install Location")ControlSetText("VideoLAN VLC media player 0.8.6d Setup ", "", "Edit1", "")Sleep(1000)ControlSetText("VideoLAN VLC media player 0.8.6d Setup ", "", "Edit1", $INSTALLLOCATION)ControlClick("VideoLAN VLC media player 0.8.6d Setup ", "", "Button2"); Completing the VideoLAN VLC media player 0.8.6d Setup WizardWinWaitActive("VideoLAN VLC media player 0.8.6d Setup ", "Completing the VideoLAN VLC media player 0.8.6d Setup Wizard")ControlCommand("VideoLAN VLC media player 0.8.6d Setup ", "", "Button4", "UnCheck", "")ControlClick("VideoLAN VLC media player 0.8.6d Setup ", "", "Button2")Edit variables from the top to meet your desire. Edited February 5, 2008 by radix Link to comment Share on other sites More sharing options...
targa Posted April 5, 2009 Share Posted April 5, 2009 (edited) 1. Download and install nsis from http://nsis.sourceforge.net/Download. This will let you recompile the installation program.2. Download and extract the VLC Windows Zip package from http://www.videolan.org/vlc/download-windows.html.3. Open the vlc.win32.nsi file with Notepad4. The component list begins at about line 502. Component look like "Section "Component Name" SEC0#. If a '/o' is in front of the component name, remove the '/o' e.g. Section $Name_Section03 SEC035. Change SectionIn from 3 to 1 2 36. That's all..compile script.If you don't want VLC to be associated with some file types, put a semicolon in front of the line containing that extension. Edited April 5, 2009 by targa Link to comment Share on other sites More sharing options...
targa Posted July 8, 2009 Share Posted July 8, 2009 (edited) vlc 1.0.0 is out Edited July 8, 2009 by targa Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now