gugutz Posted September 22, 2006 Share Posted September 22, 2006 (edited) 1- Every FireFox Extensions ends with .xpi, right? But this kind of file isnt registered at windows file associations at shell. And i like to save firefox exts, soh i don´t have to download it everytime i re-install firefox. Is there a way to automaticly associate firefox extensions at firefox setup? (eg: creating a reg entrie and a sfx to uncompress to \extensions at firefox folder). or (better yet!), install extensions directly from my RunOnceEx.cmd file?2- I configure firefox everytime i reinstall it. I choose options like Force links to open in new tab, Ask for each download where to save, etc... Are these options saved on a file or reg entrie? ´Cause i looked up at firefox folder and didn´t find any .ini or .cfg or any editable file. Where are my options saved to, so i can make a sfx to uncompress with my options configure when i install and open firefox for the first time?3- Is there a way to put a confirmation dialog box before install a program on runonceex.cmd file? I´ve tried using NirCmd qbox line, but when it comes to the part of the install, it just skips the line e goes to the next program, so i had to remove the line. Some programs, Like Net Framework, takes too long to be installed, and sometimes i install Winxp on other computers witch do not need some programs, so a dialog confirmation box asking if i want to install before making the silent install would be perfect. Is there a way to do it?4- What is the diference between using .bat or .cmd? Don´t they do the same thing?5- To add comments (only for information inside the file) on .bat or .cmd, i just use :: ?6- My windows media player 10 is installing sillently and ok. but does not show any progress bar. the line i´m using is: REG ADD %KEY%\060 /V 1 /D "\"%systemdrive%\programas\Windows Media Player 10 Setup.exe\" /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f. Is there a way to change something that will make appear a progress bar window when wmp 10 is installing?7- My unattended install installs Flash Player 9.0.16.0 Active X. But when i visit a page that run flash, firefox says i need a plugin (Flash Player 9), and i have to download it. Isn´t Flash Player 9.0.16.0 Active X already to do that: run flash files on sites?8- Is there a way to Enable Quick Launch on windows install?9- How do i save google toolbar for firefox plugin, so i don´t have to download it everytime?i think that´s it, for now.since now, thanks for any who helps!Gugutz Edited September 22, 2006 by gugutz Link to comment Share on other sites More sharing options...
Ctrl-X Posted September 22, 2006 Share Posted September 22, 2006 3- Is there a way to put a confirmation dialog box before install a program on runonceex.cmd file? I´ve tried using NirCmd qbox line, but when it comes to the part of the install, it just skips the line e goes to the next program, so i had to remove the line. Some programs, Like Net Framework, takes too long to be installed, and sometimes i install Winxp on other computers witch do not need some programs, so a dialog confirmation box asking if i want to install before making the silent install would be perfect. Is there a way to do it?Have a look at the Windows Post-Install Wizard.4- What is the diference between using .bat or .cmd? Don´t they do the same thing?.bat is the old MS-DOS batch file extension; .cmd was introduced with Windows NT. Back then you couldn't use the same commands in DOS batch files as in NT command files, because they were using different command interpreters (command.com in DOS, cmd.exe in NT). Nowadays they're basically the same.5- To add comments (only for information inside the file) on .bat or .cmd, i just use :: ?Lines beginning with a colon in a batch or command file define a label that can be jumped to from elsewhere in the script using a GOTO command. If you don't use the label for anything else, you could use it for inserting comments. The official comment statement in batch/command files is REM (remark). For instance:@echo offrem This file demonstrates the use of labels and the GOTO commandecho This is the first output linegoto Endecho This line will be skipped:Endecho This is the last output line6- My windows media player 10 is installing sillently and ok. but does not show any progress bar. the line i´m using is: REG ADD %KEY%\060 /V 1 /D "\"%systemdrive%\programas\Windows Media Player 10 Setup.exe\" /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f. Is there a way to change something that will make appear a progress bar window when wmp 10 is installing?Try replacing the "/Q" after "setup_wm.exe" with "/Q:U" (quiet user mode). Link to comment Share on other sites More sharing options...
mazin Posted September 22, 2006 Share Posted September 22, 2006 My two cents...Q4- What is the diference between using .bat or .cmd? Don´t they do the same thing?A4- BAT files work under DOS, Win9x, and WinNT systems.--- CMD files, by default, do not work under DOS or Win9x systems.--- Under winxp, they do the same.Q5- To add comments (only for information inside the file) on .bat or .cmd, i just use :: ?A5- There are many methods to comment a line in a BAT or CMD file.--- The most popular methods are :: (double colons) and REM.Q8- Is there a way to Enable Quick Launch on windows install?A8- I apply this reg file from SVCPACK (T-13) to enable QL for all user accounts.[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]"TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,\d8,64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,01,00,00,1a,00,00,00,\01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,\00,00,00,c0,00,00,00,00,00,00,46,83,00,00,00,10,00,00,00,a0,b0,48,5e,89,8d,\bd,01,00,d8,9e,e4,2a,8d,bd,01,00,45,fe,5e,89,8d,bd,01,00,00,00,00,00,00,00,\00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13,01,14,00,1f,0f,e0,4f,\d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,23,44,3a,5c,00,00,00,00,00,\00,00,00,00,00,00,00,00,00,00,00,00,cd,97,15,00,31,00,00,00,00,00,af,24,5c,\b9,10,80,57,69,6e,6e,74,00,00,20,00,31,00,00,00,00,00,af,24,a3,b9,10,00,50,\72,6f,66,69,6c,65,73,00,50,52,4f,46,49,4c,45,53,00,19,00,31,00,00,00,00,00,\c1,24,08,92,10,00,69,65,35,30,30,2e,30,30,30,00,00,28,00,31,00,00,00,00,00,\c1,24,08,92,10,00,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,00,41,50,\50,4c,49,43,7e,31,00,21,00,31,00,00,00,00,00,c5,22,9d,91,10,00,4d,69,63,72,\6f,73,6f,66,74,00,4d,49,43,52,4f,53,7e,31,00,29,00,31,00,00,00,00,00,d3,22,\32,a6,10,00,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,00,49,4e,54,\45,52,4e,7e,31,00,24,00,31,00,00,00,00,00,db,22,76,ba,10,00,51,75,69,63,6b,\20,4c,61,75,6e,63,68,00,51,55,49,43,4b,4c,7e,31,00,00,00,8d,00,00,00,1c,00,\00,00,01,00,00,00,1c,00,00,00,36,00,00,00,0d,f0,ad,ba,8c,00,00,00,1a,00,00,\00,03,00,00,00,e7,18,2d,23,10,00,00,00,49,45,35,30,30,5f,58,31,43,00,43,3a,\5c,57,49,4e,4e,54,5c,50,72,6f,66,69,6c,65,73,5c,49,45,35,30,30,2e,30,30,30,\5c,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,5c,4d,69,63,72,6f,73,6f,\66,74,5c,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,5c,51,75,69,63,\6b,20,4c,61,75,6e,63,68,00,00,10,00,00,00,05,00,00,a0,1a,00,00,00,a3,00,00,\00,00,00,00,00,08,00,00,00,02,00,00,00,cc,00,00,00,01,00,00,00,03,00,00,00,\4a,00,00,00,01,00,00,00,40,00,32,00,e6,01,00,00,c4,24,15,9f,20,00,4c,61,75,\6e,63,68,20,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,20,42,72,6f,\77,73,65,72,2e,6c,6e,6b,00,4c,41,55,4e,43,48,7e,32,2e,4c,4e,4b,00,00,00,40,\00,00,00,02,00,00,00,36,00,32,00,48,02,00,00,c4,24,15,9f,20,00,4c,61,75,6e,\63,68,20,4f,75,74,6c,6f,6f,6b,20,45,78,70,72,65,73,73,2e,6c,6e,6b,00,4c,41,\55,4e,43,48,7e,31,2e,4c,4e,4b,00,00,00,36,00,00,00,00,00,00,00,2c,00,32,00,\51,00,00,00,ec,22,46,39,20,00,53,68,6f,77,20,44,65,73,6b,74,6f,70,2e,73,63,\66,00,53,48,4f,57,44,45,7e,31,2e,53,43,46,00,00,00,52,00,00,00,e0,00,00,00,\00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,\00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,\00,00,e0,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,\00,00,00,00,00,01,00,00,00 Link to comment Share on other sites More sharing options...
gugutz Posted September 22, 2006 Author Share Posted September 22, 2006 thanks. i get quick launch enabled now.and about the bat and cmd files, i understood it.one of my main problems is about the fire fox extensions now. hot to register them at RunOnceEx? how to download latest google toolbar for firefox, since google installs automaticly by it´s own page.and another question- 10 (New Question): I´ve heard i some topic that, if there are too many programs to be installed and showed at the RunOnce window, i just have to add these line:rundll32.exe iernonce.dll,RunOnceExProcessand it will open a new RunOnceEx window with the sequence of the programs to be isntalled.But i´m trying to get to open these new windows just for programs whose needs more then just one line to install. Like Firefox, for instance, i would like to open a new RunOnceEx window just to show the extensions that are been registering, and PowerToys, i like to specifie each tool that is been installing.So my question is: Is there a way to open these new RunOnceEX windows with "rundll32.exe iernonce.dll,RunOnceExProcess", then when the programs at the new windows terminates to install, returns to the main RunOnceEx windows to continue with the main process of installation? EX: When it get to install fire fox, it would open a new window, specifying whatever is been installing and registering, then return to the main window and continues with the normal main RunOnceEx window installations.Is there a way? Link to comment Share on other sites More sharing options...
gunsmokingman Posted September 22, 2006 Share Posted September 22, 2006 1- Every FireFox Extensions ends with .xpi, right? But this kind of file isnt registered at windows file associations at shell. And i like to save firefox exts, soh i don´t have to download it everytime i re-install firefox. Is there a way to automaticly associate firefox extensions at firefox setup? (eg: creating a reg entrie and a sfx to uncompress to \extensions at firefox folder). or (better yet!), install extensions directly from my RunOnceEx.cmd file?Use the Assoc cmd to associate the Fire Fox extentionsExample Of Assoc using a made up file type Specifies the file extension to associate the file type with Specifies the file type to associate with the file extension This will allow Notepad.exe to open the file with a extention of zzt. @Echo OffAssoc .zzt=txtfile To remove @Echo OffAssoc .zzt= Link to comment Share on other sites More sharing options...
gugutz Posted September 22, 2006 Author Share Posted September 22, 2006 (edited) Q8- Is there a way to Enable Quick Launch on windows install?A8- I apply this reg file from SVCPACK (T-13) to enable QL for all user accounts.[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]"TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,02,00,00,00,00,00,00,00,b0,e2,2b,\d8,64,57,d0,11,a9,6e,00,c0,4f,d7,05,a2,22,00,1c,00,0a,01,00,00,1a,00,00,00,\01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4c,00,00,00,01,14,02,00,00,\00,00,00,c0,00,00,00,00,00,00,46,83,00,00,00,10,00,00,00,a0,b0,48,5e,89,8d,\bd,01,00,d8,9e,e4,2a,8d,bd,01,00,45,fe,5e,89,8d,bd,01,00,00,00,00,00,00,00,\00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,13,01,14,00,1f,0f,e0,4f,\d0,20,ea,3a,69,10,a2,d8,08,00,2b,30,30,9d,19,00,23,44,3a,5c,00,00,00,00,00,\00,00,00,00,00,00,00,00,00,00,00,00,cd,97,15,00,31,00,00,00,00,00,af,24,5c,\b9,10,80,57,69,6e,6e,74,00,00,20,00,31,00,00,00,00,00,af,24,a3,b9,10,00,50,\72,6f,66,69,6c,65,73,00,50,52,4f,46,49,4c,45,53,00,19,00,31,00,00,00,00,00,\c1,24,08,92,10,00,69,65,35,30,30,2e,30,30,30,00,00,28,00,31,00,00,00,00,00,\c1,24,08,92,10,00,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,00,41,50,\50,4c,49,43,7e,31,00,21,00,31,00,00,00,00,00,c5,22,9d,91,10,00,4d,69,63,72,\6f,73,6f,66,74,00,4d,49,43,52,4f,53,7e,31,00,29,00,31,00,00,00,00,00,d3,22,\32,a6,10,00,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,00,49,4e,54,\45,52,4e,7e,31,00,24,00,31,00,00,00,00,00,db,22,76,ba,10,00,51,75,69,63,6b,\20,4c,61,75,6e,63,68,00,51,55,49,43,4b,4c,7e,31,00,00,00,8d,00,00,00,1c,00,\00,00,01,00,00,00,1c,00,00,00,36,00,00,00,0d,f0,ad,ba,8c,00,00,00,1a,00,00,\00,03,00,00,00,e7,18,2d,23,10,00,00,00,49,45,35,30,30,5f,58,31,43,00,43,3a,\5c,57,49,4e,4e,54,5c,50,72,6f,66,69,6c,65,73,5c,49,45,35,30,30,2e,30,30,30,\5c,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,5c,4d,69,63,72,6f,73,6f,\66,74,5c,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,5c,51,75,69,63,\6b,20,4c,61,75,6e,63,68,00,00,10,00,00,00,05,00,00,a0,1a,00,00,00,a3,00,00,\00,00,00,00,00,08,00,00,00,02,00,00,00,cc,00,00,00,01,00,00,00,03,00,00,00,\4a,00,00,00,01,00,00,00,40,00,32,00,e6,01,00,00,c4,24,15,9f,20,00,4c,61,75,\6e,63,68,20,49,6e,74,65,72,6e,65,74,20,45,78,70,6c,6f,72,65,72,20,42,72,6f,\77,73,65,72,2e,6c,6e,6b,00,4c,41,55,4e,43,48,7e,32,2e,4c,4e,4b,00,00,00,40,\00,00,00,02,00,00,00,36,00,32,00,48,02,00,00,c4,24,15,9f,20,00,4c,61,75,6e,\63,68,20,4f,75,74,6c,6f,6f,6b,20,45,78,70,72,65,73,73,2e,6c,6e,6b,00,4c,41,\55,4e,43,48,7e,31,2e,4c,4e,4b,00,00,00,36,00,00,00,00,00,00,00,2c,00,32,00,\51,00,00,00,ec,22,46,39,20,00,53,68,6f,77,20,44,65,73,6b,74,6f,70,2e,73,63,\66,00,53,48,4f,57,44,45,7e,31,2e,53,43,46,00,00,00,52,00,00,00,e0,00,00,00,\00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,01,\00,00,00,01,00,00,00,aa,4f,28,68,48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,37,02,\00,00,e0,00,00,00,00,00,00,00,16,00,00,00,00,00,00,00,00,00,00,00,16,00,00,\00,00,00,00,00,01,00,00,00mazin, i did that, the RunOnceEx using svcpack method and cmdlines.txt method. none of them worked.is there another way, or maybe i´m doing something wrong? how exactly do you do to activate quick launch?and gunsmokingman, i see how to associate now, but what do i do to make the .xpi files to directly open with firefox without having to choose a program in the Open With window? Edited September 23, 2006 by gugutz Link to comment Share on other sites More sharing options...
mazin Posted September 23, 2006 Share Posted September 23, 2006 (edited) Have you added this tag? Windows Registry Editor Version 5.00There's nothing special about applying a reg tweak other than this:REGEDIT /S %SystemDrive%\Install\Utils\explorer.regWell, you can use PaulIA's VBS for the same purpose. Edited September 23, 2006 by mazin Link to comment Share on other sites More sharing options...
gugutz Posted September 23, 2006 Author Share Posted September 23, 2006 Actually, i wasn´t using that tag.gonna test it now.thanks, again.but, what about the other questions? anyone can help? Link to comment Share on other sites More sharing options...
gunsmokingman Posted September 23, 2006 Share Posted September 23, 2006 and gunsmokingman, i see how to associate now, but what do i do to make the .xpi files to directly open with firefox without having to choose a program in the Open With window?When you use the Assoc the file should open with what ever app is associated with the extention.EGAssoc zzt=Winamp media file, will cause winamp to open any files with zzt extention Link to comment Share on other sites More sharing options...
gugutz Posted September 24, 2006 Author Share Posted September 24, 2006 i am using this .cmd file:@echo offAssoc .xpi=Extensao para Firefoxregedit /s %systemdrive%\programas\Firefox\RegisterFfExtensions.regexitand the reg file this cmd adds contains the following lines:Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xpi][HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xpi\OpenWithList]"a"="firefox.exe""MRUList"="a"[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xpi\OpenWithProgids]"xpi_auto_file"=hex(0):[HKEY_USERS\S-1-5-21-436374069-1757981266-682003330-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.xpi]"Application"="firefox.exe"and added a line at RunOnceEx.cmd file to test if it would register itself. but all it does is to open a Open With window, with firefox already selectec, and i have to click at Open Button, wait for the plugin timeout counter to activate the Install button, and then click on Intall Now. Isn´t there a way to, instead of openning the open with window, the extension already opens with firefox and installs itself?i looked up at more entries that could do that, and found those:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Desktop]"SOFTWARE\\Classes\\MIME\\Database\\Content Type\\application/x-xpinstall;app=firefox"=".xpi""SOFTWARE\\Classes\\.htm"="htmlfile""SOFTWARE\\Classes\\.html"="htmlfile""SOFTWARE\\Classes\\HTTP\\DefaultIcon"="%SystemRoot%\\system32\\url.dll,0""SOFTWARE\\Classes\\HTTP\\shell\\open\\command"="\"C:\\Arquivos de programas\\Internet Explorer\\iexplore.exe\" -nohome""SOFTWARE\\Classes\\HTTPS\\DefaultIcon"="%SystemRoot%\\system32\\url.dll,0""SOFTWARE\\Classes\\HTTPS\\shell\\open\\command"="\"C:\\Arquivos de programas\\Internet Explorer\\iexplore.exe\" -nohome""SOFTWARE\\Classes\\FTP\\DefaultIcon"="C:\\WINDOWS\\system32\\msieftp.dll,0""SOFTWARE\\Classes\\FTP\\shell\\open\\command"="\"C:\\Arquivos de programas\\Internet Explorer\\iexplore.exe\" %1""SOFTWARE\\Classes\\GOPHER\\DefaultIcon"="%SystemRoot%\\system32\\url.dll,0""SOFTWARE\\Classes\\GOPHER\\shell\\open\\command"="\"C:\\Arquivos de programas\\Internet Explorer\\iexplore.exe\" -nohome""SOFTWARE\\Clients\\StartMenuInternet\\FIREFOX.EXE\\DefaultIcon"="C:\\Arquivos de programas\\Mozilla Firefox\\firefox.exe,0""SOFTWARE\\Clients\\StartMenuInternet\\FIREFOX.EXE\\shell\\open\\command"="\"C:\\Arquivos de programas\\Mozilla Firefox\\firefox.exe\"""SOFTWARE\\Clients\\StartMenuInternet\\"="IEXPLORE.EXE""SOFTWARE\\Clients\\StartMenuInternet\\FIREFOX.EXE\\"="Mozilla Firefox"i will test with more these lines at my next window install. but will this be suficient? i think i will still wait for the plugin to open and load, then click on Install Now button. Isn´t there a switch for .xpi files for silent integration with firefox?other problem: i have many extensions i would like to register at firefox 1st install, but each extension i click to open, opens a new window of firefox, ´cause firefox wasn´t configured to force to open new windows on tabs. any sugestions for that?i still don´t now how to save my post install modifications at firefox. i can´t find any reg entrie or .ini file that contains my personal settings. Link to comment Share on other sites More sharing options...
gugutz Posted September 24, 2006 Author Share Posted September 24, 2006 About saving configuration for themes, extensions and options settings on Firefox:I´ve installed all the extensions i use, including Extension Manager. Extension manager tells the folder where the extension is installed. If i make a SFX file of the files and folder Extension Manager says the Extension uses, and unzip it within Firefox install at RunOnceEx, when i open firefox, the extensions will be there, installed?And the options setting? All i have to do is to save the entire Profile Folder? 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