SKG Posted June 11, 2010 Share Posted June 11, 2010 I've been looking into "Unattended Windows Setup Reference for Windows 7", but haven't figured it out how to install my custom applications during Windows installation. I want to copy Office 2010 installation (OFFICE14 folder) onto Windows 7 installation DVD and if someone installs Windows from this DVD then Office 2010 would be installed also in background. I know I have to use silent install switch, but how to exactly implement it in the unattended XML file?Help? Link to comment Share on other sites More sharing options...
Tripredacus Posted June 11, 2010 Share Posted June 11, 2010 I believe what you are looking for is FirstLogonCommands. You can see an example of it here: Link to comment Share on other sites More sharing options...
SKG Posted June 14, 2010 Author Share Posted June 14, 2010 OK, but how do I define the installation path? My Office install files are on the same DVD as the Windows install files. I cannot always use drive "D:\" because when I use the media on a computer with 2 HDD-s it won't work. So how to define an optical drive so it will work in any case? Link to comment Share on other sites More sharing options...
myselfidem Posted June 14, 2010 Share Posted June 14, 2010 OK, but how do I define the installation path? My Office install files are on the same DVD as the Windows install files. I cannot always use drive "D:\" because when I use the media on a computer with 2 HDD-s it won't work. So how to define an optical drive so it will work in any case?I think it depends what version Office 2010 you have! Professional Edition or Student Edition, Standard Edition!If you have Professionnal Edition it's OK, but for Standard Edition it's possible in an other way with RunOnceex method. Link to comment Share on other sites More sharing options...
bherila Posted June 14, 2010 Share Posted June 14, 2010 (edited) I've been looking into "Unattended Windows Setup Reference for Windows 7", but haven't figured it out how to install my custom applications during Windows installation. I want to copy Office 2010 installation (OFFICE14 folder) onto Windows 7 installation DVD and if someone installs Windows from this DVD then Office 2010 would be installed also in background. I know I have to use silent install switch, but how to exactly implement it in the unattended XML file?Help?You'll want to look into using Windows Image Deployment. You can create a WIM file by installing Windows (don't activate it) and all products you want to include (for best results, install them on the main system drive). Set everything up just how you want it and then recapture your Windows installation to a new WIM file. For more detailed instructions see this page: http://technet.microsoft.com/en-us/magazine/2007.10.desktopfiles.aspx Edited June 14, 2010 by bherila Link to comment Share on other sites More sharing options...
SKG Posted June 14, 2010 Author Share Posted June 14, 2010 (edited) Well, I don't want to use WIM imaging. I just want to copy Office 2010 folder onto unmodified Windows 7 installation disc and add also autounattend.xml to the DVD root. The question is, how should I define the Office 2010 installation command in autounattend.xml so it would work in any scenario? Edited June 14, 2010 by SKG Link to comment Share on other sites More sharing options...
Tripredacus Posted June 14, 2010 Share Posted June 14, 2010 Well if you are using Windows 7, you are already using WIM imaging! What you can do, is put Office in the DS, like using \$OEM$\$1 or \$OEM$\$$, then you can call your program to run from the C: without having to worry what drive letter the CD-Rom is.http://technet.microsoft.com/en-us/library/cc766228%28WS.10%29.aspx Link to comment Share on other sites More sharing options...
SKG Posted June 15, 2010 Author Share Posted June 15, 2010 OK, I guess I'll just copy the Office install files to drive C and place shortcut onto desktop. But is there any way how to make a shortcut onto Windows desktop with autounattend.xml file? Link to comment Share on other sites More sharing options...
myselfidem Posted June 15, 2010 Share Posted June 15, 2010 Hello You can use a batch file to install Office.Set inside SetupComplete.cmdMy example for Office Standard 2007:REG ADD %KEY%\005 /VE /D "Office Standard 2007" /fREG ADD %KEY%\005 /V 1 /D "%systemdrive%\Install\Office\SETUP.EXE /config %systemdrive%\Install\Office\STANDARDR.WW\CONFIG.XML" /f Silent install. Set your values inside "CONFIG.XML" for an unattended install. Link to comment Share on other sites More sharing options...
SKG Posted June 15, 2010 Author Share Posted June 15, 2010 (edited) I managed to achieve my goal. I decided that I'll let user to manually install Office via desktop shortcut. I created this directory structure into SOURCES folder:$OEM$\$1\Users\Public\Desktop\Install Office 2010.lnk (shortcut to C:\Office 2010\setup.exe)$OEM$\$1\Office 2010 (Office 2010 installation files)Burned ISO to a new DVD and it works! But thanks anyway for everyone! Edited June 15, 2010 by SKG Link to comment Share on other sites More sharing options...
myselfidem Posted June 15, 2010 Share Posted June 15, 2010 Thanks. Fine! Link to comment Share on other sites More sharing options...
zeezam Posted September 7, 2010 Share Posted September 7, 2010 How can I manage my images in WDS to copy files from my $oem$ folders?I created a distribution share via WSIM but where in the unattended file do I set the path? Link to comment Share on other sites More sharing options...
evlo Posted October 2, 2010 Share Posted October 2, 2010 (edited) Or you can use old trick (this is from old xp unattended guide here)put installmedia.txt on your installation medium FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\installmedia.txt SET intallmedia=%%i:then you get root of media in %intallmedia% in batch script run anytime after installationSo this way you can avoid unnecessary coping intallation files to system drive Edited October 2, 2010 by evlo 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