Jump to content

Two UA Versions on one DVD?


Recommended Posts

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 use

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

::RunOnceEX
rundll32 setupapi,InstallHinfSection DefaultInstall 128 .\setup.inf
if %computername%==DESKTOP rundll32 setupapi,InstallHinfSection DesktopInstall 128 .\setup.inf
if %computername%==NOTEBOOK rundll32 setupapi,InstallHinfSection NotebookInstall 128 .\setup.inf

EXIT

So, 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 commands
HKLM,"%RunOnceEX%\",Flags,0x00010001,20

HKLM,"%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

Link to comment
Share on other sites


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

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...