Jump to content

Gee

Member
  • Posts

    275
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Canada

Posts posted by Gee

  1. Path: AIO-DVD\SETUP\XP\Professional\$OEM$\$1\Nod32\install.bat

    Shortcut Name: NOD32 Install

    Info Tip: Install this on first boot

    Here is what I would do.

    According to the above, you are copying a folder called Nod32 to the %SystemDrive% usually c:\

    I would move install.bat to

    AIO-DVD\SETUP\XP\Professional\$OEM$\$Docs\All Users\Desktop\Install.bat

    This will achieve exactly what you want, assuming the contents of your install.bat looks similar to this

    @echo off
    %SystemDrive%\Nod32\setup.exe

    or

    @echo off
    cd \Nod32
    setup

    The custom icon will be a little tougher. Because you are using a batch file, there are no resources attached to it. You have to create an executable and then change the icon. That is a little more involved. Try the above, it will get you the shortcut on the desktop for all users.

    If you really want the icon, you will need RAR or 7z and create an switchless installer. Then use Resource Hacker to change the icon.

  2. Replace the files in your clean up batch file. This way it will still be unattended. I still use ICQ 2003b and I am pretty sure I will eventaully have to switch over to the lite version. But since they haven't updated the program in 4 years, it is a safe bet that copying the .dll files during your cleanup command will be a permanent solution.

  3. Olá

    I have to make a XP CD with the GUI-mode Setup fully unattended (already done), but the text-mode Setup has to be attended.

    Is there a way to configure this through the WINNT.SIF file?

    ;)

    Doesn't that defeat the purpose of an UnAttended installation?

    Either it is unattended or interactive. There is no in between.

    If you are looking to get the reapir installation, forget it. Do a search, it cannot be done if the install is unattended.

  4. You can make the install folder anywhere you want. You just have to point RunOnceEx to the location of the files.

    I recommend you use

    $OEM$\$1\Install

    This folder will be copied to your hard drive during installation. So your RunOnceEx should look like

    @echo off

    REG ADD "HKLM\SOFTWARE\Microsoft\GdiDetectionTool" /v "GDITool" /t REG_DWORD /d "00000001" /f
    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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

    REG ADD %KEY%30 /VE /D "Microsoft .NET Framework 2.0" /f
    REG ADD %KEY%30 /V 1 /D "%systemdrive%\install\dotnet2.exe" /f

    REG ADD %KEY%40 /VE /D "Microsoft Internet Explorer 7" /f
    REG ADD %KEY%40 /V 1 /D "%systemdrive%\install\IE7.exe /q" /f

    REG ADD %KEY%50 /VE /D "Windows Media Player 11" /f
    REG ADD %KEY%50 /V 1 /D "%systemdrive%\install\wmp11.exe /q" /f
    REG ADD %KEY%50 /V 2 /D "%systemdrive%\install\KB920342.exe /q /n /z" /f

    REG ADD %KEY%\999 /VE /D "SysPrep and Reboot" /f
    REG ADD %KEY%\999 /V 1 /D "%systemdrive%\install\Reboot.cmd" /f

    EXIT

    If you want to install from CD, then it should look like this

    @echo off
    set tagfile=\win51ip.sp2
    for %%i in (c 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:%tagfile%" set CDDRV=%%i:
    start /wait xcopy %CDDRV%\i386\*.* %systemdrive%\i386\ /e /c /i /q /y > nul

    REG ADD "HKLM\SOFTWARE\Microsoft\GdiDetectionTool" /v "GDITool" /t REG_DWORD /d "00000001" /f
    SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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

    REG ADD %KEY%30 /VE /D "Microsoft .NET Framework 2.0" /f
    REG ADD %KEY%30 /V 1 /D "%CDDRV%\install\dotnet2.exe" /f

    REG ADD %KEY%40 /VE /D "Microsoft Internet Explorer 7" /f
    REG ADD %KEY%40 /V 1 /D "%CDDRV%\install\IE7.exe /q" /f

    REG ADD %KEY%50 /VE /D "Windows Media Player 11" /f
    REG ADD %KEY%50 /V 1 /D "%CDDRV%\install\wmp11.exe /q" /f
    REG ADD %KEY%50 /V 2 /D "%CDDRV%\install\KB920342.exe /q /n /z" /f

    REG ADD %KEY%\999 /VE /D "SysPrep and Reboot" /f
    REG ADD %KEY%\999 /V 1 /D "%CDDRV%\install\Reboot.cmd" /f

    EXIT

    The above assumes that you have all your applications on the CD in a folder called Install off the root directory.

  5. Have you tried
    rd /s /q "C:\Program Files\Online Services"

    Is this command the same as the one that you posted above?

    RD /S /Q %systemdrive%\Online Services\

    No, your command will yeild this result

    rd /s /q c:\Online Services\

    Where c: is your install drive.

    More accurately, it will yeild this

    rd /s /q c:\Online

    Because you forgot to wrap quotes around the command, DOS will assume the space is the end of the command and

    Services\

    is a switch.

  6. This can easily be done. It will require two steps

    @echo off
    bootcfg /copy /d "Mikka's Microsoft Windows XP" /id 1
    bootcfg /delete /id 1

    The first line copies the tag and modifies the description.

    The second line deletes the original tag and the modified tag will now be the default tag (id 1)

  7. This line, if added to your clean up batch file should get the update to install on the next boot.

    REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /V KB929969.exe /q /n /z /D "%systemdrive%" /f

    You have IE7 in RunOnceEx.cmd, the last part of RunOnceEx should run a clean up batch file and then you include the above line. After reboot, it should install the update.

×
×
  • Create New...