Config.xml for silent Office 2007 install

Hi all,
I have the script attached intended to upgrade Office 2003 installation to Office 2007. I have excluded Outlook 2007 since it is already currently installed alongside with the other Office 2003 products.
When I run the command (C:\Office07\setup.exe /config C:\Office07\ProPlus.WW\config.xml) to test it on my machine, it still comes up asking for the License Key (obviously i put in the correct one) etc. Can you check what I've done wrong?


<Configuration Product="ProPlus">

	<!-- <Display Level="none" CompletionNotice="yes" SuppressModal="no" AcceptEula="yes" 

/> -->
	
	<!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional 

Plus Setup(*).txt" /> -->
	
	<!-- <PIDKEY Value="1231212312313213" /> -->

	<!-- <USERNAME Value="jkgbjjk" /> -->
	
	<!-- <COMPANYNAME Value="jkbjknjk" /> -->
	
	<!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> -->
	
	<!-- <LIS CACHEACTION="CacheOnly" /> -->
	
	<!-- <SOURCELIST Value="C:\Office07;C:\Office07" /> -->
	
	<!-- <DistributionPoint Location="C:\Office07" /> -->
	
	<!-- <OptionState Id="OutlookFiles" State="absent" Children="force" /> -->
	
	<!-- <Setting Id="Reboot" Value="IfNeeded" /> -->
	
	<!-- <Setting Id="SETUP_REBOOT" Value="NEVER" /> -->
	
	<!-- <Command Path="msiexec.exe" Args="/i C:\Office07\ProPlus.WW\ProPlusWW.msi" 

QuietArg="/q" ChainPosition="after" Execute="install" /> -->

</Configuration>

Open in new window

lindegasAsked:
Who is Participating?
 
merowingerConnect With a Mentor Commented:
you can also create a MSP file which allows also a silent install.
To create it start the office setup.exe as follows:

setup.exe /admin
--> Then do your settings and save it as *.msp file in the updates folder of the office sources.
-->Done
0
 
ConchCrawlCommented:
Are you using a volume license key for this?
0
 
lindegasAuthor Commented:
Yep. Even after I put in the license key manually it still asks whether to upgrade or customize the installation...
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Rory de LeurConnect With a Mentor Consultant End-User ComputingCommented:
Your config.xml only has comment entries.. remove all the "<--" and "-->", and try again..  
http://technet.microsoft.com/en-us/library/cc179195.aspx

<Configuration Product="ProPlus">
	<Display Level="none" CompletionNotice="yes" SuppressModal="no" AcceptEula="yes" /> -->
	<Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" />
	<PIDKEY Value="1231212312313213" />
	<USERNAME Value="jkgbjjk" />
	<COMPANYNAME Value="jkbjknjk" />	
	<INSTALLLOCATION Value="%programfiles%\Microsoft Office" />	
	<LIS CACHEACTION="CacheOnly" />	
	<SOURCELIST Value="C:\Office07;C:\Office07" />	
	<DistributionPoint Location="C:\Office07" />	
	<OptionState Id="OutlookFiles" State="absent" Children="force" />	
	<Setting Id="Reboot" Value="IfNeeded" />	
	<Setting Id="SETUP_REBOOT" Value="NEVER" />	
	<Command Path="msiexec.exe" Args="/i C:\Office07\ProPlus.WW\ProPlusWW.msi" QuietArg="/q" ChainPosition="after" Execute="install" />
</Configuration>

Open in new window

0
 
ConchCrawlCommented:
@criple, that is interesting why he is using an xml file that is all commented out, hope that fixes his problem
0
 
lindegasAuthor Commented:
ye na this is resolved. the --> shouldnt affect the script since comment parameters would only be applied at the beginning of a line.
I've fixed this, silent installation does not particularly use xml file, it can easily be done with a .msp file in which needs to point to a default xml file without any configuration needed.
0
All Courses

From novice to tech pro — start learning today.