chrisbraines Posted July 3, 2010 Posted July 3, 2010 I am relatively new two these Forums so please forgive me for any errors or admissions.Just recently I have successfullymade 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.htmlThe Silent Install starts with a small menu appearing and I select the version of Windows to be Installed being eitherbeing 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 isa good example if this it comes in both 32Bit or 64Bit versions.I have Goggled for a solution to this as well as searchedthese Forums.If anyone has any ideas on how this problem could be overcome I would be most gratefully for any commentsor suggestions.Of course I am aware that 32Bit Applications will work under a 64Bit Platform but it would be nice to have a 32Bit AppInstalled to a 32Bit OS or a 64Bit App installed to a 64Bit OSHere 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 offTITLE Windows 7 All In One Edition - RunOnceEx Method of Silent InstallationECHO.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\RunOnceExSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\010 /VE /D "Installing Acronis TrueImage 11" /fREG 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" /fREG ADD %KEY%\015 /V 1 /D "%systemdrive%\Install\AdobeFlashPlayer10_ActiveX\install_flash_player_10_active_x.msi /qn" /fREG ADD %KEY%\020 /VE /D "Installing Adobe Flash Player 10" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\Install\AdobeFlashPlayer10\install_flash_player_ax.exe /s" /fREG ADD %KEY%\025 /VE /D "Installing Adobe Reader 9.3" /fREG ADD %KEY%\025 /V 1 /D "%systemdrive%\Install\AdobeReader9.3\AdbeRdr930_en_US.exe /sAll /rs" /fREG ADD %KEY%\030 /VE /D "Installing Adobe Shockwave Player 11.5" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\Install\AdobeShockwavePlayer11.5\sw_lic_full_installer.msi /qn /norestart" /fREG ADD %KEY%\035 /VE /D "Installing Google Earth 5.1" /fREG ADD %KEY%\035 /V 1 /D "%systemdrive%\Install\GoogleEarth5.1\GoogleEarth5.1.exe" /fREG ADD %KEY%\040 /VE /D "Installing Klcodec 5.9" /fREG ADD %KEY%\040 /V 1 /D "%systemdrive%\Install\Klcodec5.9\K-Lite_Codec_Pack_590_Standard.exe /verysilent" /fREG ADD %KEY%\045 /VE /D "Installing Nero 7.10 Premium" /fREG ADD %KEY%\045 /V 1 /D "%systemdrive%\Install\Nero7.10\Nero7.10.exe" /fREG ADD %KEY%\050 /VE /D "Installing OO Defrag Pro 11.5" /fREG ADD %KEY%\050 /V 1 /D "%systemdrive%\Install\OODefragPro11.5\O&ODefragPro11.5.exe" /fREG ADD %KEY%\055 /VE /D "Installing Picasa 3.6" /fREG ADD %KEY%\055 /V 1 /D "%systemdrive%\Install\Picasa3.6\picasa36-setup.exe /S /L" /fREG ADD %KEY%\060 /VE /D "Installing PowerDVD 8.0" /fREG ADD %KEY%\060 /V 1 /D "%systemdrive%\Install\Powerdvd8.0\PowerDVD8.0.exe" /fREG ADD %KEY%\065 /VE /D "Installing Registry Tweaks" /fREG ADD %KEY%\065 /V 1 /D "REGEDIT /S %systemroot%\Setup\Scripts\tweaks.reg" /fREG ADD %KEY%\070 /VE /D "Installing TuneUp Utilities 2010" /fREG ADD %KEY%\070 /V 1 /D "%systemdrive%\Install\TuneUpUtilities2010\TuneUp2010.exe" /fREG ADD %KEY%\075 /VE /D "Installing WhiteCap 5.3" /fREG 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" /fREG ADD %KEY%\085 /VE /D "Installing WinRar 3.91" /fREG ADD %KEY%\085 /V 1 /D "%systemdrive%\Install\WinRar\WinRar3.9.exe" /f REG ADD %KEY%\090 /VE /D "Performing a System CleanUp" /fREG ADD %KEY%\095 /VE /D "Rebooting The Computer" /f EXITMany Thanks for any comments or suggestions Chris UK
untermensch Posted July 3, 2010 Posted July 3, 2010 (edited) I use this batch script for 7Zip@echo offIF %PROCESSOR_ARCHITECTURE%==AMD64 (msiexec /i "%~dp07z465-x64.msi" /qn) ELSE (msiexec /i "%~dp07z465.msi" /qn) Edited July 3, 2010 by untermensch
chrisbraines Posted July 4, 2010 Author Posted July 4, 2010 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 applicationInstalls.It occurs to me that all I need to do is pack both the 32Bit Setup File and its 64Bit counterpart into oneSFX file and use a Batch file to install the appropriate version.This approach could be applied to any application thathas 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now