nive Posted May 18, 2008 Share Posted May 18, 2008 When I did my first nLited XP ver it was SP2 with addons. I used older ver of nlite and in WINNT.sif file i included:[GuiRunOnce]%systemdrive%\install\batch_file.cmdthen my batch_file.cmd looked like this:CLS@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\015 /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\Office.exe" /fREG ADD %KEY%\015 /V 2 /D "%systemdrive%\Install\Setup.exe TRANSFORMS=Unattended.MST /qb-" /f start /wait %systemdrive%\install\netfxsp1.exerundll32.exe iernonce.dll,RunOnceExProcessECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\installEXITIt worked perfectly and both office 2003 and netfx were installed before first logon.Unfortunately with new nLite 1.4.5 it's not working. Even though batch file seems to be executed and I see screen with information that O2K3 is being installed, after first logon it's NOT:(In new nLite I put "%systemdrive%\install\batch_file.cmd" in Execute once under Unattended settings.Now my questios are:1. Why it's not working even if batch file is executed?2. My new batch file looks like this:CLS@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\015 /VE /D "Microsoft Office 2003 Professional" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\install\Office.exe" /fREG ADD %KEY%\015 /V 2 /D "%systemdrive%\install\Setup.exe TRANSFORMS=Unattended.MST /qb-" /f ECHO.ECHO Installing Sun Java VM 1.6u5ECHO Please wait...start /wait jre-6u5-windows-i586-p-s /s /v/qndotnetfx2.exe /q:a /c:"install.exe /qb"rundll32.exe iernonce.dll,RunOnceExProcessECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\installEXITI know there are some mistakes in it cause i get error that dotnetfx2.exe couldn't be found and java is not even being installed at all.Please help me fix this batch file3. And last but not the least:what I really want to do is to have O2K3, .NET Framework-1-3 and SUN Java6 installed. I don't care if its slipstreamed or post install, I just want this to work. If you know answers to above problem I would be more than happy:) 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