darksimoon Posted September 10, 2005 Posted September 10, 2005 hello friends its me again after a while 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 0bstart /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 0bstart /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 /silentstart /wait Shockwave_Installer_Full.exe /sstart /wait netfx.msi /qn REBOOT=Suppress"start /wait vbrun60sp6.exe /Q:A /R:Npls can you tell me where the fault is or show me the way how to do so....thanks in advance
MHz Posted September 11, 2005 Posted September 11, 2005 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.
Siginet Posted September 12, 2005 Posted September 12, 2005 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=Suppressstart /wait "%CDROM%\wincomp\vb runtime\vbrun60sp6.exe" /Q:A /R:Nstart /wait "%CDROM%\wincomp\directx9c\dxsetup.exe" /silentstart /wait "%CDROM%\wincomp\flashplayer\Shockwave_Installer_Full.exe" /sThe 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.
Kelsenellenelvian Posted September 12, 2005 Posted September 12, 2005 (edited) Or just use svcpack.inf method it is much easier. Edited September 12, 2005 by kelsenellenelvian
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