Jump to content

Recommended Posts

Posted (edited)

Okay as far as windows unattended install goes, there is no probs. Updates and Service packs intergate and install correctly. However on the first logon when the runonce starts i get errors saying...

Windows Cannot find 'C:\Install\xxxx.exe' then it explains about press ok to search for files...

xxxx=name of program

This happens to every program trying to install.

cmdow @ /HID
@Echo Off

SET PP=%SystemDrive%\Install\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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

REG ADD %KEY%\000 /VE /D "PC-Cillin Internet Security 2006" /f
REG ADD %KEY%\000 /V 1 /D "%PP%pcc.exe /qb REBOOT=Supress" /f

REG ADD %KEY%\001 /VE /D "Lavasoft's Ad-Aware SE Personal" /f
REG ADD %KEY%\001 /V 1 /D "%PP%aawsepersonal.exe /s" /f

REG ADD %KEY%\002 /VE /D "Sun Java 1.5" /f
REG ADD %KEY%\002 /V 1 /D "%PP%jre.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"" /f

REG ADD %KEY%\003 /VE /D "WinRAR Corp." /f
REG ADD %KEY%\003 /V 1 /D "%PP%wrar.exe /s" /f

REG ADD %KEY%\004 /VE /D "CCleaner" /f
REG ADD %KEY%\004 /V 1 /D "%PP%ccsetup130.exe /s" /f

REG ADD %KEY%\005 /VE /D "Mozilla Firefox" /f
REG ADD %KEY%\005 /V 1 /D "%PP%firefox.exe -ms" /f

REG ADD %KEY%\006 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\006 /V 1 /D "%PP%MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"" /f

REG ADD %KEY%\007 /VE /D "Acrobat Reader 6.0" /f
REG ADD %KEY%\007 /V 1 /D "%PP%AdbeRdr60_enu.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%\008 /VE /D "Xpize" /f
REG ADD %KEY%\008 /V 1 /D "%PP%XPize441.exe /s" /f

REG ADD %KEY%\009 /VE /D "MSN Msgr. 8" /f
REG ADD %KEY%\009 /V 1 /D "%PP%Msn.msi /QB" /f

REG ADD %KEY%\010 /VE /D "Yahoo! Msgr." /f
REG ADD %KEY%\010 /V 1 /D "%PP%yahoo.exe /s" /f

REG ADD %KEY%\011 /VE /D "CloneDVD" /f
REG ADD %KEY%\011 /V 1 /D "%PP%CloneDVDSetup.exe /SP /VERYSILENT /NORESTART" /f

REG ADD %KEY%\012 /VE /D "Nero Burning ROM 7 Ultra Edition" /f
REG ADD %KEY%\012 /V 1 /D "%PP%Nero.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN" /f

EXIT

I used runounce.cmd maker

here is the path: $OEM$\$1\Install

all my application setup files are in here.

RunOnce.cmd and cmdlines.txt are in the $OEM$ folder.

My WINNT.SIF

;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"
AutomaticUpdates=Yes

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition=Yes
UnattendSwitch="yes"
WaitForReboot="No"
OemPnPDriversPath="drivers\000_Chipset;drivers\001_Nvidia;drivers\002_Crystal;drivers\003_3Com"
DriverSigningPolicy=Ignore
NonDriverSigningPolicy=Ignore
AutoActivate = Yes

[GuiUnattended]
AdminPassword="*"
EncryptedAdminPassword=NO
AutoLogon=Yes
AutoLogonCount=1
OEMSkipRegional=1
TimeZone=2
OemSkipWelcome=1

[UserData]
ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
FullName="John"
OrgName=""
ComputerName=DELL

[Display]
BitsPerPel=32
Xresolution=1280
YResolution=1024

[TapiLocation]
CountryCode=1
Dialing=Tone
AreaCode=808

[RegionalSettings]
LanguageGroup=1

[Identification]
JoinWorkgroup=HOME

[Networking]
InstallDefaultComponents=Yes

[Components]
msmsgs=off
msnexplr=off
zonegames=off

[Branding]
BrandIEUsingUnattended=Yes

[IEPopupBlocker]
AllowedSites=www.msfn.org;www.microsoft.com;www.amazon.com
BlockPopups=Yes
FilterLevel=High
ShowInformationBar=Yes

I have tried to search this problem but no results, any help would be appreciated

Edited by jbegoniajr

Posted (edited)

Mine installs from cdrom and starts like this ( example ) :

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%\001 /VE /D "LimeWire PRO 4.12.3" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\LimeWire\LimeWireWin.exe /S" /f
REG ADD %KEY%\001 /V 2 /D "taskkill /IM LimeWire.exe /F" /f

REG ADD %KEY%\002 /VE /D "Cleanup and reboot" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\Software\cleanup\Cleanup.cmd" /f

EXIT

Edited by muiz
Posted

Try this:

cmdow @ /HID
@Echo Off
@CLS

SetLocal enableextensions
SET CDROM=%~d0
SET PP=%CDROM%\APPS

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

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

REG ADD %KEY%\000 /VE /D "PC-Cillin Internet Security 2006" /f
REG ADD %KEY%\000 /V 1 /D "%PP%pcc.exe /qb REBOOT=Supress" /f

REG ADD %KEY%\001 /VE /D "Lavasoft's Ad-Aware SE Personal" /f
REG ADD %KEY%\001 /V 1 /D "%PP%aawsepersonal.exe /s" /f

REG ADD %KEY%\002 /VE /D "Sun Java 1.5" /f
REG ADD %KEY%\002 /V 1 /D "%PP%jre.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"" /f

REG ADD %KEY%\003 /VE /D "WinRAR Corp." /f
REG ADD %KEY%\003 /V 1 /D "%PP%wrar.exe /s" /f

REG ADD %KEY%\004 /VE /D "CCleaner" /f
REG ADD %KEY%\004 /V 1 /D "%PP%ccsetup130.exe /s" /f

REG ADD %KEY%\005 /VE /D "Mozilla Firefox" /f
REG ADD %KEY%\005 /V 1 /D "%PP%firefox.exe -ms" /f

REG ADD %KEY%\006 /VE /D "Windows Media Player 10" /f
REG ADD %KEY%\006 /V 1 /D "%PP%MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"" /f

REG ADD %KEY%\007 /VE /D "Acrobat Reader 6.0" /f
REG ADD %KEY%\007 /V 1 /D "%PP%AdbeRdr60_enu.exe -p"-s /v\"/qn\""" /f

REG ADD %KEY%\008 /VE /D "Xpize" /f
REG ADD %KEY%\008 /V 1 /D "%PP%XPize441.exe /s" /f

REG ADD %KEY%\009 /VE /D "MSN Msgr. 8" /f
REG ADD %KEY%\009 /V 1 /D "%PP%Msn.msi /QB" /f

REG ADD %KEY%\010 /VE /D "Yahoo! Msgr." /f
REG ADD %KEY%\010 /V 1 /D "%PP%yahoo.exe /s" /f

REG ADD %KEY%\011 /VE /D "CloneDVD" /f
REG ADD %KEY%\011 /V 1 /D "%PP%CloneDVDSetup.exe /SP /VERYSILENT /NORESTART" /f

REG ADD %KEY%\012 /VE /D "Nero Burning ROM 7 Ultra Edition" /f
REG ADD %KEY%\012 /V 1 /D "%PP%Nero.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN" /f

EndLocal

EXIT

Put all files not in %XPCD%\$OEM$\$$\Install but %XPCD%\APPS

Posted

Hello everyone,

I'm an absolute newbie here, so at "first round" please excause my silly question(s) and bad english.

I have -for now- two things to ask from the "veterans":

1, The "KB917734" media player hotfix seems to be installed at first sight, but when I test the unattended installation, Windows Update just doesn't recognize it and asks to download.

What should I do? Maybe this problem caused by an incomplete registry key added by the hotfix?

2, In my winnt.sif file I manage under the [components] section what windows component should install and what shouldn't. I cancelled the Windows Messenger (because my setup installs instead messenger live), MSN explorer and i want to "kill" the standard internet explorer too. What I have to do?

And, another thing, Messenger and MSN explorer are installed, no matter what i wrote in the .sif file. Here's the cited part:

[Components]

accessopt=Off

mplay=Off

msmsgs=Off

msnexplr=Off

zonegames=Off

Thank you for reading, and if possible, answering these questions. I'm looking forward to make a very good unattended setup cd, it's "cool" to do but a tiring work and I have to learn a lot... :D

Posted

@Marque Welcome!

Shouldn't you be posting a new topic rather than writing in an old one.

To stop ie, remove it in nlite. Try removing components in nlite instead of winnt.sif ing them.

Try reinstalling the KB917734 hotfix. Not via WU or MU but via the download centre. If it works and WU stops whining, integrate it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...