MSFN Forum: PLEASE HELP! What Am I Doing wrong? - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

PLEASE HELP! What Am I Doing wrong? Installing Software...Unattended Fails!!! Rate Topic: -----

#1 User is offline   jbegoniajr 

  • Group: Members
  • Posts: 2
  • Joined: 20-June 06

  Posted 21 June 2006 - 06:35 PM

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

This post has been edited by jbegoniajr: 21 June 2006 - 06:40 PM



#2 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 21 June 2006 - 07:31 PM

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

This post has been edited by muiz: 21 June 2006 - 07:35 PM


#3 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 21 June 2006 - 08:35 PM

did you verify that '%systemdrive%\install\' exists?

#4 User is offline   jbegoniajr 

  • Group: Members
  • Posts: 2
  • Joined: 20-June 06

Posted 21 June 2006 - 09:02 PM

Yes The files copied over to the hard-drive. I don't know what else could be wrong...

#5 User is offline   muiz 

  • SPECIAL
  • PipPipPipPipPipPip
  • Group: Banned
  • Posts: 1,055
  • Joined: 03-August 03
  • OS:none specified
  • Country: Country Flag

Posted 22 June 2006 - 05:31 PM

try install from cdrom

#6 User is offline   T D 

  • Go MSFN!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 940
  • Joined: 05-April 06

Posted 23 June 2006 - 03:51 AM

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

#7 User is offline   Marque 

  • Group: Members
  • Posts: 8
  • Joined: 21-June 06

Posted 23 June 2006 - 05:11 AM

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

#8 User is offline   T D 

  • Go MSFN!
  • PipPipPipPipPip
  • Group: Members
  • Posts: 940
  • Joined: 05-April 06

Posted 23 June 2006 - 09:07 AM

@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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy