Jump to content

Mikep7779

Member
  • Posts

    221
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by Mikep7779

  1. ORSI:
    thats exactly what this script is for, the problem is that it is executed during the 12min setup part, no after the 1st logon

    Are you running it from the GUIRUNONCE section in your WINNT.SIF, which will execute at first logon.. it sounds like you are running from the cmdlines.txt???

    I am running it with a cmdlines, i would add it under GUIRUNONCE in my winnt.sif?

  2. So is this correct

    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 "Applications" /f


    REG ADD %KEY%\001 /VE /D "DVD Shrink (Cab)" /f

    REG ADD %KEY%\002 /VE /D "Adobe Reader 7 (Cab)" /f

    REG ADD %KEY%\003 /VE /D "Java Runtime (Cab)" /f

    REG ADD %KEY%\005 /VE /D ".Net Framework 1.1 SP1 (Cab)" /f

    REG ADD %KEY%\006 /VE /D "Windows Media Player 10 (Cab)" /f

    REG ADD %KEY%\007 /VE /D ".Net Framework 2.0" /f
    REG ADD %KEY%\007 /V 1 /D "%CDROM%\Software\Utilities\dotnetfx2.exe" /f

    REG ADD %KEY%\008 /VE /D "Daemon Tools 3.47" /f
    REG ADD %KEY%\008 /V 1 /D "%CDROM%\Software\Utilities\daemon.msi /qb /passive /norestart" /f

    REG ADD %KEY%\009 /VE /D "Tight VNC" /f
    REG ADD %KEY%\009 /V 1 /D "%CDROM%\Software\Applications\VNC\tightvnc-1.2.9-setup.exe /silent" /f
    REG ADD %KEY%\009 /V 2 /D "REGEDIT /S %CDROM%\Software\Applications\VNC\vncservice.reg" /f

    REG ADD %KEY%\010 /VE /D "QuickPar 9.1.0" /f
    REG ADD %KEY%\010 /V 1 /D "%CDROM%\Software\Applications\QuickPar-0.9.1.0.exe /S" /f

    REG ADD %KEY%\011 /VE /D "DU Meter 3.07" /f
    REG ADD %KEY%\011 /V 1 /D "%CDROM%\Software\Applications\Dumeter\DUmeter.exe /VERYSILENT /SP-" /f
    REG ADD %KEY%\011 /V 2 /D "REGEDIT /S %CDROM%\Software\Applications\Dumeter\dumeter.reg" /f

    REG ADD %KEY%\012 /VE /D "PerfectDisk 7.0" /f
    REG ADD %KEY%\012 /V 1 /D "REGEDIT /S %CDROM%\Software\Applications\Perfectdisk\perfectdisk.reg" /f

    REG ADD %KEY%\013 /VE /D "Nero 6.0.0.13" /f
    REG ADD %KEY%\013 /V 1 /D "%CDROM%\Software\Applications\Nero_Custom_Setup.exe" /f


    rundll32.exe iernonce.dll,RunOnceExProcess
    REG ADD %KEY% /V TITLE /D "Utilities" /f

    REG ADD %KEY%\001 /VE /D "Crap Cleaner (Cab)" /f

    REG ADD %KEY%\002 /VE /D "Spybot S&D (Cab)" /f

    REG ADD %KEY%\003 /VE /D "Kazaa mega codec pack" /f
    REG ADD %KEY%\003 /V 1 /D "%CDROM%\Software\Utilities\klmcodec138.exe /silent" /f

    REG ADD %KEY%\004 /VE /D "Azureus 2.3.0.4" /f
    REG ADD %KEY%\004 /V 1 /D "%CDROM%\Software\Applications\Azureus_2.3.0.4_Win32.setup.exe /S /D=C:\Program\Azureus" /f

    REG ADD %KEY%\005 /VE /D "VLC Player." /f
    REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\Applications\vlc-0.8.2-win32.exe /S" /f

    REG ADD %KEY%\006 /VE /D "**** NFO Viewer" /f
    REG ADD %KEY%\006 /V 1 /D "%CDROM%\Software\Applications\Damnnfo\DAMNNFO.sfx.exe" /f
    REG ADD %KEY%\006 /V 2 /D "REGEDIT /S %CDROM%\Software\Applications\Damnnfo\****.reg" /f

    REG ADD %KEY%\007 /VE /D "Tune-Up 2006" /f
    REG ADD %KEY%\007 /V 1 /D "%CDROM%\Software\Applications\Tuneup\TU2006TrialEN.exe /q" /f
    REG ADD %KEY%\007 /V 2 /D "REGEDIT /S %CDROM%\Software\Applications\Tuneup\tuneup.reg" /f

    REG ADD %KEY%\008 /VE /D "WinRAR" /f
    REG ADD %KEY%\008 /V 1 /D "%CDROM%\Software\Applications\wrar35b7.exe /s" /f

    REG ADD %KEY%\009 /VE /D "7-Zip" /f
    REG ADD %KEY%\009 /V 1 /D "%CDROM%\Software\Applications\7z423.exe /S" /f

    REG ADD %KEY%\011 /VE /D "AVG 7.1 (Anti-Virus)" /f
    REG ADD %KEY%\011 /V 1 /D "%systemdrive%\Install\Applications\Avg7\AvgSetup.bat" /f

    REG ADD %KEY%\012 /VE /D "CPL Mouse Fix" /f
    REG ADD %KEY%\012 /V 1 /D "REGEDIT /S %CDROM%\Software\mouse_fix.reg" /f

    REG ADD %KEY%\012 /VE /D "HashTab v1.7 (Cab)" /f

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

    EXIT

  3. For an .exe, you could look at the source, decompile it (not likely), or debug it while it's running (assuming you understand machine code and call stacks).

    If you want a high-level overview, download filemon and regmon (from www.sysinternals.com) and run both, then run your .exe, then stop both regmon and filemon. They'll give you a snapshot of what just happened on your system, both on the filesystem and in the registry. It's best to run those when NOTHING else is running, short of Windows itself, because they're VERY verbose. Less is more, in this instance, if you want to see what is actually happening.

    worked like a charm

×
×
  • Create New...