Jump to content

chon_

Member
  • Posts

    175
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Mexico

Posts posted by chon_

  1. Ok, first of all you can't install this apps just runing the MSI with its switches, instead you have tu run Nswsetup.exe and/or Symsetup.exe. Apparently you can use the same switches as an MSI file, but i can't prevent the installation from rebooting, here's the command i'm using:

    ECHO Instalando Norton Internet Security 2004 ...
    start /wait %systemdrive%\install\Applications\Nis2004\symSETUP.exe /QB REBOOT=Supress

    But when the installation finishes it reboots no matter what (it doesn't even ask if you want to), so it terminates all my batches before they're finished. Any aideas on how to prevent symantec installer from rebooting? :)

  2. I got this error while using svcpack at T-13 i remember seeing a thread (which I can't find) mentioning this error message, but the bottom line was that the guy was using wrong switches for the hotfixes.

    I've manually tested all the hotfixes and their switches listed on svcpack.inf in my computer and I got no problems at all. I'm using virtualpc for testing

    I give up, any clue on this?

    any help will be much appreciated. :)

    Excuse my bad english in advance

    post-70-1065674705_thumb.jpg

  3. I run 4 CMD scripts in my unattended CD and I want to make a log file for them because I need to know what's going on every stage of the setup process.

    1. How can I do it?

    2. Can I use only one file for the four scripts m(ie append the info to only one file)?

    3. If so, how to do it?

    3. where should I create it?

    4. is it possible to log svcpack.inf activities? how?

    TIA :)

  4. ok, you have to forst create a first_boot.cmd file and add the following line to winnt.sif

    [GuiRunOnce]
    ;testing with 2 cds
    %systemdrive%\install\first_boot.cmd

    of course, firs_boot.cmd MUST be on your $OEM$\$1\INSTALL dir; now your first_boot.cmd should look something like this:

    CLS
    @ECHO OFF
    ECHO.
    ECHO Si tiene un segundo CD por favor ins‚rtelo en la unidad en este momento
    ECHO.
    PAUSE

    IF EXIST %systemdrive%\install\programme.cmd GOTO RUNBATCH
    SET CDROM2=
    IF EXIST D:\install\programme.cmd SET CDROM2=D:
    IF EXIST E:\install\programme.cmd SET CDROM2=E:
    IF EXIST F:\install\programme.cmd SET CDROM2=F:
    IF EXIST G:\install\programme.cmd SET CDROM2=G:
    IF EXIST H:\install\programme.cmd SET CDROM2=H:
    IF EXIST I:\install\programme.cmd SET CDROM2=I:
    IF EXIST J:\install\programme.cmd SET CDROM2=J:
    IF EXIST K:\install\programme.cmd SET CDROM2=K:

    IF NOT EXIST %CDROM2%\install\apps.cmd GOTO RUNBATCH
    cls
    ECHO.
    ECHO copying files. . . .
    xcopy %CDROM2%\install %systemdrive%\install\ /S /C /Q /H /Y
    ECHO.

    :RUNBATCH
    goto hotixes

    :HOTFIXES
    :: This hopefully has been obsoleted by slipstreaming the hotfixes into the installer.
    :: Keeping it around just in case it is needed for anything else.
    IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO APPS
    ECHO Executing Hotfixes...
    ECHO.
    start /wait cmdow /run /hid %systemdrive%\install\hotfixes.cmd

    :APPS
    IF NOT EXIST %systemdrive%\install\programme.cmd GOTO CUSTOM
    ECHO Executing programme.cmd ...
    ECHO.
    start /wait cmdow /run /hid %systemdrive%\install\apps.cmd

    :ERROR
    IF NOT EXIST %systemdrive%\install\hotfixes.cmd GOTO _ECHO
    IF NOT EXIST %systemdrive%\install\apps.cmd GOTO _ECHO
    :: IF NOT EXIST %systemdrive%\install\CUSTOMIZE.CMD GOTO _ECHO
    GOTO END

    :END
    ECHO.
    EXIT

    you don't need main_batch nor customize.cmd, and now you can call your apps.inf from programme.cmd

×
×
  • Create New...