SwedenXP Posted October 10, 2003 Share Posted October 10, 2003 Does anyone silent install for POW! by AnalogX. This is a small, well working pop-up killer.Here is anotherone that I haven´t found - yet silent install for Easy CD-DA Extractor 6.1 by Poikosoft, a good ripper, converter tool.Thanx in advance / SwedenXP Link to comment Share on other sites More sharing options...
gosh Posted October 15, 2003 Share Posted October 15, 2003 I don't know if anyone has seen this, but this is the best way i've found to make a silent winrar installation that has the rar key in it. It was written by someone else at another website a long time ago. I think it should be added to the MSFN unattend guide.How to perfom a silent installation of WinRAR. Files needed: 1. wrar300.exe - winrar distribution archive. (Optional) 2. RARREG.KEY - registration code. 3. rarlng.rar - from rarlabs.com (contains Setup.SFX and setup.s) A. Silent Installationwrar300.exe /s B. Registered InstallationThis just requires getting RARREG.KEY into the WinRAR program folder. It can be copied before running the installation or a new distribution archive can be created which includes RARREG.KEY. As described in the rarlng.rar help files, its easy to create an archive which is just like the original download (without the digital signature). To do this you will need the two files, Setup.SFX and setup.s, from the rarlng.rar archive: 1. Extract your distribution to a temporary folder like "wrar300". 2. Copy RARREG.KEY into the folder. 3. Having WinRAR already installed, the following command will recreate the distribution: "< program folder >\winrar.exe" a -r -ep1 -cfg- -s -m5 -z< setup.s > -sfx< Setup.SFX > < archive name > < files to add > For example with Setup.SFX and setup.s in the folder just above "wrar300": "c:\program files\winrar\winrar" a -r -ep1 -cfg- -s -m5 -zsetup.s -sfxSetup.SFX wrar300 wrar300\*.* C.I Preconfigured SettingsTo preconfigure WinRAR settings, such as a cascaded context menu, the appropriate registry entries need to be added. The following is a .reg file that enables cascaded menus, sets some file association (ones not set are used by winzip), and disables the desktop and start menu icons: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\WinRAR\Setup]"ShellExt"=dword:00000001 "CascadedMenu"=dword:00000001 "MenuIcons"=dword:00000001 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.ace] "Set"=dword:00000001 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.arj] "Set"=dword:00000000 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.bz] [HKEY_CURRENT_USER\Software\WinRAR\Setup\.bz2] "Set"=dword:00000001 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.cab] "Set"=dword:00000000 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.gz] "Set"=dword:00000000 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.jar] "Set"=dword:00000001 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.lzh] "Set"=dword:00000000 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.rar] "Set"=dword:00000001 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.tar] "Set"=dword:00000000 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.tbz] [HKEY_CURRENT_USER\Software\WinRAR\Setup\.tbz2] [HKEY_CURRENT_USER\Software\WinRAR\Setup\.uue] "Set"=dword:00000000 [HKEY_CURRENT_USER\Software\WinRAR\Setup\.zip] "Set"=dword:00000000 [HKEY_CURRENT_USER\Software\WinRAR\Setup\Links] "Desktop"=dword:00000000 "StartMenu"=dword:00000000 "Programs"=dword:00000001 So a sample batch file that installs WinRAR might look like (wrprep.reg is the file above): @ECHO OFF TITLE WinRAR Setup ECHO Installing WinRAR 3.0 . . . CD "%~dp0" CMD /Q /U /C >>wrcfg.reg ECHO."DisplayIcon"="%SystemDrive%\\Program Files\\WinRAR\\winRAR.exe,0" CMD /Q /U /C >>wrcfg.reg ECHO."InstallLocation"="%SystemDrive%\\Program Files\\WinRAR\\" regedit.exe /s .\wrprep.reg wrar300.exe /s regedit.exe /s .\wrcfg.reg ECHO Done. Here another file, wrcfg.reg, is used to fancy up the WinRAR entry in "Add\Remove Programs". Two lines are appended to this file before it is loaded because the paths need the drive letter. The file wrcfg.reg looks like this: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\WinRAR archiver] "DisplayName"="WinRAR" "DisplayVersion"=" 3.00" "Publisher"="Eugene Roshal" "URLInfoAbout"="http://www.rarlab.com" "URLUpdateInfo"="http://www.rarlab.com" "VersionMajor"=dword:00000003 "VersionMinor"=dword:00000000 C.II Preconfigured Settings for All UsersThe sample batch file above only changes settings for the currently logged in user. To make all current and future users also have these settings as default, the registry entries need to be added for each user and to the default profile. Each user's registry hive, NTUSER.DAT, is located in their profile directory and the default profile is located in the "Default User" directory. So these hives each need to be loaded and then the above registry keys need to be added. This is of course easiest to do during a clean install before any users have been added. One Method:Here is a method using the Cmdlines.txt and winnt.sif functionality. It is less sophisticated than the next way and doesnt require reg.exe. First thing to know is that during GUI mode setup, Windows uses the default user profile and thus all user specific changes made at this time will be present for all future users, since a new user's initial profile is just copied from the default profile when they first logon. So to load the settings for WinRAR, with wrprep.cfg in the $OEM$ folder, add the following line to Cmdlines.txt: [Commands] "regedit.exe /s .\wrprep.reg" However, it gets more interesting. Actually, HKEY_CURRENT_USER is mapped to the HKEY_USERS\.DEFAULT key, which is the profile used when NO user is logged on (i.e. at the logon prompt); this hive is stored in the system32\config\default file. At the end of GUI mode setup, when setup is saving settings, it creates the default user profile by saving the current user profile to Default User\NTUSER.DAT. So while all the settings will be present for all future users, they will also REMAIN in this .DEFAULT profile, which may or may not be desireable. If needed just delete the entries from the .DEFAULT key after the default profile is saved. This can be done in a [GUIRunOnce] command or it can be done at the end of GUI mode setup right after settings are saved. To do this requires setting the UserExecute parameter to the appropriate command line in the winnt.sif answer file (undocumented?). To run a command after setup has saved settings, add a line to winnt.sif like: [setupParams] UserExecute="%SystemDrive%\$WIN_NT$.~LS\$OEM$\Profiles\Remove.bat" Here, Remove.bat might look like: @ECHO OFF CD "%~dp0" %SystemRoot%\regedit.exe /s .\RemovWin.reg .\RemovNet.reg .\RemovVid.reg .\RemovApp.reg and RemovApp.reg contains the lines: Windows Registry Editor Version 5.00 [-HKEY_CURRENT_USER\Software\Adobe] [-HKEY_CURRENT_USER\Software\Nico Mak Computing] [-HKEY_CURRENT_USER\Software\WinZip Computing] [-HKEY_CURRENT_USER\Software\WinRAR] When loaded, this deletes the keys (that had just previously been added) from the .DEFAULT profile. But since this is after the default profile has been saved, the settings will be intact for all users including the admin (Note: the administrator profile is created at the first logon). Another Method:Another way is to run the batch file as a [GUIRunOnce] command and add some lines to it like: SETLOCAL SET tmpKey=HKU\Default SET dirKey="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /v ProfilesDirectory CD "%~dp0" FOR /F "skip=1 tokens=2*" %%X IN ('reg.exe QUERY %dirKey%') DO FOR /F "delims=" %%Z IN ('ECHO %%Y') DO SET pdir=%%Z ECHO Configuring Default User. . . reg.exe LOAD %tmpKey% "%pdir%\Default User\NTUSER.DAT" reg.exe IMPORT "winrar.reg" reg.exe UNLOAD %tmpKey% ENDLOCAL This uses reg.exe from the resource kit. It first queries the location of the profiles directory from the registry and then loads the default profile into the "HKU\Default" key (arbitrary name). After loading the entries in winrar.reg, it then unloads the hive. Here, winrar.reg would look just like the wrprep.reg above, except it would point to the key that the hive was loaded into, for example: Windows Registry Editor Version 5.00 [HKEY_USERS\Default\Software\WinRAR] [HKEY_USERS\Default\Software\WinRAR\Setup] "ShellExt"=dword:00000001 "CascadedMenu"=dword:00000001 "MenuIcons"=dword:00000001 . . .Post was originally written by jiimmy @thetechguide-gosh Link to comment Share on other sites More sharing options...
Mann Posted October 18, 2003 Share Posted October 18, 2003 Link to comment Share on other sites More sharing options...
ahmedramzi Posted October 20, 2003 Share Posted October 20, 2003 does anyone know how to silent install these programs and attach it in my unattended XP CD?winamp 2.81realone player v2quicktime player 6.1Download Accelerator plus 5.3. flash player 7shockwave 8 Link to comment Share on other sites More sharing options...
Ypsos Posted October 20, 2003 Share Posted October 20, 2003 HalloAnyOne Know silent install myMP3 PRO 4.0 by Steinberg Link to comment Share on other sites More sharing options...
Ytterbium Posted October 21, 2003 Share Posted October 21, 2003 Program Name : Norton AntiVirus Pro 2004 Program Version : 2004Switch : /QBFull : NAVSETUP.exe /QBExtraction : NoRegistration :Still Have to ActivateProgram Name : MDAC 2.8Program Version : 2.8Switch : /q /C:"setup /QNT"Full : mdac_typ.exe /q /C:"setup /QNT"Extraction : NoRegistration :NoProgram Name : Journal Viewer 1.5Program Version : 1.5Switch : /qbFull : JV.msi /qbExtraction : YesRegistration :No Link to comment Share on other sites More sharing options...
996 Posted October 23, 2003 Share Posted October 23, 2003 How can the following be installed silently:Macromedia Dreamweaver MX 2004Macromedia Fireworks MX 2004Unpacked both seem to be done with Installshield.How can they be installed silently? Link to comment Share on other sites More sharing options...
venim Posted October 23, 2003 Share Posted October 23, 2003 Does anyone know the switch for Messanger 6.1? Link to comment Share on other sites More sharing options...
Alanoll Posted October 23, 2003 Share Posted October 23, 2003 How can the following be installed silently:Macromedia Dreamweaver MX 2004Macromedia Fireworks MX 2004Unpacked both seem to be done with Installshield.How can they be installed silently?try this...if its an Installshield (i believe they are) Unattned > Installshieldor thisUnattend > Windows INstaller Link to comment Share on other sites More sharing options...
996 Posted October 24, 2003 Share Posted October 24, 2003 Installing Macromedia Products Unattended & silently:Tested with:Macromedia Dreamweaver MX 2004Macromedia FireworksMX 2004If necessary extract the archive using winrar. Switch to command line and enter:setup /rThis "records" the installation and creates and unattendes setup file named setup.iss in your WINDOWS directory. Copy this file to the install dir (the one where you are going to install your product from later on from the CD).When setup is called using this line:setup /s /smsit installs silently and waits (do NOT use start /wait! it won't work, the installer will quit!).BUG: Dreamweaver will upon a successful silent install pop up an html readme in Internet Explorer. This can be killed using pskill BUT since I use the VBS Install Menu made by iceman which uses IE to render it kills this also Link to comment Share on other sites More sharing options...
Aaron Posted October 24, 2003 Share Posted October 24, 2003 Does anyone know the switch for Messanger 6.1?/qb or /qn should still work on the extracted msi file inside Link to comment Share on other sites More sharing options...
catpsion Posted October 27, 2003 Share Posted October 27, 2003 I just have followed your instruction for MSN messenger, Aaron, and /qb result on a silly popup (click OK to install).I'm gonna try with /qn. Link to comment Share on other sites More sharing options...
catpsion Posted October 27, 2003 Share Posted October 27, 2003 Anyone would know how i can install ZoneAlarm pro unattented ?TIAEDIT: Well, indeed i can install it silently with /s and then PSkill the registration wizard.But i can't find how i can register it silently after that. Link to comment Share on other sites More sharing options...
Bachus Posted October 27, 2003 Share Posted October 27, 2003 Does anyone know how to install AVG 6.5 free silently? Link to comment Share on other sites More sharing options...
XtremeMaC Posted October 27, 2003 Share Posted October 27, 2003 don't have any idea where ppl find such interesting anti-virus programsis it any good?( they don't have any info on their website about silent setup)for the msi files if you have time edit them with either software:Installshield Dev studio 9 Wise package studio Proetc. 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