Hi,
first of all I want to thank you. I found some switches i realy needed :-)
Well now:
Java 1.5.0 start /w jre-1_5_0_02-windows-i586-p.exe /L1031 /s /v"/qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=0 INSTALLDIR=C:\Programme\Java\JRE15 REBOOT=Suppress JAVAUPDATE=0"
- "/Lxxxx" is your local setting, see
http://www.asphelper.de/Referenz/LCID.asp- be aware of the the parameter order which has changed since 1.4
Arcobat 7.0-
http://www.adobe.com/support/downloads/detail.jsp?ftpID=2709Download & install, follow the instructions and you finally get a .exe file that *DOES NOT* start NetFeed Optimizer or what ever, just installs with the Settings you did.
This one works for Acrobat Writer, too, you can deploy with Serial# .. so on.
Office 2k3start /w %systemdrive%\setup.exe /noreboot /qr ALLUSERS=2 CDCACHE=AUTO COMPANYNAME="<foo INC>" INSTALLLOCATION=%ProgramFiles%\Office2003 LOCALCACHEDRIVE=C PIDKEY=<YourCDKey>
- Note that the CD Key has to be without spaces or '-', just like 1234567890987654321
- ALLUSERS=2 is fine for us as we deploy in a DC environment with multiple user access to the clients. It means, you install Office 2k3 as 'Admin' and any further User on that Client gets his 'personalized' installation as soon as he starts. You may use ="1" which means, actually the same, but any user who wants to use office later on has to have administrator rights.
RealVNC 4.1- Create a installation information file:
start vnc-4_1_1-x86_win32.exe /SP- /SAVEINF="rvnc.iss"
or create one like:
[Setup]
Lang=default
Dir=C:\Programme\RealVNC\VNC4
Group=RealVNC
NoIcons=1
Components=vncviewer
Note that /SAVEINF stores the file in %windir%, so mostly like c:\windows or c:\winnt
- Than install:
vnc-3.3.4-x86_win32.exe /SP- /LOADINF="vnc.iss" /VERYSILENT
or
vnc-3.3.4-x86_win32.exe /SP- /LOADINF="vnc.iss" /SILENT
/SP- suppresses the "do you want to install box"
/SILENT will display a progress bar
/VERYSILENT displays nothing
winrarstart /w wrar342d.exe /s
mIRCI did not found a proper solution but i want stuff like 'uninstall' in 'Software' so I did:
winrar, pack c:\programs\mirc\, create a SFX with absolute paths. In advanced SFX options you may set set 'overwrite withouth asking' and 'automacially unpack without asking'
Than you need to import a *.reg. As there are alot of keys, to much to post, please export it yourself, you need:
[HKEY_CLASSES_ROOT\ChatFile]
[HKEY_CLASSES_ROOT\irc]
[HKEY_CURRENT_USER\Software\mIRC]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\ChatFile]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\irc]
(+ all the keys inside)
and
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\mIRC]
"DisplayName"="mIRC"
"UninstallString"="\"C:\\Programs\\mIRC\\mirc.exe\" -uninstall"
Now:
start /w <YourWinRARSFXFile>.exe
REGEDIT /S <YourRegExport>.reg
F-Secure (and hotfix*.fsfix)
That is infact very worse to make as there are alot of undocumentated things. If you realy want to deploy it to 15+ Workstations, try it! Its realy awsome when done. If you just have 3 clients that will be reinstalled any half year, keep it manually.
- Download & install the 'F-secure Policy Manager' from fsecure.com
- Download the F-Secure *.exe installation from fsecure.com.
- Run: Start - Programs - F-Secure Policy Manager Console - F-Secure Poliy Manger Console.
(The Password now is thatone you set up during installation of Policy Manager.)
- Click on "Installation Packages" Icon and import the *fsav*.EXE file you downloaded before.
- Export the Package into a *.JAR file.
- Get 'ilaunchr.exe'. (Maybe google for it)
start /w ilaunchr.exe <YourFsavJar>.jar /U
/U is unattended, please us a capital 'U', not 'u'.
** Hotfixes can be done the same way. **
Hummingbird- Make a full installation.
- You'll find a file called 'sconfig' within the c:\programs\Hummingbird\Connectivity\<version>\Accessories\
- Create a installaton package
- and start it in unattend mode by:
setup.exe /S /Lxxxx /V"TRANSFORMS="<pathTo>\Admin.MST" /QN
- "/Lxxxx is your local setting, see
http://www.asphelper.de/Referenz/LCID.aspFontsDo not know if it was mentioned before but it wrecked my nerves!
If you want to import Fonts during a unattend installation you may realise that copy/xcopy will not work.
Its pretty easy at all. Just make a another self extracting winrar archive with a absolute path to %windir%\fonts (see mIRC section).
Maybe(!) on some Windows Versions you need to "start explorer c:\windows\fonts" so the explorer will initialize the fonts, too.
Something else1)
For those of you using 'cacls' or want the set Registry/File/Folder/Security Permissions in a larger Windows Domain environment without AD (Like NT4PDC or SAMBA) you *realy* may want to have a look here:
- start - run - "mmc".
- Add the Snaps "Security configuration and analyses" and "Security Templates".
- Go "Security Templates" snap, and have a look at the templates in "%windir%\security\templates\".
The names are like "High Security Domain Controler", "root security" .. so on.
- Use one and click 'save as' <YourTemplate>.inf.
- Now edit the Settings, Serice Settings, User Security, ACLs, ...
- Save!
- Go "Security configuration and analyses" snap
- 'Open Database' (just type a name, it will create a new one) <YourDB>.sdb
- Import <YourTemplate>.inf
- Save!
Done! You can setup the policy by:
- secedit /configure /cfg %systemdrive%\<YourTemplate>.inf /db %systemdrive%\<YourDB>.sdb
(import it)
- gpupdate /force
(update the local policy now)
2)
If you want to connect a printer you mostly want to do two things. Either a Network/Local Printer, OR a Printer that uses a TCP/IP Port.
Network Printer (Like shared printer somewhere):
- rundll32 printui.dll,PrintUIEntry /in /b "<PrinterName>" /f Drivers\<DRIVER>.INF /n \\<YourShare>\<PrinterShareName> /m "<PrinterName>"
This will include the file Drivers\<DRIVER>.INF with a driver so you may not select one manually. You realy should use the exact Name thats specified in the INF file for "<PrinterName>", otherwise it may fail.
Setup a TCP/IP Port and connect a printer:
- Make a reg file and import:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Monitors\Standard TCP/IP Port\Ports\IP_<TheRemoteIP>]
"Protocol"=dword:00000002
"Version"=dword:00000001
"HostName"=""
"IPAddress"="<TheRemoteIP>"
"HWAddress"=""
"PortNumber"=dword:00000203
"SNMP Community"="public"
"SNMP Enabled"=dword:00000001
"SNMP Index"=dword:00000001
"Queue"="PASSTHRU"
"Double Spool"=dword:00000000
- You need to restart your Spooler Service now!
net stop spooler
net start spooler
- Than connect the Printer:
rundll32 printui.dll,PrintUIEntry /if /b "<PrinterName>" /f Drivers\<DRIVER>.INF /r "IP_<YourRemoteIP>" /m "<PrinterName>" /Z
This will include the file Drivers\<DRIVER>.INF with a driver so you may not select one manually. You realy should use the exact Name thats specified in the INF file for "<PrinterName>", otherwise it may fail.
Hth!
/jrk/