behdadsoft Posted February 8, 2014 Posted February 8, 2014 Hi.I want install office 2013 in silent mode. I used setup.exe /adminfile and create a .msp file. even I use config.xml for install in silent mode. but when I try install it with WPI, after install, instead of success message, give me warning message.here is my config.xml:<Configuration Product="ProPlus"> <!-- <Display Level="none" CompletionNotice="no" SuppressModal="no" AcceptEula="no" /> --> <!-- <USERNAME Value="username" /> --> <!-- <COMPANYNAME Value="mycompany" /> --> <!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> --> </Configuration>where is the problem?Thanks.
submix8c Posted February 8, 2014 Posted February 8, 2014 1 - You don't even say what the "error message" is, so gee I dunno. How about TELLING us?2 - Look here for some maybe hints (seems to be the same method)http://www.msfn.org/board/topic/170927-office-2010-silent-installation-gets-mshtaexe-hung/
DosProbie Posted February 9, 2014 Posted February 9, 2014 Hi.I want install office 2013 in silent mode. I used setup.exe /adminfile and create a .msp file. even I use config.xml for install in silent mode. but when I try install it with WPI, after install, instead of success message, give me warning message.here is my config.xml:<Configuration Product="ProPlus"> <!-- <Display Level="none" CompletionNotice="no" SuppressModal="no" AcceptEula="no" /> --> <!-- <USERNAME Value="username" /> --> <!-- <COMPANYNAME Value="mycompany" /> --> <!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> --> </Configuration>where is the problem?Thanks.If you want it Silent then you need to REMOVE the remarks from the Display Level at first line to make it silent , here is my xml that I did a year ago that works in silent mode then activates with a batch calling up the kms..DP <Configuration Product="ProPlus"><!-- OFFICE 2010 SP-1 - SILENT - 02.13.13 --> <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /> <!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Professional Plus Setup(*).txt" /> --> <!-- <PIDKEY Value="BCDFGHJKMPQRTVWXY2346789B" /> --> <!-- <USERNAME Value="Customer" /> --> <!-- <COMPANYNAME Value="MyCompany" /> --> <!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> --> <!-- <LIS CACHEACTION="CacheOnly" /> --> <!-- <LIS SOURCELIST="\\server1\share\Office;\\server2\share\Office" /> --> <!-- <DistributionPoint Location="\\server\share\Office" /> --> <!-- <OptionState Id="OptionID" State="absent" Children="force" /> --> <!-- <http://support.microsoft.com/kb/953366/> --> <Setting Id="SETUP_REBOOT" Value="Never" /> <!-- <Command Path="%windir%\system32\msiexec.exe" Args="/i \\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> --></Configuration>
bphlpt Posted February 9, 2014 Posted February 9, 2014 @DosProbie, Am I correct that all lines that have the Remark marks, ie <!-- whatever -->, will not be executed, as if they are not there at all? So the only reason you leave them there is for convenience? If you need to make any changes, you don't need to remember the format of the various command lines, just remove the Remark marks and fill in the "blanks". In your case, your effective config.xml could be rewritten as:<Configuration Product="ProPlus"> <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /> <Setting Id="SETUP_REBOOT" Value="Never" /> </Configuration>since those are the only lines that will actually be used. If I have that right, then the OP's problem is that his config.xml was really "empty" and might as well have not even been there. Do I understand how that works, or am I missing something?Cheers and Regards
behdadsoft Posted February 10, 2014 Author Posted February 10, 2014 All Config.xml working but never close Office after install.
behdadsoft Posted February 10, 2014 Author Posted February 10, 2014 (edited) This issue was fixed in 8,7,2 ok, thanks. but I add all programs to wpi. I use WPI 8.7, how can update it to 8.7.2?most only replace WPIScripts with older? Edited February 10, 2014 by behdadsoft
Kelsenellenelvian Posted February 10, 2014 Posted February 10, 2014 This issue was fixed in 8,7,2 ok, thanks. but I add all programs to wpi. I use WPI 8.7, how can update it to 8.7.2?most only replace WPIScripts with older?Maybe try following the readme.txt file in the newest wpi download...
behdadsoft Posted February 10, 2014 Author Posted February 10, 2014 Maybe try following the readme.txt file in the newest wpi download... ok. thanks
behdadsoft Posted February 10, 2014 Author Posted February 10, 2014 (edited) I couldn't solve this problem with WPI 8.7.2. I tried all way but or show warning or never close office setup after end of installation. can any one help me? Edited February 10, 2014 by behdadsoft
DosProbie Posted February 11, 2014 Posted February 11, 2014 @DosProbie, Am I correct that all lines that have the Remark marks, ie <!-- whatever -->, will not be executed, as if they are not there at all? So the only reason you leave them there is for convenience? If you need to make any changes, you don't need to remember the format of the various command lines, just remove the Remark marks and fill in the "blanks". In your case, your effective config.xml could be rewritten as:<Configuration Product="ProPlus"> <Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /> <Setting Id="SETUP_REBOOT" Value="Never" /> </Configuration>since those are the only lines that will actually be used. If I have that right, then the OP's problem is that his config.xml was really "empty" and might as well have not even been there. Do I understand how that works, or am I missing something?Cheers and RegardsShould have explained it better but you are correct the remark or comments can be used with opening and closing tags "<!--code -->" to remove the specified line code or add comments to it, and since the OP has code tags on EVERYLINE of the office config.xml then office does not even see or use it during the installation, also even on the first line if the OP had left off the code tags it would not have been a SILENT install because SupressModal and Acept Eula are both set to No and not Yes!DP..
simonhind Posted February 19, 2014 Posted February 19, 2014 if you want Office 2013 to run silent you need to do the followingsetup.exe /config locationofconfig/config.xmli run office 2013 in command prompt from sources/$oem%/apps/Office2013and run it via install.cmdhere is my example@echo offmode con cols=67 lines=25title Windows 7cls@echo Windows is now installing additional files...@echo.@echo.for %%i in (C 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:\sources\install.wim set CDROM=%%i:@echo Installing Microsoft Office 2013 ...Start /wait %cdrom%\sources\$oem$\apps\Office2013\setup\setup.exe /config %cdrom%\sources\$oem$\apps\Office2013\setup\config.xmlremember you need to have $$/setup/scripts/setupcomplete.cmd with@echo offfor %%i in (C 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:\sources\install.wim set CDROM=%%i:Start /wait %cdrom%\sources\$oem$\install.cmdi have tested this with all of office 2013 updates included and it works 100%place the config.xml in the /setup/ folder and /ProPlus.WW/ folderyou must run the command as shown above
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