Silent install of InfoPath 2013 standalone

We have updated our task sequence to deploy Office 2016 but InfoPath is not included in Office 2016. Microsoft provide a standalone version of Infopath for installation and the below are instructions on how to make that installation occur silently. note: I strongly advise you install Infopath 2013 first and then Office 2016 second. Doing it the other way around means InfoPath 2013 overwrites some Office 2016 settings.

 

  1. Download one of the InfoPath standalone packages from here
  1. Extract the files using one of the below command from an elevated command prompt

infopath_4753-1001_x64_en-us.exe /extract

or

infopath_4753-1001_x86_en-us.exe /extract

 

  1. In the newly extracted files, open Config.xml located within the “infopathr.ww” directory

11

  1. Modify the Config.xml file like this:

<Configuration Product=”Infopathr”>

<Display Level=”none” CompletionNotice=”no” SuppressModal=”yes” AcceptEula=”Yes” />

</Configuration>

22

  1. I now use a batch file to run the installation. The batch file should be located in the root of the newly extracted files (same level as setup.exe)

“%~dp0setup.exe” /config “%~dp0infopathr.ww\config.xml”

33

  1. The first time InfoPath is opened it may prompt for activated online. If this occurs add in the following line at the end of the batch file

 

cscript “C:\Program Files (x86)\Microsoft Office\Office15\ospp.vbs” /act

 

Update 2

I also came across an issue where old Office 2003 format documents with the .xml file format would not open, excelDoc.xml WordDoc.xml etc.  To fix this add these reg keys and this restores the functionality and also makes sure you dont have blank icons for those xml files. For anyone using the reg keys below know it took 25+ hours to identify them!

The top section allows .xml files to be determined by their content.

The second section stops Edge from trying to take over .xml file formats.

The third section stops a security prompt in Outlook when the files are opened from attachments.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared\XML\ProgIds]
“InfoPath.Document”=””
“Excel.Sheet”=””
“PowerPoint.Show”=””
“Word.Document”=””

[HKEY_CLASSES_ROOT\AppXcc58vyzkbjbs4ky0mxrmxf8278rk9b3t]
“NoOpenWith”=””
“NoStaticDefaultVerb”=””

[HKEY_CLASSES_ROOT\xmlfile]
“EditFlags”=hex:00,00,01,00

 

 

unattended install InfoPath 2013 standalone Office 2013 Office 2016

Credits to Eddie Jackson http://eddiejackson.net/wp/?p=10954

Credits to Adam Fowler  https://www.adamfowlerit.com/2017/09/disabling-outlook-opening-mail-attachment-prompt/

Credits to Ramesh Srinivasan http://www.winhelponline.com/blog/edge-hijack-pdf-htm-associations/

 

 

6 thoughts on “Silent install of InfoPath 2013 standalone

  1. Hi, thanks for the tips – this solved the issues we were having with the EULA. One question though regarding your recommendation to install InfoPath 2013 before Office 2016 – The full installer can be downloaded from Microsoft and run as an addition to Office 365 without any recommendation to install it first. Can you tell me a bit more about the settings that may get overwritten by installing InfoPath after Office 2016?

    Like

    • Hi, the issues I had was related to legacy Office files from 2003 that used the xml file extension. Installing it in the order I mentioned is the only benefit I’m aware of. Hope this helps

      Like

  2. Extracted and modified the config.cml file and when attempting to run setup the error indicates config.xml is not valid. Verify this file is formatted correctly and run setup again. Any ideas?

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s