fillalph Posted August 19, 2007 Posted August 19, 2007 Here is what I would like to do for Vista:1. Have two Autounattend.xml files and then when the disc boots choose which one to use2. Install my applications through an inf file.I did this with XP so many explaining really quick what I did would help.I followed the multiboot guide and created two boot folders (each one has a winnt.sif file) called VOL1 and VOL2. So in each winnt.sif, I could have enique computer names, desktop and notebook.Then I had a cmdlines.txt file which looked like this:cmdow @ /HID@ECHO OFF::RunOnceEXrundll32 setupapi,InstallHinfSection DefaultInstall 128 .\setup.infif %computername%==DESKTOP rundll32 setupapi,InstallHinfSection DesktopInstall 128 .\setup.infif %computername%==NOTEBOOK rundll32 setupapi,InstallHinfSection NotebookInstall 128 .\setup.infEXITSo, depending on the computer name, I could have different software installed. Here is my setup.inf file:[Version]Signature = "$Windows NT$"[DefaultInstall]AddReg = Common.RunOnceEx[DesktopInstall]AddReg = Desktop.RunOnceEx[NotebookInstall]AddReg = Notebook.RunOnceEx[Common.RunOnceEx]HKLM,"%RunOnceEx%\",Title,,"Installing Applications";Creates a c:\Windows\RunOnceEx.log file with status of commandsHKLM,"%RunOnceEX%\",Flags,0x00010001,20HKLM,"%RunOnceEx1",,,"INF Update"HKLM,"%RunOnceEx1",1,,"%01%\installs\common\infupdate\setup.exe -s"[Desktop.RunOnceEx]HKLM,"%RunOnceEx%100",,,"BOINC 5.10.13"HKLM,"%RunOnceEx%100",1,,"%01%\installs\desktop\BOINC\BOINC.msi /qb"[Notebook.RunOnceEx]HKLM,"%RunOnceEx%100",,,"AC'97 Sound System 3.53"HKLM,"%RunOnceEx%100",1,,"%01%\installs\notebook\realtek\realtek.cmd"[Strings]RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"So each computer would run the common install commands and their own specific software.I read a thread in the mutliboot forum about having X86 and X64 on one disc, but I don't think that is the solution (am I wrong)?Has anyone already tried this?Thanks
fillalph Posted August 21, 2007 Author Posted August 21, 2007 I think I am going to have to wait until a method is figured out to modify the boot files for Vista before I can have multiple computer configurations (and hence, multiple autounattended.xml files). Until then though, I can just put which one I want on a USB flash disk.I think I will try the solution found here http://technet2.microsoft.com/WindowsVista...3.mspx?mfr=true for my application installation.If someone might have a better solution though, I am all ears.fillalph
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now