Zoom7000 Posted August 31, 2004 Share Posted August 31, 2004 Hello folks,I was wondering if anyone could give me a hand, I've been testing out my XPSP2+Apps DVD with Virtual PC. It seems to install Windows fine, however, after the initial boot, it doesn't reboot automatically, and I have to reboot it. Only thereafter does it run the RunOnceEx.cmd file. I have attached my winnt.sif code below.[Data]AutoPartition=0MsDosInitiated="0"UnattendedInstall="Yes"[Unattended]DriverSigningPolicy = ignoreOverwriteOemFilesOnUpgrade = yesKeyboardLayout="United Kingdom"UnattendMode=FullUnattendedOemSkipEula=YesOemPreinstall=YesUnattendSwitch="yes"TargetPath=\WINDOWSWaitForReboot="No"[GuiUnattended]AdminPassword=*EncryptedAdminPassword=NoOEMSkipRegional=1TimeZone=85OemSkipWelcome=1[UserData]ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxxFullName="-"OrgName=""ComputerName=Home[Display]BitsPerPel=32Xresolution=800YResolution=600Vrefresh=75[TapiLocation]CountryCode=44[RegionalSettings]LanguageGroup=1SystemLocale=00000809UserLocale=00000809InputLocale=0809:00000809[Identification]JoinWorkgroup=Local[Networking]InstallDefaultComponents=Yes[URL]Home_Page=http://www.msfn.org[IEPopupBlocker] BlockPopups=YesFilterLevel=MediumShowInformationBar=Yes[Components]msmsgs=offmsnexplr=off freecell=offhearts=offminesweeper=offpinball=offsolitaire=offspider=offzonegames=off[GuiRunOnce]%systemdrive%\Install\RunOnceEx.cmdSo, basically, is there a way to trigger the automatic reboot? NOTE: I haven't put in the drivers as of yet because I am only testing the DVD on a virtual pc at this stage. I hope to implement the drivers later.Also, I've been having problems with my RunOnceEx.cmd file itself. Firstly when installing Alcohol 120% it asks me for SCSI drivers for the Virtual Drive that it creates, is there a way to get around this problem? What drivers do I need to install, if any?Secondly, it won't install the Sun JRE, the arrow will point at the Sun JRE and then move along without installing the program, and the same has been happening with the Office 2003 Installation, the arrow points at the text and then moves along without actually installing it. I have followed MSFN's Office 2003 Advanced Installation guide.Also, .NET Framework is giving me problems. It keeps prompting me whether I wish to install, and also whether I agree to the license etc etc. When it finally gets to the end, it pops up a window (similar to the one that sasser and msblast) used to popup saying it will shutdown in 1 min. Although there is no access to the internet from the virtual pc, so I can't see how it can be a virus.My RunOnceEx.cmd code is shown below:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Adobe Reader 6" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\Install\AdobeReader6\Adobe Reader 6.0.1.msi /qn" /fREG ADD %KEY%\002 /VE /D "Alcohol 120" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\Install\Alcohol120\setup.msi /qn" /fREG ADD %KEY%\003 /VE /D "MSN Messenger 6.2" /fREG ADD %KEY%\003 /V 1 /D "%systemdrive%\Install\MSN\MsnMsgs.msi /qn" /fREG ADD %KEY%\004 /VE /D "Nero Burning ROM 6.3.1.17" /fREG ADD %KEY%\004 /V 1 /D "REGEDIT /S %systemdrive%\Install\Nero\register.reg" /fREG ADD %KEY%\004 /V 2 /D "%systemdrive%\Install\Nero\nero63117.exe /silent /noreboot" /fREG ADD %KEY%\005 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Java\j2re-1_4_2_05.exe /s /v/qn" /fREG ADD %KEY%\006 /VE /D "WinRAR 3.30" /fREG ADD %KEY%\006 /V 1 /D "%systemdrive%\Install\WinRAR\winrar330.exe /s" /fREG ADD %KEY%\007 /VE /D "Microsoft Office 2003" /fREG ADD %KEY%\007 /V 1 /D %systemdrive%\Install\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-REG ADD %KEY%\008 /VE /D ".NET Framework 1.1" /fREG ADD %KEY%\008 /V 1 /D "%systemdrive%\Install\Dotnet\dotnetfw.exe" /fREG ADD %KEY%\019 /VE /D "Importing Registry Tweaks" /fREG ADD %KEY%\019 /V 1 /D "REGEDIT /S %systemdrive%\Install\Regtweaks\regtweaks.reg" /fREG ADD %KEY%\020 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\Cleanup\cleanup.cmd" /fEXITAny help will be greatly appreciated.Thanks!Zoom7000 Link to comment Share on other sites More sharing options...
icarus Posted August 31, 2004 Share Posted August 31, 2004 ZoomI think your missing thisAutologon=yesAutologoncount=1in [GuiUnattended] Link to comment Share on other sites More sharing options...
Zoom7000 Posted August 31, 2004 Author Share Posted August 31, 2004 Thanks for your help icarus. I didn't know that was important as I never saw it in the MSFN Examples. Thanks anyway, now any ideas on the other problems?Zoom7000 Link to comment Share on other sites More sharing options...
ToBe Posted August 31, 2004 Share Posted August 31, 2004 (edited) REG ADD %KEY%\007 /VE /D "Microsoft Office 2003" /fREG ADD %KEY%\007 /V 1 /D %systemdrive%\Install\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-You are missing the quotations:REG ADD %KEY%\007 /VE /D "Microsoft Office 2003" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-" /fThe other things I can't help you with, sorry.*EDIT*REG ADD %KEY%\005 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Java\j2re-1_4_2_05.exe /s /v/qn" /fIt seems you are missing a space between the last switches in Sun java:REG ADD %KEY%\005 /VE /D "Sun Java 1.4.2" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Java\j2re-1_4_2_05.exe /s /v /qn" /f*EDIT* Edited August 31, 2004 by ToBe Link to comment Share on other sites More sharing options...
Zoom7000 Posted August 31, 2004 Author Share Posted August 31, 2004 Thanks for your help, however, I've noticed this on the MSFN guide to installing Sun Java VM...Note: I've noticed on their page that they're using a space between /v and "/qn - This won't work with a spacing.This would contradict what you're saying right?Zoom7000 Link to comment Share on other sites More sharing options...
Lucius Snow Posted August 31, 2004 Share Posted August 31, 2004 For Sun Java, i use :REG ADD %KEY%\002 /VE /D "Sun Java runtime environment 1.4" /fREG ADD %KEY%\002 /V 1 /D "%systemdrive%\Apps\sun\j2re.exe /s /v\"/qn ADDLOCAL=jrecore IEXPLORER=1"" /fNotice i renamed the executable simply to j2re.exe but it has no incidence. I don't remember what ADDLOCAL does exactly. And IEXPLORER=1 is to add the plugin for Internet Explorer. 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