Jump to content

Please guys .. i want help from experts...


Recommended Posts

hello guys ..

i'm new in this forum .. so please, help me out ..

my proplem is that i created a good unattended XP Prof cd and it worked but my favourite programmes weren't installed .. they just copied themselves into C:/Install

.. so please help out and see my files and correct me if you find anything wrong ..

My Winnt.sif File Code :

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   UnattendSwitch="yes"
   TargetPath=\WINDOWS
   WaitForReboot="No"    
   OemPnPDriversPath="Drivers\001_Audio"
   DriverSigningPolicy=Ignore

[GuiUnattended]
   AdminPassword=*
   EncryptedAdminPassword=NO
   OEMSkipRegional=1
   TimeZone=150
   OemSkipWelcome=1

[UserData]
   ProductID=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
   FullName="Matrix Hacker"
   OrgName="Hacking People Est."
   ComputerName=MatrixHacker

[Display]
   BitsPerPel=32
   Xresolution=800
   YResolution=600
   Vrefresh=85

[TapiLocation]
   CountryCode=966
   AreaCode=01
   LongDistanceAccess="00963"

[RegionalSettings]
   LanguageGroup=13,1
   SystemLocale=00000409
   UserLocale=00000401
   InputLocale=0409:00000409

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=Yes

[GuiRunOnce]
%systemdrive%\install\batch_file.cmd

My Winnt.bat Code :

@rem SetupMgrTag
@echo off

rem
rem This is a SAMPLE batch script generated by the Setup Manager Wizard.
rem If this script is moved from the location where it was generated, it may have to be modified.
rem

set AnswerFile=.\winnt.sif
set SetupFiles=.\i386

.\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:lang

My OEM Folders are :

Cd drive:\$OEM$\$1\install\applications

My Application folder contain :

acrobat reader folder

winiso folder

download accelerator folder

nav2003 folder

and more ..

My Batch_file.cmd code is : (located inside (install) folder)

CLS
@echo off
TITLE Windows XP Prof By Matrix Hacker - Unattended Installation

ECHO.
ECHO Over the next few minutes you will see automated installations
ECHO of various sofware applications, windows updates, and registry
ECHO tweaks being implemented. The computer will restart automatically
ECHO once the whole process has finished! My Best Wishes Mohammad
ECHO Ghassan Zekrallah My E-mail : M_Ghassan10@hotmail.com
ECHO.

ECHO.
ECHO Installing Adobe Reader 6
ECHO Please Wait ...
start /wait %systemdrive%\install\Applications\AdobeAcrobatReader\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""

ECHO.
ECHO Installing Download Accelerator 7
ECHO Please wait...
start /wait %systemdrive%\install\Applications\DAP7\dap7.exe /S

ECHO Installing Deamon Tools
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Deamon Tools\daemon343.exe /S /W

ECHO.
ECHO Installing Win Iso
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Win Iso\Winiso.exe /VERYSILENT /SP-

ECHO.
ECHO Installing Microsoft JavaVM
ECHO Please wait...
start /wait %systemdrive%\install\Applications\JavaApplet\MSJAVX86.exe /Q:A /R:N

ECHO.
ECHO Installing WinAce
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WinAce\wace211.exe /S /W

ECHO.
ECHO Installing DirectX 8.1
ECHO Please wait...
start /wait %systemdrive%\install\Directx\DX81eng.exe /Q:A /R:N

ECHO.
ECHO Installing MSN Messenger 6.1
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Messenger 6.1\MsnMsgs.msi /QB

ECHO.
ECHO Installing Nero Burning ROM
ECHO Please wait...
start /wait %systemdrive%\install\Applications\Nero\Nero.exe /silent /noreboot

ECHO.
ECHO Installing Norton Antivirus 2003
ECHO Please wait...
start /wait %systemdrive%\install\Applications\NAV2003\NAV\NAV.msi /QB

ECHO.
ECHO Restarting the PC in 1 minute...
shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO.
ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\Drivers
RD /S /Q %systemdrive%\install

EXIT

please guys help out .. and tell me why my programms do not get unattended install ?

Thanks to you all ..

best wishes

Link to comment
Share on other sites


Hmmm... well, one thing I that really shouldn't be posted here is that blacklisted WinXP key. I'd recommend editing the post and add all "X"'s for the key. other than that, one of the other gurus here should take a crack at yer code.

Link to comment
Share on other sites

is each app in its own folder? u make it sound like everything is just in the application folder as: %systemdrive%\install\Applications. for example: not %systemdrive%\install\Applications\DAP7, which is the way u have it listed.

Link to comment
Share on other sites

i'm sorry guys .. i just edited my post and removed the serial number ...

and i made a folder for every program inside the (Applications) folder..

and i made the right code for it inside the (batch_file.cmd) as you can see above ..

the proplem is that they copied themselves into the c:/install/applications

but they never got unattended install ..

so,please guys help me out with this and i will be thankful ..

Link to comment
Share on other sites

A little debugging advice:

Remove the @ECHO OFF and add a PAUSE after every start command. This way you see what going wrong in your batch.

And you must add quotes around paths with blanks in them or better yet remove the blanks all together.

start /wait %systemdrive%\install\Applications\Deamon Tools\daemon343.exe /S /W

should become

start "" /wait "%systemdrive%\install\Applications\Deamon Tools\daemon343.exe" /S /W

Link to comment
Share on other sites

For Daemon Tools and Acrobat Reader, use the MSI installation method instead it's much better... (MSFN have instructions in the Application Switches thread I think)

Don't use spaces at all.... they are just confusing :)

Convert to a RunOnceEx installation method, it's cleaner....

instead of running your batch file through GuiRunOnce, execute it from cmdlines.txt instead (it will run at T-13)

For the RunOnceEx method, the actual numbers don't really mean anything... as long as they are in order (mine goes from 001 to 005 to 010) I leave a bit of a gap in between numbers in case I want to add something near the start of the list later (i could put it in as number 2 or 3 for example)

Make your batch file look similar to this one:

cmdow @ /HID

@Echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications and Tweaks" /f

REG ADD %KEY%\001 /VE /D "Office 2003 Enterprise" /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\office.cmd

REG ADD %KEY%\005 /VE /D "Power DVD 5 Trial" /f

REG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\DVD\Setup.exe -s" /f

REG ADD %KEY%\010 /VE /D "Nero Ultra v6.3.1.6" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Nero\Nero6316.exe /SILENT /NOREBOOT /SN=INSERT-YOUR-VALID-SERIAL-HERE /WRITE_SN" /f

REG ADD %KEY%\015 /VE /D "Acrobat Reader 6.0.1" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AR6.msi /QB" /f

REG ADD %KEY%\020 /VE /D "Daemon Tools 3.44" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\daemon\daemon.msi /qb REBOOT=Suppress" /f

REG ADD %KEY%\025 /VE /D "Clone CD 4.3.2.2" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\Clone\CCDSilent.exe SetupCloneCD4322.exe" /f

REG ADD %KEY%\026 /VE /D "Lavasoft Ad-Aware 6.181 Personal" /f

REG ADD %KEY%\026 /V 1 /D "%systemdrive%\install\Applications\AdAware\aaw6181.exe /s" /f

REG ADD %KEY%\027 /VE /D "WinRAR 3.30" /f

REG ADD %KEY%\027 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar330.exe -s" /f

REG ADD %KEY%\028 /VE /D "K-Lite Codec Pack 2.25 Full" /f

REG ADD %KEY%\028 /V 1 /D "%systemdrive%\install\Applications\K-Lite\K-Lite.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\029 /VE /D "WinAMP 5.03a" /f

REG ADD %KEY%\029 /V 1 /D "%systemdrive%\install\Applications\WinAMP\WinAMP.msi xwav=1 xjump=1 xregopt=1 xcddb=0 cdout=1 xagent=0 xlibrary=0 xmodernskin=1 xaudio=1 xvideo=0 xvisual=1 xextra=1 xintex=1 xwma=0 xmid=0 xmod=1 xogg=1 xacc=1 xmp3enc=1 xmp4=1 xcdplay=1 xsonic=0 xtinyfull=1 xavs=1 xmilkdrop=1 xsignal=1 xwritewav=1 xdircont=1 xtypecont=1 xnetscape=0 xaudiocd=1 /qb" /f

REG ADD %KEY%\030 /VE /D "CDex 1.50" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\CDEX\cdex_151.exe /S" /f

REG ADD %KEY%\031 /VE /D "ISOBuster 1.5" /f

REG ADD %KEY%\031 /V 1 /D "%systemdrive%\install\Applications\ISOBuster\IsoBuster15.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\031 /V 2 /D "taskkill.exe /F /IM isobuster.exe" /f

REG ADD %KEY%\032 /VE /D "Powertoy 2.10.0" /f

REG ADD %KEY%\032 /V 1 /D "%systemdrive%\install\Applications\Powertoys\TweakUI.msi /qb" /f

REG ADD %KEY%\033 /VE /D "Folding@Home" /f

REG ADD %KEY%\033 /V 1 /D "%systemdrive%\install\fah.cmd" /f

REG ADD %KEY%\034 /VE /D "LAN Search Pro 5.01" /f

REG ADD %KEY%\034 /V 1 /D "%systemdrive%\install\Applications\LANSearch\lspro5.exe /S" /f

REG ADD %KEY%\035 /VE /D "Removing Ununsed Wallpaper" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\paper.cmd" /f

REG ADD %KEY%\036 /VE /D "Removing Screensavers" /f

REG ADD %KEY%\036 /V 1 /D "%systemdrive%\install\saver.cmd" /f

REG ADD %KEY%\037 /VE /D "Removing Shortcuts" /f

REG ADD %KEY%\037 /V 1 /D "%systemdrive%\install\shorts.cmd" /f

REG ADD %KEY%\038 /VE /D "Adding Registry Tweaks" /f

REG ADD %KEY%\038 /V 1 /D "%systemdrive%\install\tweaks.cmd" /f

REG ADD %KEY%\041 /VE /D "System Preperation" /f

REG ADD %KEY%\041 /V 1 /D "%systemdrive%\sysprep\sysprep.cmd" /f

REG ADD %KEY%\045 /VE /D "Cleaning Up" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\cleanup.cmd" /f

EXIT

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