Jump to content

Total review


Recommended Posts

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

For 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 off

ECHO.
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.2
ECHO Por favor aguarde ...
start "" /wait "%systemdrive%\install\MSN\MsnMsgs.msi" IAGREE="Yes" ADDEXPLORERTOOLBAR="" SETSEARCHENGINE="" SETHOMEPAGE="" /QN

ECHO.
ECHO.
ECHO.
ECHO A instalar Windows Media Player 10
ECHO 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.exe

ECHO.
ECHO.
ECHO.
ECHO A instalar o DirectX 9.0c
ECHO Por favor aguarde ...
start "" /wait %systemdrive%\install\DX9\dxsetup.exe /silent

ECHO.
ECHO.
ECHO.
ECHO A instalar o Adobe Reader 6.0.3
ECHO Por favor aguarde ...
start /wait %systemdrive%\install\ADBR\acroread603.exe

ECHO.
ECHO.
ECHO.
ECHO A instalar Flash e Shockware (Plugins)
ECHO Por favor aguarde ...
start /wait %systemdrive%\install\Flash\mm_fl_sw_installer.exe /s



EXIT

Now, my cleanup.cmd (Here is where I have more doubts):

@ECHO OFF
cmdow @ /HID
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..."




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" /q
rd "%systemdrive%\Documents and Settings\Utilizador\Local Settings\Temp" /s /q
del "%systemdrive%\Documents and Settings\Utilizador\Local Settings\Temporary Internet Files" /q
rd "%systemdrive%\Documents and Settings\Utilizador\Local Settings\Temporary Internet Files" /s /q
del "%userprofile%\Local Settings\Temp" /q
rd "%userprofile%\Local Settings\Temp" /s /q
mkdir "%userprofile%\Local Settings\Temp"
del %systemdrive%\Recycled\?*.* /q
rd %systemdrive%\Recycled /s/q
del %systemdrive%\Recycler\?*.* /q
rd %systemdrive%\Recycler /s/q
del "%userprofile%\Local Settings\Temporary Internet Files" /q
rd "%userprofile%\Local Settings\Temporary Internet Files" /s /q


EXIT

And 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


hey Gouki :hello:

1. Why do you use:...

start "" /wait

... in your start.cmd? I think the quotes aren't needed

2.

start /wait %systemdrive%\install\Flash\mm_fl_sw_installer.exe /s

about 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 here

3.

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 :D , but I don't know if it works this way.

You are doing great, keep up the good job :thumbup

Edited by erik_demon
Link to comment
Share on other sites

start "" /wait

This is necessary if you launch application with switchs like this :

Start /wait "" "path with space ..." /passive /norestart /quiet

Goodbye.

Link to comment
Share on other sites

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

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