Jump to content

Recommended Posts

Posted

hello friends its me again after a while :hello:

i want to integrate the netframework, vb runtime, directx9c and flashplayer into my ua CD at T13 stage by means of cmdlines.txt in order to apply it for all users as windows components. and i wanted to do it by the command as follows:

[commands]

".\cmds\wincomp.cmd"

and my wincomp.cmd file is as follows:

@echo on&title windows components are being installed&color 0b

start /wait "%CDROM%\wincomp\netframework\netfx.msi "/qn REBOOT=Suppress"

start /wait "%CDROM%\wincomp\vb runtime\vbrun60sp6.exe /Q:A /R:N"

start /wait "%CDROM%\wincomp\directx9c\dxsetup.exe /silent"

start /wait "%CDROM%\wincomp\flashplayer\Shockwave_Installer_Full.exe /s"

but in order to test it in windows environment i wrote the cmd file instead,

@echo on&title windows components are being installed&color 0b

start /wait "D:\xpcd\wincomp\netframework\netfx.msi /qn REBOOT=Suppress"

start /wait "D:\xpcd\wincomp\vb runtime\vbrun60sp6.exe /Q:A /R:N"

start /wait "D:\xpcd\wincomp\directx9c\dxsetup.exe /silent"

start /wait "D:\xpcd\wincomp\flashplayer\Shockwave_Installer_Full.exe /s"

but when i click it on the desktop unfortunately it didnt work .

since i was sure about the commands are right, i wanted to test the every command in individual cmd file and put it in the relevant folder and it seemed to me it works. here are the codes for my test cmd files in relevant folder.

start /wait dxsetup.exe /silent

start /wait Shockwave_Installer_Full.exe /s

start /wait netfx.msi /qn REBOOT=Suppress"

start /wait vbrun60sp6.exe /Q:A /R:N

pls can you tell me where the fault is or show me the way how to do so....

thanks in advance :)


Posted

Your test that works shows no quotes. Type Start /? in the command console to get the correct syntax to be used. You will find that the 1st set of quotes after the Start command refer to the window title parameter.

Posted

Yep for instance...

You have

start /wait "%CDROM%\wincomp\netframework\netfx.msi "/qn REBOOT=Suppress"
start /wait "%CDROM%\wincomp\vb runtime\vbrun60sp6.exe /Q:A /R:N"
start /wait "%CDROM%\wincomp\directx9c\dxsetup.exe /silent"
start /wait "%CDROM%\wincomp\flashplayer\Shockwave_Installer_Full.exe /s"

Should be...

start /wait "%CDROM%\wincomp\netframework\netfx.msi" /qn REBOOT=Suppress
start /wait "%CDROM%\wincomp\vb runtime\vbrun60sp6.exe" /Q:A /R:N
start /wait "%CDROM%\wincomp\directx9c\dxsetup.exe" /silent
start /wait "%CDROM%\wincomp\flashplayer\Shockwave_Installer_Full.exe" /s

The way you were doing it you were basically saying there were no switches.

Everything between the quotes represents a path. The reson for the quotes is so that you can use a path which has spaces. The quote tell it that the spaces are part of the path. If you enclose your switches within those quotes it looks at them as if they were part of the path. ;)

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...