xtremexxx Posted July 30, 2004 Share Posted July 30, 2004 Ok so I tried my latest unattended build ... Install went fine and it got to the RunOnceEx.cmd I will post only the stuff that aparently didn't do anything ( double checked in Add/Remove Programs ):REG ADD %KEY%\025 /VE /D "IrfanView 3.91" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\IrfanView\iview391.exe /silent /folder="C:\Program Files\irfanview" /desktop=1 /group=1 /allusers=0 /assoc=1" /fREG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\IrfanView\all_plugins.exe /silent" /fREG ADD %KEY%\030 /VE /D "K-Lite codec pack 2.10" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\KLiteCodec\klcodec210f.exe /VERYSILENT /SP- /COMPONENTS=& "#34;bsplayer,divx,divxdec,xvid,xviddec,3ivx,wmv,dvd,mpeg2ligos,indeo,indeo4,indeo32,i263,mp3audio,wmaaudio,ac3audio,oggvorbis,musepack,vsfilter,oggvorbissplitter,matroska,fourcc,gspot,disg400,disffdshow"" /fREG ADD %KEY%\050 /VE /D "PowerQuest PartitionMagic 8.0.1242" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\PMagic\setup.exe /s /v/qn" /fREG ADD %KEY%\050 /V 2 /D "REGEDIT /S %systemdrive%\install\PMagic\register.reg" /fREG ADD %KEY%\065 /VE /D "TweakUI 2.10 Powertoy" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\PowerToys\TweakUI.msi /qb" /fREG ADD %KEY%\065 /VE /D "Task Switcher Powertoy" /fREG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\PowerToys\TaskswitchPowertoySetup.exe /s /v/qn" /fWhat do the experts say ?Thanks in advance.xtreme Link to comment Share on other sites More sharing options...
Rockhound Posted July 30, 2004 Share Posted July 30, 2004 For the first one, you need to enclose the folder location with \'s - /folder=\"C:\Program Files\irfanview\"since there is a space in the directory name - Program Filesor even like this /folder=\"%systemdrive%\Program Files\irfanview\"For the Partition Magic install, put the REGEDIT line ahead of the install line. Link to comment Share on other sites More sharing options...
xtremexxx Posted July 30, 2004 Author Share Posted July 30, 2004 For the first one, you need to enclose the folder location with \'s - /folder=\"C:\Program Files\irfanview\"since there is a space in the directory name - Program Filesor even like this /folder=\"%systemdrive%\Program Files\irfanview\"7/30/2004 - 23:46:15: Can't create destination directory!Please check your write permissions and system policies!Try to create the destination folder manually and restart.: \"C:\Program Files\irfanview\Surely that's not the correct way as you said Link to comment Share on other sites More sharing options...
1chaoticadult Posted July 30, 2004 Share Posted July 30, 2004 for klite codec pack use /LOADINF="put path here/name of file.inf" to make inf <-- (don't this with ur unattended, setup in os u currently are using) and (do this with ur unattended cd) --> /SAVEINF="put path here/name of file.inf" instead of listing all the components. Link to comment Share on other sites More sharing options...
xtremexxx Posted July 30, 2004 Author Share Posted July 30, 2004 for klite codec pack use /LOADINF="put path here/name of file.inf" to make inf <-- (don't this with ur unattended, setup in os u currently are using) and (do this with ur unattended cd) --> /SAVEINF="put path here/name of file.inf" instead of listing all the components.%systemdrive%\install\KLiteCodec\klcodec210f.exe /SAVEINF="%systemdrive%\install\KLiteCodec\klite.inf"Like this ? And can you show me a correct inf file ? Link to comment Share on other sites More sharing options...
mazin Posted July 30, 2004 Share Posted July 30, 2004 REG ADD %KEY%\065 /VE /D "TweakUI 2.10 Powertoy~~~~~~~~REG ADD %KEY%\065 /V 1 /D "%systemdrive%~~~~~~~~~~~~REG ADD %KEY%\065 /VE /D "Task Switcher Po~~~~~~~~~~~~REG ADD %KEY%\065 /V 1 /D "%~~~~~~~~~~~~~~~~~~~~~You can't!This is what I'm saying about the /f usage. If we don't use /f we can be informed if there is a duplicate. Link to comment Share on other sites More sharing options...
xtremexxx Posted July 30, 2004 Author Share Posted July 30, 2004 You're right, I guess that should fix my problem, but what shouldn't they install same time still ? Anyway I changed it and I will test, thanks !!! Link to comment Share on other sites More sharing options...
mazin Posted July 30, 2004 Share Posted July 30, 2004 This is the correct syntax for 025-->1:REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\IrfanView\iview391.exe /silent /folder=\"C:\Program Files\irfanview\" /desktop=1 /group=1 /allusers=0 /assoc=1" /fBut if you still have problems with directory creation, try placing a MD command above the syntax.For 030-->1, just keep one quote:This fdshow"" /f must be fdshow" /f Link to comment Share on other sites More sharing options...
xtremexxx Posted July 31, 2004 Author Share Posted July 31, 2004 "%systemdrive%\install\KLiteCodec\klcodec210f.exe /VERYSILENT /SP- /COMPONENTS=& "#34;bsplayer,divx,divxdec,xvid,xviddec,3ivx,wmv,dvd,mpeg2ligos,indeo,indeo4,indeo32,i263,mp3audio,wmaaudio,ac3audio,oggvorbis,musepack,vsfilter,oggvorbissplitter,matroska,fourcc,gspot,disg400,disffdshow"" /f"" is needed one from "codecs" and one for syntaxAnd MD how to be placed in runonceex?CMD /C MD %programfiles%\IrfanViewCorrect?EDIT : there is a bug in post, pasting long lines... It doesn't show the " for instance and even adds new stuff .... I'll segment the line Link to comment Share on other sites More sharing options...
mazin Posted July 31, 2004 Share Posted July 31, 2004 You can have the directory created directly by RunOnceEX.cmd without importing it to the Registry.I mean to use this line: MD "%systemdrive%\Program Files\IrfanView" without REG ADD %KEY%...Also, in your first post, you said COMPONENTS=& & #34... and now you say COMPONENTS=&"#34...Which one do you mean to be right? 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