View Full Version : Unatteded installation of Avisynth
Hironimo
7th October 2004, 14:17
Hi there.
I would like to have avisynth installed automatically without userinteraction - best using the installer as it provides an uninstall feature - in the context of an windows unattended installation cd (the applications are automatically installed
after the basic windows installation).
Can you tell me how to do that (which command line switches to use)?
Thanx in advance,
Hironimo
sh0dan
7th October 2004, 16:48
I believe you'd have to recreate the NSIS installer.
I should just be removing these lines:
!insertmacro MUI_PAGE_LICENSE "GPL.txt"
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
You do however need to place all the appropriate files in the correct location (based on how the cvs directory structure is), but it should primarily be a matter of a bit of trial & error. ;)
zwahri
8th October 2004, 14:32
Originally posted by Hironimo
I would like to have avisynth installed automatically without userinteraction - best using the installer [...] windows unattended installation cd
Can you tell me how to do that (which command line switches to use)?
I'm doing this since Version 2.54 and this works for me:START "AviSynth" /B /WAIT "AviSynth_255.exe" /S /D=%ProgramDrive%\Multimedia\Avisynth 2.5The line above is taken from my win2k/xp install script, which runs via the "UserExecute =" line in winnt.sif
It's a bit much, but it shows how to make your script wait for the installer (the "start" part) (because I don't want more than one installer at a time to run) plus how to make the installation silent (/s) and how to install to a specific location(*). It works for me ;)
HTH,
Z
(*) I use %ProgramDrive% as variable for all my installers so I can give it as an argument for my script in winnt.sif - maximum flexibility in case I want to install my Programs to another drive ;)
gizmo_1
6th November 2004, 18:11
What exatly is this unattended feature?
Sounds like I can install my OS (Win2000, XP?) and then all my applications with two clicks. (maybe one using Norton Ghost) :eek:
Really can I gain all this time and annoying work?
THX and excuse me for the off-topic.
zwahri
7th November 2004, 21:04
Originally posted by gizmo_1
Sounds like I can install my OS (Win2000, XP?) and then all my applications with two clicks. (maybe one using Norton Ghost) :eek:
It's useful if you're doing a lot of Windows-installations: Basically you have to customize a script file (winnt.sif[1]) with usernames and install paths and if done right Windows will install itself without making any klicks (reading winnt.sif from diskette).
You may even build your own CD including new drivers and some basic apps (e.g. Mozilla, AviSynth, CDex, WinAmp, ffdshow, MPC, Miranda, Service Pack, Hotfixes[2]...). You can even provide a different default desktop if you want, it depends on how much time you want to waste generating (read: writing scrips and test them) the CD.
CU,
Z
[1] search the web and read the DOC-files in SUPPORT\TOOLS\deploy.cab on your windows (professional) CD.
[2] most useful are apps that run without installer, but most installers are able to run silent it only requires more work
gizmo_1
8th November 2004, 02:13
Thanx for the information.
I'll give it a try.
gizmo_1
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.