Matrix Hacker Posted June 20, 2004 Share Posted June 20, 2004 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.cmdMy Winnt.bat Code :@rem SetupMgrTag@echo offremrem 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.remset AnswerFile=.\winnt.sifset SetupFiles=.\i386.\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile% /copysource:langMy OEM Folders are :Cd drive:\$OEM$\$1\install\applicationsMy Application folder contain :acrobat reader folderwiniso folderdownload accelerator foldernav2003 folderand more ..My Batch_file.cmd code is : (located inside (install) folder)CLS@echo offTITLE Windows XP Prof By Matrix Hacker - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. The computer will restart automaticallyECHO once the whole process has finished! My Best Wishes Mohammad ECHO Ghassan Zekrallah My E-mail : M_Ghassan10@hotmail.comECHO.ECHO.ECHO Installing Adobe Reader 6ECHO Please Wait ...start /wait %systemdrive%\install\Applications\AdobeAcrobatReader\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""ECHO.ECHO Installing Download Accelerator 7ECHO Please wait...start /wait %systemdrive%\install\Applications\DAP7\dap7.exe /SECHO Installing Deamon ToolsECHO Please wait...start /wait %systemdrive%\install\Applications\Deamon Tools\daemon343.exe /S /WECHO.ECHO Installing Win IsoECHO Please wait...start /wait %systemdrive%\install\Applications\Win Iso\Winiso.exe /VERYSILENT /SP-ECHO.ECHO Installing Microsoft JavaVMECHO Please wait...start /wait %systemdrive%\install\Applications\JavaApplet\MSJAVX86.exe /Q:A /R:NECHO.ECHO Installing WinAceECHO Please wait...start /wait %systemdrive%\install\Applications\WinAce\wace211.exe /S /WECHO.ECHO Installing DirectX 8.1ECHO Please wait...start /wait %systemdrive%\install\Directx\DX81eng.exe /Q:A /R:NECHO.ECHO Installing MSN Messenger 6.1ECHO Please wait...start /wait %systemdrive%\install\Applications\Messenger 6.1\MsnMsgs.msi /QBECHO.ECHO Installing Nero Burning ROMECHO Please wait...start /wait %systemdrive%\install\Applications\Nero\Nero.exe /silent /norebootECHO.ECHO Installing Norton Antivirus 2003ECHO Please wait...start /wait %systemdrive%\install\Applications\NAV2003\NAV\NAV.msi /QBECHO.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%\DriversRD /S /Q %systemdrive%\installEXITplease 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 More sharing options...
ButlerKevinD Posted June 20, 2004 Share Posted June 20, 2004 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 More sharing options...
DarkPhoenix Posted June 20, 2004 Share Posted June 20, 2004 Honestly, posting your Product Key, especially that specific one, is a bad idea. Link to comment Share on other sites More sharing options...
diesel_98a Posted June 20, 2004 Share Posted June 20, 2004 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 More sharing options...
Matrix Hacker Posted June 21, 2004 Author Share Posted June 21, 2004 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 More sharing options...
ZoSTeR Posted June 21, 2004 Share Posted June 21, 2004 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 /Wshould becomestart "" /wait "%systemdrive%\install\Applications\Deamon Tools\daemon343.exe" /S /W Link to comment Share on other sites More sharing options...
Matrix Hacker Posted June 22, 2004 Author Share Posted June 22, 2004 Thanks for trying to help me out ..but i took my code from the Examples page in the site www.unattended.msfn.org..and they didn't put " " in every app .. see this page for sure ..http://www.unattended.msfn.org/xp/examples.htm.. please guys what my cd is not making an unattended program install ??and thank you all.. Link to comment Share on other sites More sharing options...
ZoSTeR Posted June 22, 2004 Share Posted June 22, 2004 and they didn't put " " in every app ..That's because there are no spaces in their file paths.Is your Batch_file.cmd being started at all? Link to comment Share on other sites More sharing options...
[BM]Crusher Posted June 23, 2004 Share Posted June 23, 2004 no reply for Zoster?? i'm interested if your batch is being executed too.. Link to comment Share on other sites More sharing options...
[BM]Crusher Posted June 23, 2004 Share Posted June 23, 2004 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 offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications and Tweaks" /fREG ADD %KEY%\001 /VE /D "Office 2003 Enterprise" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\office.cmdREG ADD %KEY%\005 /VE /D "Power DVD 5 Trial" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\install\Applications\DVD\Setup.exe -s" /fREG ADD %KEY%\010 /VE /D "Nero Ultra v6.3.1.6" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Applications\Nero\Nero6316.exe /SILENT /NOREBOOT /SN=INSERT-YOUR-VALID-SERIAL-HERE /WRITE_SN" /fREG ADD %KEY%\015 /VE /D "Acrobat Reader 6.0.1" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Applications\AdobeReader6\AR6.msi /QB" /fREG ADD %KEY%\020 /VE /D "Daemon Tools 3.44" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\install\Applications\daemon\daemon.msi /qb REBOOT=Suppress" /fREG ADD %KEY%\025 /VE /D "Clone CD 4.3.2.2" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\Applications\Clone\CCDSilent.exe SetupCloneCD4322.exe" /fREG ADD %KEY%\026 /VE /D "Lavasoft Ad-Aware 6.181 Personal" /fREG ADD %KEY%\026 /V 1 /D "%systemdrive%\install\Applications\AdAware\aaw6181.exe /s" /fREG ADD %KEY%\027 /VE /D "WinRAR 3.30" /fREG ADD %KEY%\027 /V 1 /D "%systemdrive%\install\Applications\WinRAR\wrar330.exe -s" /fREG ADD %KEY%\028 /VE /D "K-Lite Codec Pack 2.25 Full" /fREG ADD %KEY%\028 /V 1 /D "%systemdrive%\install\Applications\K-Lite\K-Lite.exe /VERYSILENT /SP-" /fREG ADD %KEY%\029 /VE /D "WinAMP 5.03a" /fREG 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" /fREG ADD %KEY%\030 /VE /D "CDex 1.50" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\Applications\CDEX\cdex_151.exe /S" /fREG ADD %KEY%\031 /VE /D "ISOBuster 1.5" /fREG ADD %KEY%\031 /V 1 /D "%systemdrive%\install\Applications\ISOBuster\IsoBuster15.exe /VERYSILENT /SP-" /fREG ADD %KEY%\031 /V 2 /D "taskkill.exe /F /IM isobuster.exe" /fREG ADD %KEY%\032 /VE /D "Powertoy 2.10.0" /fREG ADD %KEY%\032 /V 1 /D "%systemdrive%\install\Applications\Powertoys\TweakUI.msi /qb" /fREG ADD %KEY%\033 /VE /D "Folding@Home" /fREG ADD %KEY%\033 /V 1 /D "%systemdrive%\install\fah.cmd" /fREG ADD %KEY%\034 /VE /D "LAN Search Pro 5.01" /fREG ADD %KEY%\034 /V 1 /D "%systemdrive%\install\Applications\LANSearch\lspro5.exe /S" /fREG ADD %KEY%\035 /VE /D "Removing Ununsed Wallpaper" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\install\paper.cmd" /fREG ADD %KEY%\036 /VE /D "Removing Screensavers" /fREG ADD %KEY%\036 /V 1 /D "%systemdrive%\install\saver.cmd" /fREG ADD %KEY%\037 /VE /D "Removing Shortcuts" /fREG ADD %KEY%\037 /V 1 /D "%systemdrive%\install\shorts.cmd" /fREG ADD %KEY%\038 /VE /D "Adding Registry Tweaks" /fREG ADD %KEY%\038 /V 1 /D "%systemdrive%\install\tweaks.cmd" /fREG ADD %KEY%\041 /VE /D "System Preperation" /fREG ADD %KEY%\041 /V 1 /D "%systemdrive%\sysprep\sysprep.cmd" /fREG ADD %KEY%\045 /VE /D "Cleaning Up" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\cleanup.cmd" /fEXIT 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