Gouki Posted May 25, 2005 Share Posted May 25, 2005 Guys ... Ive been trying to make my UA CD work for a long time now ... So, Ill try to post my 3 files:-start.cmd-cleanup.cmd-winnt.sifFor the experts to take a look at it and tell me if something is wrong.I really appreciate all the help that the ppl from the Forum have been giving me for the past couple of months.My start.cmd code:@echo offECHO.ECHO Durante os proximos minutos as instalacoes vao ter lugar.ECHO Nao mexe no computador e aguarde.ECHO O computador se reiniciara assim que estiver tudo concluido.ECHO.ECHO.ECHO.ECHO A instalar o MSN Messenger v6.2ECHO Por favor aguarde ...start "" /wait "%systemdrive%\install\MSN\MsnMsgs.msi" IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE="" /QNECHO.ECHO.ECHO.ECHO A instalar Windows Media Player 10ECHO Por favor aguarde ...start /wait %systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"ECHO.ECHO.ECHO.ECHO A instalar Java (Plugin)ECHO Por favor aguarde ...start /wait %systemdrive%\install\Java\jre503.exeECHO.ECHO.ECHO.ECHO A instalar o DirectX 9.0cECHO Por favor aguarde ...start "" /wait %systemdrive%\install\DX9\dxsetup.exe /silent ECHO.ECHO.ECHO.ECHO A instalar o Adobe Reader 6.0.3ECHO Por favor aguarde ...start /wait %systemdrive%\install\ADBR\acroread603.exeECHO.ECHO.ECHO.ECHO A instalar Flash e Shockware (Plugins)ECHO Por favor aguarde ...start /wait %systemdrive%\install\Flash\mm_fl_sw_installer.exe /sEXITNow, my cleanup.cmd (Here is where I have more doubts):@ECHO OFFcmdow @ /HIDshutdown.exe -r -f -t 60 -c "NÃO MEXA NO COMPUTADOR!! O Windows ira reiniciar dentro de 1 minuto. A fazer limpeza dos ficheiros utilizados..."IF EXIST "%SystemDrive%\D" RD /S /Q "%SystemDrive%\D"del /q "%allusersprofile%\start menu\Programs\Accessories\Entertainment\Windows Media Player.lnk"RD /S /Q "%systemdrive%\install"RD /S /Q "%systemdrive%\WINDOWS\Resources\Themes\Luna"del /S /Q "%systemdrive%\start.cmd"RD /s /Q "%allusersprofile%\start menu\programs\accessories\entertainment"RD /s /Q "%allusersprofile%\start menu\programs\accessories\communications"del "%systemdrive%\Documents and Settings\Utilizador\Local Settings\Temp" /qrd "%systemdrive%\Documents and Settings\Utilizador\Local Settings\Temp" /s /qdel "%systemdrive%\Documents and Settings\Utilizador\Local Settings\Temporary Internet Files" /qrd "%systemdrive%\Documents and Settings\Utilizador\Local Settings\Temporary Internet Files" /s /qdel "%userprofile%\Local Settings\Temp" /qrd "%userprofile%\Local Settings\Temp" /s /qmkdir "%userprofile%\Local Settings\Temp"del %systemdrive%\Recycled\?*.* /qrd %systemdrive%\Recycled /s/qdel %systemdrive%\Recycler\?*.* /qrd %systemdrive%\Recycler /s/qdel "%userprofile%\Local Settings\Temporary Internet Files" /qrd "%userprofile%\Local Settings\Temporary Internet Files" /s /qEXITAnd finnaly, my winnt.sif:;SetupMgrTag[Data] AutoPartition=0 MSDosInitiated= "1" MSDosInitiated= "No" MSDosInitiated= "No" UnattendedInstall="Yes" MSDosInitiated= "No" AutomaticUpdates=no[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS Repartition=No FileSystem=* WaitForReboot="No" OemPreinstall= "Yes" KeyboardLayout="Portuguese"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=80 OemSkipWelcome=1[UserData] ProductKey=;) GONE :D FullName="www.GoukiHQ.com" OrgName="G-Windows XP v2.0 - by Gouki" ComputerName=Machine[Display] BitsPerPel=32 Xresolution=1024 YResolution=768 Vrefresh=75 AutoConfirm=1[TapiLocation] CountryCode=620 Dialing=Tone[RegionalSettings] LanguageGroup=11,1 SystemLocale=00000409 UserLocale=00000409 InputLocale=0816:00000816[URL] Home_Page="www.goukihq.com"[Identification] JoinWorkgroup=MSHOME[Networking] InstallDefaultComponents=Yes[Shell] DefaultStartPanelOff=Yes[GuiRunOnce] "%systemdrive%\start.cmd" command9= "%SystemDrive%\D\BTS_DPs_Control_Panels.cmd" "%systemdrive%\cleanup.cmd"OK. Now ... Why I have 3 MSDosInitiated?Adding BTS DP created me a winnt.sif with that: 2 x MSDosInitiated="No". And the Deployment Tools created one with "1"So I kinda putted them together and created the 3 x MSDosInitiaded Monster About the ... Is that correct? Thanks guys! Cya! Link to comment Share on other sites More sharing options...
erik_demon Posted May 25, 2005 Share Posted May 25, 2005 (edited) hey Gouki 1. Why do you use:...start "" /wait... in your start.cmd? I think the quotes aren't needed2. start /wait %systemdrive%\install\Flash\mm_fl_sw_installer.exe /sabout this switch you use, I didn't work for me. I had the problem that the flashplayer still popped-up a message. There should also be a mm_fl_sw_installer.msi file that does work. It uses the /QB switch.Edit:You can download the MSI file here3.shutdown.exe -r -f -t 60 -c "NÃO MEXA NO COMPUTADOR!! O Windows ira reiniciar dentro de 1 minuto. A fazer limpeza dos ficheiros utilizados..."I've seen some people have trouble with putting this line at the start of the clean-up file, I would recommend you to do it at the end of the batch file.4. about the MSDosInitiated, I would delete two of them, it looks cool , but I don't know if it works this way.You are doing great, keep up the good job Edited May 25, 2005 by erik_demon Link to comment Share on other sites More sharing options...
Sonic Posted May 25, 2005 Share Posted May 25, 2005 start "" /waitThis is necessary if you launch application with switchs like this :Start /wait "" "path with space ..." /passive /norestart /quietGoodbye. Link to comment Share on other sites More sharing options...
Gouki Posted May 25, 2005 Author Share Posted May 25, 2005 Guys ... Thank u both for the help.erik_demon, thank u very much for the help.About the MsDosInitiated ... U want me to delete the ones with "No" or the one with "1" ?There goes my monster cleanup.cmd changed Link to comment Share on other sites More sharing options...
erik_demon Posted May 25, 2005 Share Posted May 25, 2005 @sonicDidn't know that, thanks!!@Goukisure, no problem I think I read somewhere that both should work fine, but I am not sure. I would leave out the one with the "no", I use the one with the "0"good luck! Link to comment Share on other sites More sharing options...
Gouki Posted May 25, 2005 Author Share Posted May 25, 2005 Ok ... So ... all the rest is right?Thanks! Link to comment Share on other sites More sharing options...
Alanoll Posted May 25, 2005 Share Posted May 25, 2005 for to work, you also need to enable Branding of IE[Branding] BrandIEUsingUnattended=Yes[URL] Home_Page=www.yahoo.comas for this[GuiRunOnce] "%systemdrive%\start.cmd" command9= "%SystemDrive%\D\BTS_DPs_Control_Panels.cmd" "%systemdrive%\cleanup.cmd"I would add command# to the other two lines as well just to make sure they're executed in order[GuiRunOnce] command7= "%systemdrive%\start.cmd" command8= "%SystemDrive%\D\BTS_DPs_Control_Panels.cmd" command9= "%systemdrive%\cleanup.cmd"You also have OEMPreInstall stated twice, once should be sufficient.Everything else looks alright, but withotu any specific error, can't really pindown the cause. So keep us informed. Link to comment Share on other sites More sharing options...
Gouki Posted May 25, 2005 Author Share Posted May 25, 2005 Got it!! Thanks very much Alanoll!! 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