Jump to content

amirali_esh

Member
  • Posts

    27
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Posts posted by amirali_esh

  1. Hi all,

    My unattended CD is as follows :

    Contents of WINNT.SIF :

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

    [Unattended]
       UnattendMode=ProvideDefaults
       OemSkipEula=Yes
       OemPreinstall=Yes
       TargetPath=\WINXP
       Repartition=No
       UnattendedSwitch="yes"
       WaitForReboot="No"
       DriverSigningPolicy=Ignore
       OemPnpDriversPath = "DRV\RAID;DRV\CHIPSET\INTEL;DRV\CHIPSET\NFORCE;DRV\CHIPSET\SIS;DRV\CHIPSET\VIA;DRV\VGA\NVIDIA;DRV\VGA\RADEON;DRV\VGA\RAGE128"

    [GuiUnattended]
       AdminPassword="administrator"
       EncryptedAdminPassword=NO
       OEMSkipRegional=1
       TimeZone=160
       OemSkipWelcome=1

    [UserData]
       ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
     
    [Display]
       BitsPerPel=32
       Xresolution=800
       YResolution=600
       Vrefresh=75

    [TapiLocation]
       CountryCode=98
       Dialing=Tone
       AreaCode=21

    [RegionalSettings]
       LanguageGroup=11,1
       Language=00000429

    [Identification]
       JoinWorkgroup=WORKGROUP

    [Networking]
       InstallDefaultComponents=No

    [NetAdapters]
       Adapter1=params.Adapter1

    [params.Adapter1]
       INFID=*

    [NetClients]
       MS_MSClient=params.MS_MSClient

    [NetServices]
       MS_SERVER=params.MS_SERVER

    [NetProtocols]
       MS_TCPIP=params.MS_TCPIP

    [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

    [Components]
       msmsgs=off
       msnexplr=off

    [GuiRunOnce]
    %systemdrive%\Install\post-setup.cmd

    Contents of svcpack.inf :

    [Version]
    Signature="$Windows NT$"
    BuildNumber=2600
    MajorVersion=5
    MinorVersion=1

    [SetupData]
    CatalogSubDir="i386\svcpack"

    [ProductCatalogsToInstall]
    KB282010.CAT
    Q322011.CAT
    Q327979.CAT
    Q329256.CAT
    Q329692.CAT
    Q330512.CAT
    Q810032.CAT
    Q810243.CAT
    Q810272.CAT
    Q811114.CAT
    Q812415.CAT
    Q814995.CAT
    Q815485.CAT
    KB817027.CAT
    Q818043.CAT
    KB820128.CAT
    KB820291.CAT
    KB821253.CAT
    KB822603.CAT
    KB823182.CAT
    KB824105.CAT
    KB824141.CAT
    KB825119.CAT
    KB826939.CAT
    KB828035.CAT

    [SetupHotfixesToRun]
    KB282010.EXE -u -n -z -q
    Q322011.EXE -u -n -z -q
    Q327979.EXE -u -n -z -q
    Q329256.EXE -u -n -z -q
    Q329692.EXE -u -n -z -q
    Q330512.EXE -u -n -z -q
    Q810032.EXE -u -n -z -q
    Q810243.EXE -u -n -z -q
    Q810272.EXE -u -n -z -q
    Q811114.EXE -u -n -z -q
    Q812415.EXE -u -n -z -q
    Q814995.EXE -u -n -z -q
    Q815485.EXE -u -n -z -q
    KB817027.EXE -u -n -z -q
    Q818043.EXE -u -n -z -q
    KB820128.EXE -u -n -z -q
    KB820291.EXE -u -n -z -q
    KB821253.EXE -u -n -z -q
    KB822603.EXE -u -n -z -q
    KB823182.EXE -u -n -z -q
    KB824105.EXE -u -n -z -q
    KB824141.EXE -u -n -z -q
    KB825119.EXE -u -n -z -q
    KB826939.EXE -u -n -z -q
    KB828035.EXE -u -n -z -q
    Q330994.EXE /Q:A /R:N
    Q828750.EXE /Q:A /R:N
    JS56NEN.EXE /Q:A /R:N
    Q331488.EXE /Q:A /R:N
    Q813503.EXE /Q:A /R:N
    Q814039.EXE /Q:A /R:N
    Q816868.EXE /Q:A /R:N
    Q827667.EXE /Q:A /R:N

    Contents of post-setup.cmd :

    @ECHO OFF
    TITLE Post-Setup Configuration
    ECHO Installing Documentation Update For Security And Privacy...
    ECHO Please wait...
    START "Documentation Update For Security And Privacy Install" /WAIT "%SYSTEMDRIVE%\INSTALL\SVCPACK\HU1002_PRO.EXE" /Q:A /R:N
    ECHO.
    ECHO Installing Advanced Networking Pack For Windows XP...
    ECHO Please wait...
    START "Advanced Networking Pack For Windows XP Install" /WAIT "%SYSTEMDRIVE%\INSTALL\SVCPACK\KB817778.EXE" /Q /U /N /Z
    ECHO.
    ECHO.
    ECHO Restarting the PC in 1 minute...
    psshutdown.exe -r -t 60 -f -m "Windows XP will now restart in 1 minute"
    ECHO.
    ECHO Deleting OEM Files...
    RD "%SYSTEMDRIVE%\INSTALL" /S /Q
    RD "%SYSTEMDRIVE%\DRV" /S /Q
    EXIT

    Contents of installs.cmd (in $OEM$) :

    @ECHO OFF
    TITLE Post Install Setup
    ECHO Installing Euro Conversion Tool...
    ECHO Please wait...
    START "Euro Conversion Tool Install" /WAIT "%SYSTEMDRIVE%\INSTALL\EUROCONV\EUROCONV.EXE" /Q:A /R:N
    ECHO.
    ECHO Installing Microsoft .NET Framework 1.1...
    ECHO Please wait...
    START "Microsoft .NET Framework 1.1 Install" /WAIT "%SYSTEMDRIVE%\INSTALL\DOTNETFX\DOTNETFX.EXE" /Q:A /C:"INSTALL /Q"
    ECHO.
    ECHO Installing DirectX 9.0b...
    ECHO Please wait...
    START "DirectX 9.0b Install" /WAIT "%SYSTEMDRIVE%\INSTALL\DX90B\DXSETUP.EXE" /opk
    ECHO.
    ECHO Installing Windows Media Player 9.0...
    ECHO Please wait...
    START "Windows Media Player 9.0 Install" /WAIT "%SYSTEMDRIVE%\INSTALL\WMP9\WMP9.EXE" /Q:A /R:N /c:"setup_wm.exe /Q /R:N /NoPID /DisallowSystemRestore /P:#e"
    ECHO.
    ECHO Installing Update For Windows Media Player 9.0 Script Commands...
    START "Windows Media Player 9.0 Script Commands Update Install" /WAIT "%SYSTEMDRIVE%\INSTALL\SVCPACK\KB828026.EXE" /Q /U /Z /N
    ECHO.
    ECHO Installing Windows Movie Maker 2.0...
    ECHO Please wait...
    START "Windows Movie Maker 2.0 Install" /WAIT "%SYSTEMDRIVE%\INSTALL\MM2\MM2.EXE" /Q:A /R:N
    ECHO.
    ECHO Installing Windows Journal Viewer 1.5...
    ECHO Please wait...
    START "Windows Journal Viewer 1.5 Install" /WAIT "%SYSTEMDRIVE%\INSTALL\JOURNAL15\JOURNAL15.EXE" /Q /C:"MSIEXEC /I ""Microsoft Windows Journal Viewer.msi"" /QN"
    ECHO.
    ECHO Installing Microsoft Data Access Components 2.8...
    ECHO Please wait...
    START "Microsoft Data Access Components 2.8 Install" /WAIT "%SYSTEMDRIVE%\INSTALL\MDAC28\MDAC_TYP.EXE" /Q:A /C:"DASETUP.EXE /Q /N"
    ECHO.
    ECHO Installing Adaptec ASPI Layer 4.6...
    ECHO Please wait...
    START "Adaptec ASPI Layer 4.6 Install" /WAIT "%SYSTEMDRIVE%\INSTALL\ASPI\ASPI.EXE"
    ECHO.
    ECHO Installing Fonts...
    ECHO Please wait...
    START "Fonts Install" /WAIT "%SYSTEMDRIVE%\INSTALL\FONTS\FONTS.EXE"
    ECHO.
    ECHO Applying Registry Tweaks...
    START "Applying Registry Tweaks" /WAIT REGEDIT.EXE /S "%SYSTEMDRIVE%\INSTALL\SVCPACK\RegTweaks.reg"
    ECHO.
    ECHO Copying PSSHUTDOWN.EXE to Windows Directory...
    COPY "%SYSTEMDRIVE%\INSTALL\SVCPACK\PSSHUTDOWN.EXE" "%SYSTEMROOT%\"
    ECHO.
    ECHO Deleting Useless Accounts...
    NET USER aspnet /DELETE
    NET USER SUPPORT_388945a0 /DELETE
    ECHO.
    ECHO Removing useless folders...
    RMDIR "%systemdrive%\Program Files\ComPlus Applications" /S /Q
    RMDIR "%systemdrive%\Program Files\Online Services" /S /Q
    RMDIR "%systemdrive%\Program Files\Uninstall Information" /S /Q
    ECHO.
    ECHO.
    EXIT

    Now everything went as planned except that the pc doesn't restart after the end of post-setup.cmd and also DRV directory doesn't get deleted. Anyone can find what's wrong with my CD?

    Thnx

  2. @amirali_esh: i've tried it the way, you suggested... it actually doesn't work. windows doesn't report any error, but also won't update any files. it's easy to figure it out, if you check whether the IE cumulative patch has been installed, see whether "ntdll.dll" got a new version number (>1106), etc...

    it only works, if you also add the altered files to "dosnet.inf" as suggested in that microsoft guide.

    It is working for me. I haved check all the files one by one after windows setup by searching for the file and comparing the version numbers with the version numbers from the appropriate hotfix. My method is :

    1) Extract all hotfixes to a temporary directory omitting unnecessary files like spmsg.dll or spuninst.exe and so on. If a file exists in several hotfixes only keep the highest version.

    2) Compare the contents of sp1.cab and this temporary directory and copy all files that exists in both sp1.cab and temporary directory to a directory name FORSP1.

    3) Extract sp1.cab to a directory names SP1 (I use winrar for this task).

    4) Copy contents of FORSP1 directory to SP1 directory overwriting old files.

    5) Rebuild sp1.cab by going into SP1 and issue the command C:\cabarc -r -p N C:\SP1.CAB *.* (use google to find cabarc.exe).

    6) Copy new sp1.cab to I386 folder.

    7) Now compare contents of temporary directory and i386 folder and delete any files that does not exist in i386 from your temporary folder.

    8) compress all files in your temporary folder by using makecab.

    9) Now copy compressed files to i386 folder and replace older versions.

    10) add this line to dosnet.inf :

    [OptionalSrcDirs]

    svcpack

    11) make a directory in i386 named SVCPACK and copy hotfixes and catalogues to this folder and don't forget to rename hotfixes so it is in 8.3 format.

    12) make a svcpack.inf using this format :

    [Version]
    Signature="$Windows NT$"
    BuildNumber=2600
    MajorVersion=5
    MinorVersion=1

    [SetupData]
    CatalogSubDir="I386\SVCPACK"

    [ProductCatalogsToInstall]
    Q######.cat

    [SetupHotfixesToRun]
    Q######.exe /Q /U /Z /N

    put your catalog names in [ProductCatalogsToInstall] section and your hotfix names in [setupHotfixesToRun] section.

    delete svcpack.in_ from i386 folder and copy this new svcpack.inf to i386.

    One exception: when dealing with ntdll.dll don't compress it, just copy it to i386 and also SYSTEM32 folder.

    That's all. This method is working perfect for one.

    You can also this method for js56nen.exe and cumulative patches with the exception that you don't need to put the catalogue file for these update in svcpack.inf. Just add them to [setupHotfixesToRun] and use swith /q:a /r:n

    Advanced Networking Pack and hu1002_pro doesn't work using these method. You have to install these after setup.

  3. Hi all,

    When I have OEMPreinstall=Yes then I am unable to install my RAID driver by using F6 key. Setup detects my RAID driver but when it wants to copy files it doesn't read from floppy and expects to find it on CDROM. Textmode directory in $OEM$ doesn't work too, I guess it's because my drivers are not WHQL'd. Any suggestions?

  4. Ive tried on this latest scvpack stuff and it works fine for teh older service packs but not th newer ones. I have changed the sysntax of the file to get them to extract but it still dose not work here goes anybody got any ideas on this.

    I'm not good at batch scripts but by using -U -X:destdir you can extract any hotfix. For example : KB******.exe -U -X:C:\Temp

  5. i could make a bootable xp-cd work with that svcpack-method!

    it's really pretty cool and much faster than adding the "Q"-files by a batch script.

    the only thing that didn't work was adding any KB-files to that whole svcpack installation method. since microsoft only mentions "Q" files in that manual (see link above), it's seems not to be intended to work with KB-files...

    Leave the microsoft guide alone. it doesn't make any difference. See mine :

    svcpack.inf

    [Version]
    Signature="$Windows NT$"
    MajorVersion=5
    MinorVersion=1
    BuildNumber=2600

    [SetupData]
    CatalogSubDir="\i386\svcpack"

    [ProductCatalogsToInstall]
    Q322011.cat
    Q323255.cat
    Q327979.cat
    Q328310.cat
    Q329048.cat
    Q329115.cat
    Q329170.cat
    Q329256.cat
    Q329390.cat
    Q329441.cat
    Q329692.cat
    Q329834.cat
    Q330512.cat
    Q331953.cat
    Q810032.cat
    Q810243.cat
    Q810565.cat
    Q810577.cat
    Q810833.cat
    Q811114.cat
    Q811493.cat
    Q811630.cat
    Q812035.cat
    Q812415.cat
    Q814033.cat
    Q814995.cat
    Q815021.cat
    Q815485.cat
    Q817287.cat
    Q817606.cat
    kb282010.cat
    kb820128.cat
    kb820291.cat
    kb821253.cat
    kb821557.cat
    kb821581.cat
    kb822603.cat
    kb823559.cat
    kb823980.cat

    [SetupHotfixesToRun]
    Q322011.exe -q -n -z
    Q323255.exe -q -n -z
    Q327979.exe -q -n -z
    Q328310.exe -q -n -z
    Q329048.exe -q -n -z
    Q329115.exe -q -n -z
    Q329170.exe -q -n -z
    Q329256.exe -q -n -z
    Q329390.exe -q -n -z
    Q329441.exe -q -n -z
    Q329692.exe -q -n -z
    Q329834.exe -q -n -z
    Q330512.exe -q -n -z
    Q331953.exe -q -n -z
    Q810032.exe -q -n -z
    Q810243.exe -q -n -z
    Q810565.exe -q -n -z
    Q810577.exe -q -n -z
    Q810833.exe -q -n -z
    Q811114.exe -q -n -z
    Q811493.exe -q -n -z
    Q811630.exe -q -n -z
    Q812035.exe -q -n -z
    Q812415.exe -q -n -z
    Q814033.exe -q -n -z
    Q814995.exe -q -n -z
    Q815021.exe -q -n -z
    Q815485.exe -q -n -z
    Q817287.exe -q -n -z
    Q817606.exe -q -n -z
    kb282010.exe -q -n -z
    kb820128.exe -q -n -z
    kb820291.exe -q -n -z
    kb821253.exe -q -n -z
    kb821557.exe -q -n -z
    kb821581.exe -q -n -z
    kb822603.exe -q -n -z
    kb823559.exe -q -n -z
    kb823980.exe -q -n -z
    js56nen.exe /q:a /r:n
    q822925.exe /q:a /r:n
    q330994.exe /q:a /r:n

  6. How do you use svcpack method to update files which are inside sp1.cab? I, myself extract sp1.cab to a temporary directory, overwrite newer versions of files in this temporary directory and then repack it using cabarc -r -p N C:\SP1.CAB *.* and then put the resulting sp1.cab into i386 folder. Is there any better solution?

  7. If you have :

    d:\documents and settings\administrator

    d:\documents and settings\all users

    d:\documents and settings\default user

    d:\documents and settings\spinman

    then set up will generate :

    d:\documents and settings\administrator.computername

    d:\documents and settings\all users.computername

    d:\documents and settings\default user.computername

    d:\documents and settings\spinman.computername

    But be carefull. Be certain that your documents and settings and any subfolder of it isn't crypted or have any special permissions (on NTFS drivers) or you will not be able to access them after your new installation.

  8. I noticed that hotfixes for applications that can be added/removed from control panel will revert back to Windows XP SP1 version if you install/uninstall the appropriate application. An example is Q322011 which is update for Fax Console and also Q811114 which is update for IIS. At the time of installing these hotfixes Fax Console and IIS has not been installed yet. Now if you go to Add/Remove programs and install Fax Console and IIS you will notice that the file versions are versions from XP SP1 cd and not versions from hotfixes. The only solution I have found for this issue is to integrate these kind of hotfixes in Windows XP SP1 cd using SVCPACK directory in I386 folder and adding svcpack.inf in I386 directory.

  9. No it will not replace them. When setup finds that the username that you have specified already has a directory in Documents and Settings it will create a different directory. Say that there is a already a directory called MyName in the Documents and Settings. When you enter the MyName is Post Setup screen as a user account setup will create something like MyName.MachineName or MyName1 and so on. So you don't have to worry. Personally I would like this behavious so before installing Windows XP I move my required data to a directory called Backup and then delete Documents and Settings and after installation I move back my data to my home directory.

    Regards,

    Amir A. Eshghi

  10. Q811114 only shows a download for XP Professional - not XP Home

    (I have Home) - should I not install Neither - Q327696 - or Q811114? It would be nice to be able to

    keep in sync with everyone else who references this update..

    Q327696 and Q811114 are updates for IIS which is only available in Professional version of Windows XP. So if you have Home Edition you don't need to install these updates.

×
×
  • Create New...