hevnbnd Posted September 8, 2003 Share Posted September 8, 2003 Ok, I spent two days reading before i made this post. None of my batch files run after windows completes its install and reboots into windows. I am assuming this is where they should begin to run? They did copy over to this directory C:\Install from the cd. So they are on the hard drive. The are .cmd and not .cmd.txt. When i double click them from the hard drive msdos flashes and then goes away and nothing happens. Here is what my winnt.swf file looks like:[Data]AutoPartition=0MsDosInitiated="0"UnattendedInstall="Yes"[unattended]Unattendmode = FullUnattendedOemSkipEula=YesOemPreinstall = YesUnattendSwitch="no"TargetPath = *Filesystem = LeaveAloneOemSkipEula = YESFactoryMode = YESWaitForReboot="No"DriverSigningPolicy = IgnoreOEMPnPDriversPath = "PnPDrvrs\NIC;PnPDrvrs\audio"[GuiUnattended]TimeZone = "020"AdminPassword = *AutoLogon = YesOEMSkipRegional = 1OEMSkipWelcome = 1[userData]FullName = "Your User Name"OrgName = "Your Company Name"ComputerName = *ProductKey=removed[LicenseFilePrintData]AutoMode = "PerServer"AutoUsers = "5"[Display]BitsPerPel = 32XResolution = 1024YResolution = 768VRefresh = 85[branding]BrandIEUsingUnattended = YesIEBrandingFile = install.ins[Networking][identification]JoinWorkgroup = WorkgroupHome_Page=http://www.squareplanet.com[Components]msmsgs=offmsnexplr=off[GuiRunOnce]%systemdrive%\install\main_batch.cmd%systemdrive%\install\hotfixes.cmd%systemdrive%\install\applications.cmdThis is what my main_batch.cmd looks like:CLS@echo offECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO hacks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Installing MSN Messenger 6.1.0144 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\dx9NTopk.exeECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\WMP9_MM2_ENU.exeECHO.ECHO Installing PowerToysECHO Please wait...start /wait %systemdrive%\install\PowerToys\PowertoySetup.exe /s /v/qnECHO.ECHO Installing Microsoft JavaVM - Build 3810ECHO Please wait...start /wait %systemdrive%\install\JavaVM\msjavwu.exe /Q:A /R:NECHO.EXIT What am i doing wrong? I have another issue with resealing the install but i will deal with that after i get this working. I was using winpe and installing across the network but i thought this might be easier. But i am having no luck. Please Help. Thanks In advance. Brian Link to comment Share on other sites More sharing options...
scankurban Posted September 8, 2003 Share Posted September 8, 2003 Hi everythings fine but your unattend file name is wrong.It should be winnt.sif not a winnt.swf.There is no need flash movie And if you have purchase license don't post any product code. Link to comment Share on other sites More sharing options...
hevnbnd Posted September 8, 2003 Author Share Posted September 8, 2003 Thanks for the quick reply, My unattend file is named winnt.sif. not sure what i was thinking there. And as for the product key i straight up forgot. Thanks for removing it. So any ideas anyone why none of my batch files are running? Link to comment Share on other sites More sharing options...
Aaron Posted September 8, 2003 Share Posted September 8, 2003 This might have something to do with it:FactoryMode = YESI've never heard of this command.As for when you tested your batch scripts and the window disappeared quickly - this could be because the paths specified in the batch files don't exist. Link to comment Share on other sites More sharing options...
hevnbnd Posted September 8, 2003 Author Share Posted September 8, 2003 This is what ref.chm says about the factorymode line.[Factory] Installs Windows from a specified configuration set. Required. Well i took the factorymode line out and this time instead of going straight into windows after the install it came to the welcome screen and ask for my username and if i wanted to register. Anyone got any more ideas. Need help soon. Working on a project. Thanks Brian Link to comment Share on other sites More sharing options...
hevnbnd Posted September 9, 2003 Author Share Posted September 9, 2003 STill no luck. When i get on the computer and go to a cmd promt and run the batch commands i get this message:C:\INSTALL>¨„C' ¨„C' is not recognized as an internal or external command, operable program or batch file. Does this help? Please someon help. Link to comment Share on other sites More sharing options...
hevnbnd Posted September 9, 2003 Author Share Posted September 9, 2003 Some help would be great. The files copy over to the computers c: directory, but the batches never run. Here is my current winnt.sif:;SetupMgrTag[Data]AutoPartition=0MsDosInitiated="0"UnattendedInstall="Yes"[unattended]Unattendmode=FullUnattendedOemSkipEula=YesOemPreinstall=YesUnattendSwitch=YesTargetPath=\WINDOWSOemSkipEula=YESWaitForReboot="No"DriverSigningPolicy=IgnoreOEMPnPDriversPath="PnPDrvrs\NIC;PnPDrvrs\audio"[GuiUnattended]TimeZone="020"AdminPassword=*OEMSkipRegional=1OEMSkipWelcome=1[userData]FullName="Your User Name"OrgName="Your Company Name"ComputerName=*ProductKey=nope[Display]BitsPerPel=32XResolution=1024YResolution=768VRefresh=85[branding]BrandIEUsingUnattended=Yes[Networking]InstallDefaultComponents=Yes[identification]JoinWorkgroup=WorkgroupHome_Page=http://www.squareplanet.com[Components]msmsgs=offmsnexplr=off[GuiRunOnce]%systemdrive%\install\main_batch.cmd%systemdrive%\install\hotfixes.cmd%systemdrive%\install\applications.cmdHere is my current main_batch.cmdCLS@echo offECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO hacks being implemented. The computer will restart automaticallyECHO once the whole process has finished!ECHO.ECHO Installing MSN Messenger 6.1.0144 FinalECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\dx9NTopk.exeECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\WMP9_MM2_ENU.exeECHO.ECHO Installing PowerToysECHO Please wait...start /wait %systemdrive%\install\PowerToys\PowertoySetup.exe /s /v/qnECHO.ECHO Installing Microsoft JavaVM - Build 3810ECHO Please wait...start /wait %systemdrive%\install\JavaVM\msjavwu.exe /Q:A /R:NECHO.EXIT SOMEONE PLEASE HELP I HAVE BEEN MESSING WITH THIS FOR A WEEK NOW. Thanks in advance.... B Link to comment Share on other sites More sharing options...
hevnbnd Posted September 13, 2003 Author Share Posted September 13, 2003 Ok fixed the problem the batch files were not encoded correctly. Thanks for all help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now