webmedic Posted September 14, 2003 Author Share Posted September 14, 2003 ok for the first my cmd files seem ot execute properly so I have not worried about it. I never really thought about weather or not they waited as I know they do it's just that they execute so fast or at least the ones I use do execute fast. I'm not sure what you mean by problem with wfp the only way you get that is if you try to replace windows files. AS for me Ido have a few things that remove files but they are cmd files and as such an eror is genereated but you simply ignore the error and wait for the ssytem to reboot. Note: you can only do that as part of guirunonce and not part of cmdlines.txt as used here. Link to comment Share on other sites More sharing options...
DaveXP Posted September 15, 2003 Share Posted September 15, 2003 ok how do i change this script to match wat i need?? it all looks a bit confusing. Link to comment Share on other sites More sharing options...
webmedic Posted September 15, 2003 Author Share Posted September 15, 2003 well for the inf file it is just putting in regitry entries so after the registry entry you see "the name you want displayed on the installer",0,"the command line to execute"in there I have given examples on how to do msi installer types also. For iss(install shield) installers I use cmd files to install them with wich seems ot work just fine. Link to comment Share on other sites More sharing options...
DaveXP Posted September 15, 2003 Share Posted September 15, 2003 Do you have a screen shot before i do this so i can see what it should look like thanks. Link to comment Share on other sites More sharing options...
webmedic Posted September 15, 2003 Author Share Posted September 15, 2003 http://community.webshots.com/album/88765910NgOtEo Link to comment Share on other sites More sharing options...
DaveXP Posted September 15, 2003 Share Posted September 15, 2003 http://community.webshots.com/album/88765910NgOtEoThanks very helpful and i must say i like how you put that Information on it as you cant seem to do that in the other one i tryed out.EDIT:webmedic do you think that you could add a option to play a game on your setup thing say maybe sol or minesweeper just incase the person is there one time and bored with watching it setup. Link to comment Share on other sites More sharing options...
webmedic Posted September 15, 2003 Author Share Posted September 15, 2003 lol youve done a few to many linux installs. I'm not sure if it could be done or not. You know I do have a few older gamed that are like majong and stuff that are not micrsoft games but really the soonest you would be able to call it would be durring cmdlines.txt and by that time the install is almost done or at least 2/3's the way done. Link to comment Share on other sites More sharing options...
DaveXP Posted September 15, 2003 Share Posted September 15, 2003 lol youve done a few to many linux installs. I'm not sure if it could be done or not. You know I do have a few older gamed that are like majong and stuff that are not micrsoft games but really the soonest you would be able to call it would be durring cmdlines.txt and by that time the install is almost done or at least 2/3's the way done.lol...I like that game on Linux makes the time past quicker Just a thought for your inf files but maybe pictures could be include in the setup windows instead you no just to make it look nice and all. Link to comment Share on other sites More sharing options...
webmedic Posted September 15, 2003 Author Share Posted September 15, 2003 hm I know of no way to do that. It would be interesting though. Link to comment Share on other sites More sharing options...
DaveXP Posted September 15, 2003 Share Posted September 15, 2003 hm I know of no way to do that. It would be interesting though.They is always away. i think that you could work it out you seem good that these .inf file things. Good Work!! Link to comment Share on other sites More sharing options...
webmedic Posted September 17, 2003 Author Share Posted September 17, 2003 doing finalizing here and will release a new version shortly. Link to comment Share on other sites More sharing options...
chon_ Posted September 17, 2003 Share Posted September 17, 2003 medic: I'm using part of your 2 cd cmd for the windows update method and it works, but it doesn't work on the inf method, any suggestions?CLS@ECHO OFFECHO.ECHO Expulsando CD-ROM...ECHO.ECHO Si est instalando desde CD por favor ret¡relo ahora de la unidad de CD.ECHO Si tiene un segundo CD por favor ins‚rtelo en la unidad en este momentoECHO Si est utilizando un DVD para la instalaci¢n por favor ret¡relo ahora.ECHO.ECHO Espere hasta que la unidad de cdrom/dvd deje de parpadear y luegostart cscript %systemdrive%\install\Tools\cd_eject.vbs >nulPSKill cscript.exe >nulPAUSEIF EXIST %systemdrive%\install\apps.cmd GOTO RUNBATCHSET CDROM2=IF EXIST D:\install\apps.cmd SET CDROM2=D:IF EXIST E:\install\apps.cmd SET CDROM2=E:IF EXIST F:\install\apps.cmd SET CDROM2=F:IF EXIST G:\install\apps.cmd SET CDROM2=G:IF EXIST H:\install\apps.cmd SET CDROM2=H:IF EXIST I:\install\apps.cmd SET CDROM2=I:IF EXIST J:\install\apps.cmd SET CDROM2=J:IF EXIST K:\install\apps.cmd SET CDROM2=K:IF NOT EXIST %CDROM2%\install\apps.cmd GOTO RUNBATCHECHO.ECHO Por favor sea paciente mientras se copian los archivos a su disco duro,ECHO esto puede llevar varios minutos. . . .xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /YECHO.:RUNBATCHECHO.EXIT Link to comment Share on other sites More sharing options...
webmedic Posted September 17, 2003 Author Share Posted September 17, 2003 IF EXIST %systemdrive%\install\apps.cmd GOTO RUNBATCHSET CDROM2=IF EXIST D:\install\apps.cmd SET CDROM2=D:IF EXIST E:\install\apps.cmd SET CDROM2=E:IF EXIST F:\install\apps.cmd SET CDROM2=F:IF EXIST G:\install\apps.cmd SET CDROM2=G:IF EXIST H:\install\apps.cmd SET CDROM2=H:IF EXIST I:\install\apps.cmd SET CDROM2=I:IF EXIST J:\install\apps.cmd SET CDROM2=J:IF EXIST K:\install\apps.cmd SET CDROM2=K:IF NOT EXIST %CDROM2%\install\apps.cmd GOTO RUNBATCHECHO.ECHO Por favor sea paciente mientras se copian los archivos a su disco duro,ECHO esto puede llevar varios minutos. . . .xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /YECHO.:RUNBATCHECHO.EXITthis should be IF EXIST %systemdrive%\install\apps.inf GOTO RUNBATCHSET CDROM2=IF EXIST D:\install\apps.inf SET CDROM2=D:IF EXIST E:\install\apps.inf SET CDROM2=E:IF EXIST F:\install\apps.inf SET CDROM2=F:IF EXIST G:\install\apps.inf SET CDROM2=G:IF EXIST H:\install\apps.inf SET CDROM2=H:IF EXIST I:\install\apps.inf SET CDROM2=I:IF EXIST J:\install\apps.inf SET CDROM2=J:IF EXIST K:\install\apps.inf SET CDROM2=K:IF NOT EXIST %CDROM2%\install\apps.inf GOTO RUNBATCHECHO.ECHO Por favor sea paciente mientras se copian los archivos a su disco duro,ECHO esto puede llevar varios minutos. . . .xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /YECHO.:RUNBATCHECHO.EXITI also see at the end you are not calling the inf file you need to call it at some point for it ro run. for instance in guirunonce.[GuiRunOnce]Command0="%systemdrive%\WINDOWS\SYSTEM32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %systemdrive%\install\apps.inf" Link to comment Share on other sites More sharing options...
chon_ Posted September 17, 2003 Share Posted September 17, 2003 hmmm... maybe I dind't make myself clear, im using apps.cmd only to let the batch file know if the correct disc is inserted and begin copying files, actually I don't use that file, the applications setup is called within setup.inf (which is called from cmdlines.txt) setup.inf searches for applications on %systemdrive% but it wont find anything because the content of the second disc was not copied to %systemdrive% that's my problem.PS Jus ta thought: perhaps setup is not giving copy.cmd enough time to do the job and it terminates before it can copy a thing Link to comment Share on other sites More sharing options...
webmedic Posted September 17, 2003 Author Share Posted September 17, 2003 ah that explains it I have tried and you will get problems if you try ot do a 2cd install from cmdlines.txt. There is no way I know if to over come that. 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