Jump to content

Windows 7 All In One


Recommended Posts

I am relatively new two these Forums so please forgive me for any errors or admissions.Just recently I have successfully

made my first Windows 7 All In One Silent Install the only version not being Installed is Ultimate.

I have been following this guide and have made some small modifications to suite my own needs.

http://chall32.blogspot.com/2009/11/windows-7-all-in-one-32-and-64-bit-dvd.html

The Silent Install starts with a small menu appearing and I select the version of Windows to be Installed being either

being 32Bit or 64Bit.After the version has been selected the Installation proceeds as normal and then just before

First Log On Setupcomplete.cmd is run to install various Software applications.

My problem is there seems to be no way of installing either 32Bit version of a program or its 64Bit counterpart.WinRar is

a good example if this it comes in both 32Bit or 64Bit versions.I have Goggled for a solution to this as well as searched

these Forums.If anyone has any ideas on how this problem could be overcome I would be most gratefully for any comments

or suggestions.

Of course I am aware that 32Bit Applications will work under a 64Bit Platform but it would be nice to have a 32Bit App

Installed to a 32Bit OS or a 64Bit App installed to a 64Bit OS

Here is my AutoUnattend.xml which may of use to someone

<?xml version="1.0" encoding="utf-8"?>

<unattend xmlns="urn:schemas-microsoft-com:unattend">

<settings pass="windowsPE">

<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SetupUILanguage>

<UILanguage>en-US</UILanguage>

</SetupUILanguage>

<InputLocale>0809:00000809</InputLocale>

<UserLocale>en-GB</UserLocale>

<UILanguage>en-US</UILanguage>

<SystemLocale>en-GB</SystemLocale>

</component>

<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<DiskConfiguration>

<Disk wcm:action="add">

<CreatePartitions>

<CreatePartition wcm:action="add">

<Extend>true</Extend>

<Order>1</Order>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Format>NTFS</Format>

<Label></Label>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

<WillShowUI>OnError</WillShowUI>

</DiskConfiguration>

<ImageInstall>

<OSImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

<UserData>

<Organization>Home User</Organization>

<FullName>Owner</FullName>

<AcceptEula>true</AcceptEula>

</UserData>

<Display>

<ColorDepth>32</ColorDepth>

<HorizontalResolution>1024</HorizontalResolution>

<RefreshRate>60</RefreshRate>

<VerticalResolution>768</VerticalResolution>

</Display>

</component>

<component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<DiskConfiguration>

<Disk wcm:action="add">

<CreatePartitions>

<CreatePartition wcm:action="add">

<Extend>true</Extend>

<Order>1</Order>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Format>NTFS</Format>

<Label></Label>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

<WillShowUI>OnError</WillShowUI>

</DiskConfiguration>

<ImageInstall>

<OSImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

<UserData>

<Organization>Home User</Organization>

<FullName>Owner</FullName>

<AcceptEula>true</AcceptEula>

</UserData>

<Display>

<ColorDepth>32</ColorDepth>

<HorizontalResolution>1024</HorizontalResolution>

<RefreshRate>60</RefreshRate>

<VerticalResolution>768</VerticalResolution>

</Display>

</component>

</settings>

<settings pass="oobeSystem">

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="X86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Display>

<ColorDepth>32</ColorDepth>

<HorizontalResolution>1024</HorizontalResolution>

<RefreshRate>60</RefreshRate>

<VerticalResolution>768</VerticalResolution>

</Display>

<Themes>

<ThemeName>Architecture</ThemeName>

<DefaultThemesOff>false</DefaultThemesOff>

<DesktopBackground>%WINDIR%\web\wallpaper\Landscapes\Canada.bmp</DesktopBackground>

<ScreenSaver>Bubbles.scr</ScreenSaver>

</Themes>

<FirstLogonCommands>

<SynchronousCommand wcm:action="add">

<CommandLine>RunHiddenConsole.exe /W %systemdrive%\Install\Tools\CleanUp.cmd</CommandLine>

<Description>Performing a CleanUp</Description>

<Order>1</Order>

</SynchronousCommand>

<SynchronousCommand wcm:action="add">

<CommandLine>RunHiddenConsole.exe /W %systemdrive%\Install\Tools\Reboot.cmd</CommandLine>

<Description>Rebooting The Computer</Description>

<Order>2</Order>

</SynchronousCommand>

</FirstLogonCommands>

<OOBE>

<HideEULAPage>true</HideEULAPage>

<NetworkLocation>Home</NetworkLocation>

<SkipMachineOOBE>true</SkipMachineOOBE>

<SkipUserOOBE>false</SkipUserOOBE>

<ProtectYourPC>2</ProtectYourPC>

</OOBE>

<UserAccounts>

<AdministratorPassword>

<Value>QQBkAG0AaQBuAGkAcwB0AHIAYQB0AG8AcgBQAGEAcwBzAHcAbwByAGQA</Value>

<PlainText>false</PlainText>

</AdministratorPassword>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value>UABhAHMAcwB3AG8AcgBkAA==</Value>

<PlainText>false</PlainText>

</Password>

<Description>Home User</Description>

<DisplayName>Owner</DisplayName>

<Group>Administrators</Group>

<Name>Owner</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

<TimeZone>GMT Standard Time</TimeZone>

</component>

<component name="Microsoft-Windows-Sidebar" processorArchitecture="X86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget1>

<Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\Calendar.Gadget,true</Gadget2>

<Gadget3>%PROGRAMFILES%\windows sidebar\shared gadgets\All_CPU_Meter_V2.6.gadget,true</Gadget3>

</component>

</settings>

<settings pass="specialize">

<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="X86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<FilterLevel>High</FilterLevel>

<PlaySound>false</PlaySound>

<ShowInformationBar>false</ShowInformationBar>

<DisableAccelerators>false</DisableAccelerators>

<DisableDevTools>true</DisableDevTools>

<DisableFirstRunWizard>true</DisableFirstRunWizard>

<EnableLinksBar>false</EnableLinksBar>

<DisableOOBAccelerators>true</DisableOOBAccelerators>

<Home_Page>www.google.co.uk</Home_Page>

<ShowMenuBar>true</ShowMenuBar>

<BlockPopups>yes</BlockPopups>

</component>

<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SkipAutoActivation>true</SkipAutoActivation>

</component>

<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="X86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<SkipAutoActivation>true</SkipAutoActivation>

</component>

<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<ComputerName>Home-PC</ComputerName>

<RegisteredOrganization>Home User</RegisteredOrganization>

<RegisteredOwner>Owner</RegisteredOwner>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:c:/win7/sources/install.wim#Windows 7 PROFESSIONAL " xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

And also here is my setupcomplete.cmd

*************************************

@echo off

TITLE Windows 7 All In One Edition - RunOnceEx Method of Silent Installation

ECHO.

ECHO Over the next few minutes you will see automated installations .

ECHO Of various sofware applications for windows 7 All In One Edition togeather with some registry tweaks.

ECHO a small System Cleanup will be performed and and the computer will restart automatically once the process has finished!

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\010 /VE /D "Installing Acronis TrueImage 11" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\Install\AcronisTrueImage11\AcronisTrueImage.msi PIDKEY=xxxxx-xxxxx-xxxxx-xxxxx-xxxx /Qn /norestart" /f

REG ADD %KEY%\015 /VE /D "Installing Adobe Flash Player 10 ActiveX" /f

REG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\AdobeFlashPlayer10_ActiveX\install_flash_player_10_active_x.msi /qn" /f

REG ADD %KEY%\020 /VE /D "Installing Adobe Flash Player 10" /f

REG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\AdobeFlashPlayer10\install_flash_player_ax.exe /s" /f

REG ADD %KEY%\025 /VE /D "Installing Adobe Reader 9.3" /f

REG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\AdobeReader9.3\AdbeRdr930_en_US.exe /sAll /rs" /f

REG ADD %KEY%\030 /VE /D "Installing Adobe Shockwave Player 11.5" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\AdobeShockwavePlayer11.5\sw_lic_full_installer.msi /qn /norestart" /f

REG ADD %KEY%\035 /VE /D "Installing Google Earth 5.1" /f

REG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\GoogleEarth5.1\GoogleEarth5.1.exe" /f

REG ADD %KEY%\040 /VE /D "Installing Klcodec 5.9" /f

REG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Klcodec5.9\K-Lite_Codec_Pack_590_Standard.exe /verysilent" /f

REG ADD %KEY%\045 /VE /D "Installing Nero 7.10 Premium" /f

REG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\Nero7.10\Nero7.10.exe" /f

REG ADD %KEY%\050 /VE /D "Installing OO Defrag Pro 11.5" /f

REG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\OODefragPro11.5\O&ODefragPro11.5.exe" /f

REG ADD %KEY%\055 /VE /D "Installing Picasa 3.6" /f

REG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\Picasa3.6\picasa36-setup.exe /S /L" /f

REG ADD %KEY%\060 /VE /D "Installing PowerDVD 8.0" /f

REG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Powerdvd8.0\PowerDVD8.0.exe" /f

REG ADD %KEY%\065 /VE /D "Installing Registry Tweaks" /f

REG ADD %KEY%\065 /V 1 /D "REGEDIT /S %systemroot%\Setup\Scripts\tweaks.reg" /f

REG ADD %KEY%\070 /VE /D "Installing TuneUp Utilities 2010" /f

REG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\TuneUpUtilities2010\TuneUp2010.exe" /f

REG ADD %KEY%\075 /VE /D "Installing WhiteCap 5.3" /f

REG ADD %KEY%\075 /V 1 /D "%systemdrive%\Install\WhiteCap5.3\WhiteCap_530.exe /S" /f

REG ADD %KEY%\080 /VE /D "Installing Windows Live Mail" /f

REG ADD %KEY%\080 /V 1 /D "%systemdrive%\Install\WindowsLiveMail\WindowsMail.exe" /f

REG ADD %KEY%\085 /VE /D "Installing WinRar 3.91" /f

REG ADD %KEY%\085 /V 1 /D "%systemdrive%\Install\WinRar\WinRar3.9.exe" /f

REG ADD %KEY%\090 /VE /D "Performing a System CleanUp" /f

REG ADD %KEY%\095 /VE /D "Rebooting The Computer" /f

EXIT

Many Thanks for any comments or suggestions Chris UK

Link to comment
Share on other sites


I use this batch script for 7Zip



@echo off

IF %PROCESSOR_ARCHITECTURE%==AMD64 (

msiexec /i "%~dp07z465-x64.msi" /qn

) ELSE (

msiexec /i "%~dp07z465.msi" /qn

)

Edited by untermensch
Link to comment
Share on other sites

Dear untermensch.

Many thanks for you quick reply.I can see the way forward know I use WinRar SFX's files to perform most of my application

Installs.It occurs to me that all I need to do is pack both the 32Bit Setup File and its 64Bit counterpart into one

SFX file and use a Batch file to install the appropriate version.This approach could be applied to any application that

has both 32Bit and 64Bit versions,O&O Defrag Pro is anther example of this.

I will post back when I have this working with more specific details for anyone else following this topic.

P.S I think this post should have been posted under Application Installs please except my apologies for this oversight.

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