Jump to content

Solar257

Member
  • Posts

    5
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by Solar257

  1. I ran into an interesting problem trying to apply this tweak: When my install finished there was no "Quick Launch" folder created. So in your cleanup.cmd you might want to add a line to make sure the folder is created and then add the copy command just to make sure it's copied properly.

    MD "%appdata%\Microsoft\Internet Explorer\Quick Launch"
    copy %systemdrive%\Install\QuickLaunch\*.* "%appdata%\Microsoft\Internet Explorer\Quick Launch" /Y

  2. my mistake in typing the file in my post. The file on my unatteded cd is already named cmdlines.txt, just a typo in my post which I'll fix right now...

    Currently I've edited RunOnce so all the files point to "C:\install\apps" hopefuly that will work, if it does I'll know I have one wway of getting this to work. I'll definitely edit my CD line so I can test that next.

  3. I am just learning this but first thing i noticed with your CMD file was %CDROM% and was wondering if it should be %systemdrive% instead?
    I tried using the system drive command but it didn't work, so now I tried to get it to read from the CD and I've had no luck as well
    i use "WIN51IP.SP2" when looking for the file, for some reason the CD.txt never worked for me (and also make sure that you remembered to create the CD.txt file as that may be the problem.

    Forgive my ignorance but what is the CD.txt file and where do I place it?

  4. Ok I've been reading the webpages over on the normal site concerning methods for creating an unattended install and I'm glad to say everything goes smoothly until I reach the section where RunOnce is executed on the first startup. The task window comes up fine displaying all the tasks, except every task that I have listed can't be found by the virtual machine. I've tried placing the files on the hard drive as well, via the '$OEM$\$1\install\' route on the image. When I tried this method with the '%systemdrive%\apps' header on each of the lines in RunOnce, the files were copied to C:\apps but windows still didn't see them. I've also tried to get them to read from the iso image. As you can see currently I'm trying from the image, with no luck. What's wrong? is this a problem with the virtual machine program (VMware btw) or is there something up with my code? Attached is a picture of the error. Much thanks to any help rendered! :thumbup

    cmdlines.txt

    [COMMANDS]
    "useraccounts.cmd"
    "RunOnceEx.cmd"

    RunOnceEx.cmd

    cmdow @ /HID
    @echo off
    FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:

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

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

    REG ADD %KEY%\005 /VE /D "Microsoft Office 2003" /f
    REG ADD %KEY%\005 /V 1 /D "%CDROM%\apps\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb REBOOT=Suppress" /f

    REG ADD %KEY%\010 /VE /D "Microsoft FrontPage 2003" /f
    REG ADD %KEY%\010 /V 1 /D "%CDROM%\apps\FrontPage2003\setup.exe TRANSFORMS=Unattended.MST /qb REBOOT=Suppress" /f

    REG ADD %KEY%\015 /VE /D "Norton SystemWorks 2004" /f
    REG ADD %KEY%\015 /V 1 /D "%CDROM%\apps\NSW2004\NSWSETUP.exe /qb /Reboot=Suppress" /f

    REG ADD %KEY%\020 /VE /D "Real Player Alternative" /f
    REG ADD %KEY%\020 /V 1 /D "%CDROM%\apps\realalt141.exe /VERYSILENT /SP-" /f

    REG ADD %KEY%\025 /VE /D "K-Lite Codec Pack 2.27" /f
    REG ADD %KEY%\025 /V 1 /D "%CDROM%\apps\K-LiteCodecPack\klcodec227f.exe /verysilent /loadinf=".\silent.inf"" /f

    REG ADD %KEY%\030 /VE /D "Daemon Virtual Drive" /f
    REG ADD %KEY%\030 /V 1 /D "%CDROM%\apps\Daemon\daemon.msi /qb /Reboot=Suppress" /f
    REG ADD %KEY%\030 /V 2 /D "taskkill /F /IM daemon.exe" /f

    REG ADD %KEY%\035 /VE /D "Mozilla Firefox 1.0.6" /f
    REG ADD %KEY%\035 /V 1 /D "%CDROM%\apps\Firefox1.0.6Silent.exe" /f

    REG ADD %KEY%\040 /VE /D "Adobe Photoshop CS" /f
    REG ADD %KEY%\040 /V 1 /D "%CDROM%\apps\PhotoshopCS\setup.exe -s -f2"%systemdrive%\ps.log"" /f

    :: REG ADD %KEY%\040 /VE /D "MSN Messenger 6.1" /f
    :: REG ADD %KEY%\040 /V 1 /D "%CDROM%\install\MSN_Messenger_6.1.0202.msi /qn" /f

    :: REG ADD %KEY%\045 /VE /D "Nero Burning ROM 5.5" /f
    :: REG ADD %KEY%\045 /V 1 /D "REGEDIT /S %systemdrive%\install\nero\register.reg" /f
    :: REG ADD %KEY%\045 /V 2 /D "%CDROM%\install\Nero\Nero551054.exe /silent /noreboot" /f

    :: REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f
    :: REG ADD %KEY%\050 /V 1 /D "REGEDIT /S %CDROM%\install\regtweaks.reg" /f

    REG ADD %KEY%\045 /VE /D "Cleaning Up and Rebooting" /f
    REG ADD %KEY%\045 /V 1 /D "%CDROM%\$OEM$\cleanup.cmd" /f

    EXIT

    Cleanup.cmd

    cmdow @ /HID
    shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."
    net user aspnet /delete

    DEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"
    DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"
    DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"

    :: RD /S /Q %systemdrive%\drivers\
    :: RD /S /Q %systemdrive%\D\
    :: RD /S /Q %systemdrive%\apps\

    EXIT

    winnt.sif

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

    [Unattended]
    OemPreinstall = "Yes"
       FileSystem=*
       UnattendMode=FullUnattended
       OemSkipEula=Yes
       DUDisable = No
       Hibernation = Yes
       AutoActivate = Yes
       Repartition = No
       TargetPath=\WINDOWS
       
       UnattendSwitch = Yes
       OEMPnPDriversPath = "drivers\RAID\PIDE;drivers\RAID\SATA;drivers\RAID\IDE;drivers\USB2;drivers\LAN\Marvel;drivers\Audio"
       WaitForReboot = No

    [GuiUnattended]
       AdminPassword=xxx
       EncryptedAdminPassword=NO
       OEMSkipRegional=1
       TimeZone=35
       OemSkipWelcome=1

    [UserData]
       ProductKey=xxx
       FullName=xxx
       OrgName=xxx
       ComputerName=Seawolf

    [Display]
       BitsPerPel=32
       Xresolution=1280
       YResolution=1024
       Vrefresh=75
       AutoComfirm=1

    [Identification]
       JoinWorkgroup=

    [Networking]
       InstallDefaultComponents=No

    [NetAdapters]
       Adapter1=params.Adapter1
       Adapter2=params.Adapter1
       Adapter3=params.Adapter1

    [params.Adapter1]
       INFID=*

    [NetClients]
       MS_MSClient=params.MS_MSClient

    [NetServices]
       MS_SERVER=params.MS_SERVER

    [NetProtocols]
       MS_AppleTalk=params.MS_AppleTalk
       MS_TCPIP=params.MS_TCPIP
       MS_NWIPX=params.MS_NWIPX

    [params.MS_TCPIP]
       DNS=Yes
       UseDomainNameDevolution=No
       EnableLMHosts=Yes
       AdapterSections=params.MS_TCPIP.Adapter1

    [params.MS_TCPIP.Adapter1]
       SpecificTo=Adapter1
       DHCP=Yes
       WINS=No
       NetBIOSOptions=0

    [params.MS_NWIPX]
       VirtualNetworkNumber=00000000
       AdapterSections=params.MS_NWIPX.Adapter1

    [params.MS_NWIPX.Adapter1]
       SpecificTo=Adapter1
       PktType=0xFF
       NetworkNumber=00000000

    [URL]
       Home_Page=http://dsc.discovery.com/news/news.html

    [WindowsFirewall]
       Profiles = WindowsFirewall.TurnOffFirewall

    [WindowsFirewall.TurnOffFirewall]
       Mode = 0

    [GUIRunOnce]
    command9 = "%SystemDrive%\D\BTS_DPs_finish.cmd"

    post-66077-1122423747_thumb.jpg

×
×
  • Create New...