BATCH Problem - Printable Version +- Support Forum (https://www.vitaligraf.de/mybb) +-- Forum: Windows Unattended CD Creator (https://www.vitaligraf.de/mybb/forumdisplay.php?fid=9) +--- Forum: English (https://www.vitaligraf.de/mybb/forumdisplay.php?fid=7) +--- Thread: BATCH Problem (/showthread.php?tid=233) |
BATCH Problem - MAKI - 2006-08-29 Hy Guyz....!!! I have one problem...... Im using Windows Unattended CD Creator and it works not just good but realy realy realy good but..... (listen) I create one folder and put in programs like Nero B.R.6, Media player.....ect. and make one batch file called install.bat to perform full unattended instalation of these programs an it looks somthing like this..... ECHO. ECHO Instalacija: Nero Burning ROM v6.6.0.3 ECHO Molimo sacekajte....... start /wait %CDROM%\Software\Install\nero\Nero6603.exe /silent /noreboot ECHO Instalacija uspjesno zavrsena..... ECHO. ECHO. After that i used Windows Unattended CD Creator nad under the SOFTWARE tab I made "Software desciption: Install" and chose "Directories" tab. After "Adding" folder with my programs I chose to start install.bat Problem starts when Windows XP finish its instalation and start Install.bat.... After that it says that can not find \Software\Install\nero\Nero6603.exe ??? Hmmmm (something is wrong with my path) Im asking what is wrong in my install.bat? How to enter a path to find Software\Install\nero\Nero6603.exe on my WIN_XP CDROM ???!!!!!** PL... HLP.... This is my Section [Software] from SETTINGS.TXT [Software] UNNTInstall.checkPoint="Software\Install" UNNTInstall.Steps="1" UNNTInstall.Step.1=""%CDROM%\Software\Install\Install.bat"" Reihenfolge="Install" Thanks : ) RE: BATCH Problem - Vitali - 2006-08-29 Try it: <Install.bat> Wrote:ECHO.and it: <settings.txt> Wrote:[Software]save both, start WUCD Creator and create new ISO. Second %CDROM% in settings.txt is a switch for Install.bat %1 in Install.bat is a first switch cmd /c is better as start /wait! RE: BATCH Problem - MAKI - 2006-08-30 Ej... Guyz...!!! It wont work...... It says that can not find (for example my CDrom G: ) G:\Software\Install\Install.bat" %CDROM%".... After that I removed this part %CDROM% in my Section [Software] from SETTINGS.TXT... and it looks like the first one [Software] UNNTInstall.checkPoint="Software\Install" UNNTInstall.Steps="1" UNNTInstall.Step.1=""%CDROM%\Software\Install\Install.bat"" Reihenfolge="Install" But I do what you were saying with my Install.bat (it looks like this...) ECHO. ECHO Instalacija: Nero Burning ROM v6.6.0.3 ECHO Molimo sacekajte....... cmd /c "%1\Software\Installnero\Nero6603.exe" /silent /noreboot ECHO Instalacija uspjesno zavrsena..... ECHO. ECHO. I put again may software, made new XP cd.....bla bla bla... and try to install Windows XP Professionall again, unatended CD works fine, but after the XP instalation, when it need to start Install.bat, it wont start it and just enter on the WIndows Desktop........... Oh God am I asking so much.....???!!! I could solve this problem with $OEM$ instal, and I did, but I want to start these programs directly from my CD. Im going to cry..... this is my third sleepless night Hehehehe PS: Im using VMware Workstation 5.5.0 RE: BATCH Problem - Vitali - 2006-08-30 Tomorrow make I tests with VMWare and install.bat! Why would you use install.bat? Why don't instal nero directly? PS: Sorry my english. RE: BATCH Problem - Vitali - 2006-08-31 Today tested I follow Install.bat with VMware: Quote:@ECHO offIts working ! My settings.txt: Quote:[Software]If you would more known about %~dp0, try test it self with follow test.bat: Quote:@echo offSave to Desktop and start it RE: BATCH Problem - MAKI - 2006-09-01 I find a solution..... (listen) HEHEHEHEHEEHE In my Install.bat file i put these two lines: @ECHO off SetLocal enableextensions SET CDROM=%~d0 ECHO Instalacija: Nero Burning ROM v6.6.1.4 ECHO Molimo sacekajte....... cmd /c "%CDROM%\nero\Nero-6.6.1.4_no_yt.exe" /silent /noreboot ECHO Instalacija uspjesno zavrsena..... ECHO. ECHO. EndLocal exit and It works... Ill try your method too..  Im very interested in %~dp0 PS: Thanks - By the way, can you tell me smething about RunOnceEx.jv and RunOnceEx.cmd (I reed about this on http://unattended.msfn.org ) some link about that or.....?? - How did you make VMware to test your install.bat witouth making Windows XP CD and putting Install.bat in IT ? THX Again.... :  ) RE: BATCH Problem - Vitali - 2006-09-03 MAKI Wrote:- By the way, can you tell me smething about RunOnceEx.jv and RunOnceEx.cmd (I reed about this on http://unattended.msfn.org ) some link about that or.....??Oh... You can read about Runonceex.bat / Runonceex.cmd: http://unattended.msfn.org/unattended.xp/view/web/59/ I'm using Runonceex.js anstad of runonceex.bat. Bat it is very complex!:
MAKI Wrote:- How did you make VMware to test your install.bat witouth making Windows XP CD and putting Install.bat in IT ?I make a new CD and put install.bat in ISO: Vitali Wrote:My settings.txt:I don't burning ISO to CD. I'm using ISO directly by VMWare.Quote:[Software] |