Jump to content

Haynes

Member
  • Posts

    15
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by Haynes

  1. I currently have 85 post service pack 2 hotfixes being installed via SVCPACK.inf, I'm aware many are superseded by newer hotfixes. I want to get away from the SVCPACK method and slipstream these updates into the installation itself. First I want to identify any updates that are outdated. I have viewed the Properties looking for information. I have also looked for this information on TechNet’s Microsoft Security Bulletin Search with no luck. Where can I find this information?

  2. First, browse the forums using the 'Search' feature. Keywords might include 'IE7 Validation'

    Below is an excerpt of a batch file that I used to install various programs, but maybe taking note of the switches will be all you need.

    @echo off

    title Internet Explorer 7

    color 9f

    echo.
    echo. Installing Internet Explorer 7 - This may take a minute or two
    Start /wait %systemdrive%\OemPreinstall\IE7.exe /norestart /quiet /passive
    echo. done!

    I used the [GuiRunOnce] section of WINNT.sif.

    [GuiRunOnce]
    Command0=%systemdrive%\OemPreinstall\yourbatchfile.bat

    We have volume licensed copies of Professional, so I'm not familiar with validation troubles with IE7.

  3. echo.
    echo. Photoshop CS2
    Start /wait %systemdrive%\OemPreinstall\Photoshop\Photoshop.msi /qn UNITYSELECTION=RETAIL SERIALNUMBERTEMP=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
    echo. done!

    cls
    echo.
    echo. Activating Photoshop CS2
    COPY %systemdrive%\OemPreinstall\Photoshop\B2B86000.dat "C:\Documents and Settings\All Users\Application Data\Adobe Systems\Product licenses\"
    echo. done!

    cls
    echo.
    echo. disable Adobe Updater...
    Start /wait reg import %systemdrive%\OemPreinstall\Photoshop\DisableAUM_Updates.reg
    echo. done!

    cls
    echo.
    echo. suppress the Photoshop Registration dialog box...
    Start /wait reg import %systemdrive%\OemPreinstall\Photoshop\Regdialog.reg
    echo. done!

    cls
    echo.
    echo. suppress the Photoshop Activation dialog box...
    Start /wait reg import %systemdrive%\OemPreinstall\Photoshop\Actdialog.reg
    echo. done!

    I still get the Activation dialog during installation :(

    activate.gif

    The 'supression' commands aren't until after the Photoshop installation, so I could understand why it's not working. And it wouldn't do any good putting them before the installation because the directories and the registry entries wouldn't have been created yet.

    What am I doing wrong, any ideas?

    If I cancel the Activation, My batch file completes, and I do find Photoshop is installed, but it is not activated and the registration dialog still appears.

  4. @echo off

    rem Modified November 1, 2006

    color 9f

    echo.
    echo. show hidden files and folders/show extensions...
    Start /wait reg import %systemdrive%\OemPreinstall\View.reg
    echo. done!
    cls
    echo.
    echo. Installing Microsoft .NET Framework 1.1
    Start /wait %systemdrive%\OemPreinstall\dotnetfx\netfx.msi /qn
    echo. done!
    cls
    echo.
    echo. Installing Microsoft .NET Framework 2.0
    Start /wait %systemdrive%\OemPreinstall\dotnetfx.exe /q:a /c:"install /l /q"
    echo. done!
    cls
    echo.
    echo. Installing Security update for Microsoft .NET Framework 2.0
    Start /wait %systemdrive%\OemPreinstall\KB917283.exe /qn
    echo. done!
    cls
    echo.
    echo. Installing Security Update for Microsoft .NET Framework, Version 2.0
    Start /wait %systemdrive%\OemPreinstall\KB922770.exe /qn
    echo. done!
    cls
    echo.
    echo. Installing Office 2003 - This might take several minutes to complete
    Start /wait %systemdrive%\OemPreinstall\Office\SETUP.EXE TRANSFORMS=PRO11.MST /qn
    echo. done!
    cls
    echo.
    echo. Initializing Office updates - This might take several minutes to complete
    Start /min /wait %systemdrive%\OemPreinstall\Office\updates\updates.bat
    echo. done!
    cls
    echo.
    echo. turning off the Office '03 Language Bar...
    Start /wait reg import %systemdrive%\OemPreinstall\LangBar.reg
    echo. done!
    cls
    echo.
    echo. Installing Windows Media Player 11
    Start /wait %systemdrive%\OemPreinstall\wmp11.exe /q:A /c:"setup_wm.exe /Q /R:N /P:#e /DisallowSystemRestore"
    echo. done!
    cls
    echo.
    echo. Installing update for WMDRM-enabled players
    Start /wait %systemdrive%\OemPreinstall\KB902344.exe /q
    echo. done!
    cls
    echo.
    echo. Security Update for Windows Media Player 10 for Windows XP (KB911565)
    Start /wait %systemdrive%\OemPreinstall\KB911565.exe /q
    echo. done!
    cls
    echo.
    echo. Installing HighMAT CD Writing Wizard
    Start /wait %systemdrive%\OemPreinstall\HMTCD.exe /qn
    echo. done!
    cls
    echo.
    echo. Installing Microsoft PowerToys for Windows XP - This may take a minute or two
    Start /min /wait %systemdrive%\OemPreinstall\PowerToys\PowerToys.bat
    echo. done!
    cls
    echo.
    echo. Installing Microsoft Calculator Plus
    Start /wait %systemdrive%\OemPreinstall\CalcPlus.msi /qn
    echo. done!
    cls
    echo.
    echo. Installing Windows Media Connect 2.0
    Start /wait %systemdrive%\OemPreinstall\wmcsetup.exe /q
    echo. done!
    cls
    echo.
    echo. Installing Adobe Reader 7.0.7
    Start /wait %systemdrive%\OemPreinstall\Adobe\7.07\Adobe.msi /qn
    echo. done!
    cls
    echo.
    echo. Accept Adobe Reader EULA...
    Start /wait reg import %systemdrive%\OemPreinstall\Adobe\EULA.reg
    echo. done!
    cls
    echo.
    echo. Hide the Yahoo! toolbar/Search The Internet menu (Adobe Reader)
    COPY "%systemdrive%\OemPreinstall\Adobe\disableYahooSearch.js" "C:\Program Files\Adobe\Acrobat 7.0\Reader\Javascripts"
    echo. done!
    cls
    echo.
    echo. Disable 'Search The Internet' in the Search pane (Adobe Reader)
    REN "%systemdrive%\Program Files\Adobe\Acrobat 7.0\Reader\Javascripts\WebSearch.js" "%systemdrive%\Program Files\Adobe\Acrobat 7.0\Reader\Javascripts\WebSearch.old"
    echo. done!
    cls
    echo.
    echo. Installing Shockwave Player 10
    Start /wait %systemdrive%\OemPreinstall\Shockwave_Installer_Full.exe /S
    echo. done!
    taskkill /f /im iexplore.exe
    cls
    echo.
    echo. Installing Security update for Flash player (Flash player Version 9)
    Start /wait %systemdrive%\OemPreinstall\KB913433.exe /q:a /r:n
    echo. done!
    cls
    echo.
    echo. Installing Windows Live Messenger
    Start /wait %systemdrive%\OemPreinstall\MsnMsgs.msi /qn
    echo. done!
    cls
    echo.
    echo. Installing Java Runtime Environment 5.0 Update 9
    start /w %systemdrive%\OemPreinstall\jre-1_5_0_09-windows-i586-p-s.exe /s /v"/qn ADDLOCAL=ALL IEXPLORER=1 REBOOT=Suppress WEBSTARTICON=0
    echo. done!
    cls
    echo.
    echo. Installing Symantec AntiVirus 10.0 Corporate Edition
    Start /wait %systemdrive%\OemPreinstall\AntiVirus\AntiVirus.msi ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 /qn
    echo. done!
    cls
    echo.
    echo. Updating Virus Protection Files -Release Date: November 1, 2006-
    Start /wait %systemdrive%\OemPreinstall\definitions.exe /q
    echo. done!
    cls
    echo.
    echo. Internet Explorer 7 - This may take a minute or two
    Start /wait %systemdrive%\OemPreinstall\IE7.exe /norestart /quiet /passive
    echo. done!
    cls
    echo.
    echo. WinRAR 3.61
    Start /wait %systemdrive%\OemPreinstall\wrar361.exe /s
    echo. done!
    cls
    echo.
    echo. Disable Balloon Tips - Remove Messengers from Startup
    Start /wait reg import %systemdrive%\OemPreinstall\BalloonTips.reg
    echo. done!
    cls
    echo.
    echo. disable third-party tool bands
    Start /wait reg import %systemdrive%\OemPreinstall\thirdparty.reg
    echo. done!
    cls
    echo.
    echo. Installing QuickTime 7.1.3
    Start /wait %systemdrive%\OemPreinstall\QuickTime\QuickTime.msi /qn
    echo. done!
    cls
    echo.
    echo. Remove Desktop icons
    del "C:\Documents and Settings\All Users\Desktop\*.*" /q
    echo. done!
    cls
    echo.
    echo. Mozilla Firefox 1.5.0.7
    Start /wait %systemdrive%\OemPreinstall\Firefox\setup.exe
    echo. done!
    cls
    echo.
    echo. VMware Workstation 5.5
    Start /wait msiexec -i "%systemdrive%\OemPreinstall\VMware\VMware Workstation.msi" ADDLOCAL=ALL SERIALNUMBER=xxxxx-xxxxx-xxxxx-xxxxx /qn
    echo. done!
    cls
    echo.
    echo. Photoshop CS2
    Start /wait %systemdrive%\OemPreinstall\Photoshop\Photoshop.msi /qn UNITYSELECTION=RETAIL SERIALNUMBERTEMP=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
    echo. done!
    cls
    echo.
    echo. disable Adobe Updater...
    Start /wait reg import %systemdrive%\OemPreinstall\Photoshop\DisableAUM_Updates.reg
    echo. done!
    cls
    echo.
    echo. suppress the Photoshop Registration dialog box...
    Start /wait reg import %systemdrive%\OemPreinstall\Photoshop\Regdialog.reg
    echo. done!
    cls
    echo.
    echo. suppress the Photoshop Activation dialog box...
    Start /wait reg import %systemdrive%\OemPreinstall\Photoshop\Actdialog.reg
    echo. done!
    cls
    echo.
    echo. Activating Photoshop CS2
    COPY %systemdrive%\OemPreinstall\Photoshop\B2B86000.dat "C:\Documents and Settings\All Users\Application Data\Adobe Systems\Product licenses\"
    echo. done!
    cls
    echo.
    echo. Installing Network Diagnostic Tool
    Start /wait %systemdrive%\OemPreinstall\KB914440.exe /q
    echo. done!
    cls
    echo.
    echo. Restarting computer...
    shutdown -r -f -t 300 -c "Finalizing installation"

    exit

    What I would like is for the time it takes each action to be recorded in a log, i.e.:

    'Microsoft Office 2003' 00:07:32

    'Office 2003 updates' 00:06:43

    'Internet Explorer 7' 00:03:01

    ...and so on...

  5. During my silent install oh CS2 the Activation window pops up.

    echo. Photoshop CS2
    Start /wait msiexec /i "%systemdrive%\OemPreinstall\Photoshop\Photoshop.msi" /qn
    echo. done!

    I edited the Abcpy.ini to included the serial and other information:

    ;***************************************************************
    ;Adobe Installer External Configuration File: Abcpy.ini
    ;***************************************************************

    ;***************************************************************
    ;Main Section
    ;The (Product) key is a required key
    ;***************************************************************
    [MAIN]
    Product=Adobe(R) Photoshop CS2
    AbcpyVersion=2.0


    ;***************************************************************
    ;OEM Installation Options
    ;***************************************************************
    [OEM Install]
    SERIALNUMBER=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx
    USERNAME=John Smith
    COMPANYNAME= Adobe Systems
    INSTALLDIR=

    Once activated can't I copy activation information after the install? It will always be on the same PC, I run my unattended every few months to keep a tidy PC. Where is the Activation information stored?

    But the Activation window will still need to be suppressed, after the install is complete I want to copy the files to avoid Activation when Photoshop is launched.

  6. Media Player 11 installs silently without any trouble, but at first launch I have to select 'Typical' or 'Custom' installation, which I choose 'Custom' and then tell it not to set up an online music store or whatever.

    This is what I use:

    echo.
    echo. Installing Windows Media Player 11 Beta 2
    Start /wait %systemdrive%\OemPreinstall\wmp11.exe /q:A /c:"setup_wm.exe /Q /R:N /P:#e /DisallowSystemRestore"
    echo. done!

    Can I somehow avoid the setup question, and specify the 'Custom' installation without an online store during the install?

    Microsoft's Enterprise Deployment Pack is still not released for Media player 11 only 10.

  7. I have an unattended DVD just the way that I want it, I want to put the contents of the DVD on a separate partition and install from that rather than the DVD so that when I make changes to the install it will be VERY easy without the need for a new DVD.

    How do I change my winnt.sif file (assuming thats what needs to be changed) to look for a distribution on another partition on the computer.

    Thank you for your time.

  8. BalloonTips.reg

    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    "EnableBalloonTips"=dword:00000000

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
    "msnmsgr"=-
    "Yahoo! Pager"=-

    OemPreinstall batch file excerpt:

    echo.
    echo. Disable Balloon Tips - Remove Messengers from Startup
    Start /wait reg import %systemdrive%\OemPreinstall\BalloonTips.reg
    echo. done!

    When BalloonTips.reg is ran in batch (or command prompt) all of the modifications in the .reg file are applied ith the exception of "Yahoo! Pager"=-

    But when the .reg file is ran in Windows (double-clicking the .reg file) all the changes are made and the Yahoo! key is deleted as desired.

    My guess is the space in the value "Yahoo! Pager"=- ?

    Any comments...?

    OemPreinstall.bat.txt

    BalloonTips.reg.txt

  9. As far as the validation, i'm not sure - I do however have internet connectivity when I run the unattended DVD.

    Maybe validation is confirmed without my knowledge - I use a volume license copy - maybe this makes the difference?

    I do not know if the error above has anything to do with validation, as I said earlier, even though I receive the error, Internet explorer runs fine. I don't think the initial installation is interrupted. I belive if the pc was restarted before the installation I would not get the error.

    Which reminds me of a question I have been wondering about:

    Is there a way to run installations (batch files) after the first restart or maybe a 2nd or 3rd?

  10. Untitled-1.gif

    I have a batch file that runs directly after the windows installation (GUIRUNONCE) that installs all my additional software (Office, Java, Messengers, AntiVirus, Powertoys etc.)

    I recently added IE7 Beta 2 to the long list of software to be added. I use the /quiet /passive /norestart switches to install IE7.

    But, towards the end of the IE7 install, I get the error above. however, IE7 is installed and runs correctly.

    NOTE: the PC has not been restarted since the WINDOWS installation at this point. The SHUTDOWN that you'll see towards the back is the last command of my batch file.

    Any ways to prevent this error? As I said, even with the error, the PC is restarted shortly after and IE runs flawlessly as far as I can tell.

    Below is my entire "OEMPreInstall.bat"

    @echo off

    rem Modified March 21, 2006

    title Windows XP Professional Setup

    color 9f

    echo.
    echo. Installing Office 2003 - This might take several minutes to complete
    Start /wait %systemdrive%\OemPreinstall\Office\SETUP.EXE TRANSFORMS=PRO11.MST /qn
    echo. done!
    cls
    echo.
    echo. Initializing Office '03 updates - This may take a minute or two
    Start /min /wait %systemdrive%\OemPreinstall\Office\updates\updates.bat
    echo. done!
    cls
    echo.
    echo. Installing Microsoft Windows Media Player 10
    Start /wait %systemdrive%\OemPreinstall\mpsetupedp.msi
    echo. done!
    cls
    echo.
    echo. Security Update for Windows Media Player 10 for Windows XP (KB911565)
    Start /wait %systemdrive%\OemPreinstall\KB911565.exe /q
    echo. done!
    cls
    echo.
    echo. Installing Microsoft .NET Framework 1.1
    Start /wait %systemdrive%\OemPreinstall\dotnetfx\netfx.msi /qn
    echo. done!
    cls
    echo.
    echo. Installing Microsoft .NET Framework 2.0
    Start /wait %systemdrive%\OemPreinstall\dotnetfx.exe /q:a /c:"install /l /q"
    echo. done!
    cls
    echo.
    echo. Installing HighMAT CD Writing Wizard
    Start /wait %systemdrive%\OemPreinstall\HMTCD.exe /qn
    echo. done!
    cls
    rem echo.
    rem echo. software update for Base Smart Card Cryptographic Service Provider
    rem Start /wait %systemdrive%\OemPreinstall\KB909520.exe /q
    rem echo. done!
    rem cls
    echo.
    echo. Installing Microsoft PowerToys for Windows XP - This may take a minute or two
    Start /min /wait %systemdrive%\OemPreinstall\PowerToys\PowerToys.bat
    echo. done!
    cls
    echo.
    echo. Installing Microsoft Calculator Plus
    Start /wait %systemdrive%\OemPreinstall\CalcPlus.msi /qn
    echo. done!
    cls
    echo.
    echo. Installing update for WMDRM-enabled players
    Start /wait %systemdrive%\OemPreinstall\KB902344.exe /q
    echo. done!
    cls
    echo.
    echo. Installing Windows Media Connect 2.0
    Start /wait %systemdrive%\OemPreinstall\wmcsetup.exe /q
    echo. done!
    cls
    echo.
    echo. Installing Adobe Reader 7.0.5
    Start /wait %systemdrive%\OemPreinstall\Adobe\Adobe.msi /qn
    echo. done!
    cls
    echo.
    echo. Installing Shockwave Player 10
    Start /wait %systemdrive%\OemPreinstall\Shockwave_Installer_Full.exe /S
    echo. done!
    taskkill /f /im iexplore.exe
    cls
    echo.
    echo. Installing MSN Messenger 7.5.036
    Start /wait %systemdrive%\OemPreinstall\MsnMsgs.msi /qn
    echo. done!
    cls
    echo.
    echo. Installing Yahoo! Messenger with Voice (7,0,2,120)
    Start /wait %systemdrive%\OemPreinstall\ymsgr7us.exe /S
    echo. done!
    taskkill /f /im ypager.exe
    cls
    echo.
    echo. Installing Java Runtime Environment 5.0 Update 6
    start /w %systemdrive%\OemPreinstall\jre-1_5_0_06-windows-i586-p.exe /s /v"/qn ADDLOCAL=ALL IEXPLORER=1 REBOOT=Suppress WEBSTARTICON=0
    echo. done!
    cls
    echo.
    echo. Installing Symantec AntiVirus 10.0 Corporate Edition
    Start /wait %systemdrive%\OemPreinstall\AntiVirus\AntiVirus.msi ENABLEAUTOPROTECT=1 RUNLIVEUPDATE=0 /qn
    echo. done!
    cls
    echo.
    echo. Updating Virus Protection Files -Release Date: March 22, 2006-
    Start /wait %systemdrive%\OemPreinstall\definitions.exe /q
    echo. done!
    cls
    echo.
    echo. Installing QuickTime 7
    Start /wait %systemdrive%\OemPreinstall\QuickTime\QuickTimeInstaller.exe /s
    echo. done!
    cls
    echo.
    echo. Installing Internet Explorer 7 Beta 2 Preview - released on March 20, 2006
    Start /wait %systemdrive%\OemPreinstall\IE7B2P.exe /quiet /passive /norestart
    echo. done!
    cls
    echo.
    echo. Disable Balloon Tips - Remove Messengers from Startup - disable third-party tool bands
    Start /wait reg import %systemdrive%\OemPreinstall\Registry.reg
    echo. done!
    cls
    echo.
    echo. Remove Yahoo! Messenger - QuickTime Desktop icons
    del "C:\Documents and Settings\All Users\Desktop\*.*" /q
    echo. done!
    cls
    echo.
    echo. Restarting computer...
    shutdown -r -f -t 90 -c "restart was planned"

    exit

×
×
  • Create New...