Jump to content

Some interesting App Install Problems -ADVICE PLS-


xtremexxx

Recommended Posts

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" /f
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" /f
REG ADD %KEY%\025 /V 2 /D "%systemdrive%\install\IrfanView\all_plugins.exe /silent" /f

REG ADD %KEY%\030 /VE /D "K-Lite codec pack 2.10" /f
REG 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,mp3audi
o,wmaaudio,ac3audio,oggvorbis,musepack,vsfilter,oggvorbissplitter,matroska,fourcc,gspot,disg400,disf
fdshow"" /f

REG ADD %KEY%\050 /VE /D "PowerQuest PartitionMagic 8.0.1242" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%\install\PMagic\setup.exe /s /v/qn" /f
REG ADD %KEY%\050 /V 2 /D "REGEDIT /S %systemdrive%\install\PMagic\register.reg" /f

REG ADD %KEY%\065 /VE /D "TweakUI 2.10 Powertoy" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\PowerToys\TweakUI.msi /qb" /f

REG ADD %KEY%\065 /VE /D "Task Switcher Powertoy" /f
REG ADD %KEY%\065 /V 1 /D "%systemdrive%\install\PowerToys\TaskswitchPowertoySetup.exe /s /v/qn" /f

What do the experts say ?

Thanks in advance.

xtreme

Link to comment
Share on other sites


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 Files

or 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

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 Files

or 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

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

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

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

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" /f

But 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

"%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 syntax

And MD how to be placed in runonceex?

CMD /C MD %programfiles%\IrfanView

Correct?

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...