Another day in the Application Installaton Mode…
Today I had to package two applications for distribution with SCCM 2012: Microsoft Office Access Runtime 2010 and Access Runtime 2013.
The neatest way to silently install Access Runtime is to use a config.xml file. You are then able to use a simple install command: setup.exe /config config.xml
However, I faced the following error in my MSI log file:
Running in [InstallExecutionMode]. Run from TEMP folder at [C:\Users\testuser\AppData\Local\Temp\Setup00001c94].
Loaded resource file [C:\Users\testuser\AppData\Local\Temp\Setup00001c94\OSETUPUI.DLL] (CultureTag=en-US)
Error: Failed to load resource : 1500 ErrorCode: 1814(0x716).
Catalyst execution finished: 12/09/2016 15:18:23. Return code: 30015. Exception caught: ErrorCodeOnly.
Not long after reading that error, I realised I made a mistake: I had extracted the .EXE installation file with 7zip. Although 7zip did not generate an error, it diddestruct the folder layout. To extract the Access Runtime 2013 setup file, use “AccessRuntime_x86_en-us.exe /extract:C:\Temp\Access2013\”
Follow these steps to create a silent install of Access Runtime 2010, Access Runtime 2013, or Access Runtime 2016:
- Download the Setup you need: Access Runtime 2010, Access Runtime 2013, or Access Runtime 2016
- In a command prompt, extract the executable to a folder with the /extract switch. For example: AccessRuntime_x86_en-us.exe /extract:C:\Temp\Access2016\
- Create a config file (text file) in the extraction folder, named config.xml .
- Open config.xml with notepad and copy-paste the following:
<Configuration Product="AccessRT"> <Display Level="None" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /> <Logging Type="standard" Path="C:\Windows\Temp\" Template="Microsoft_Access_2016_Runtime_Setup(*).log" /> <COMPANYNAME Value="I love my employer" /> <Setting Id="SETUP_REBOOT" Value="Never" /> </Configuration>
Save the file.
- Use the following command line to silently install Access Runtime:
setup.exe /config config.xml
I Always prefer to give the end-user some kind of feedback on software installations. I therefor edited the config.xml in the display level area:
<Display Level=”Basic” CompletionNotice=”no” SuppressModal=”yes” AcceptEula=”yes” />
This way the user can see the installation running, but will not need to click Finish at the end of installation.
Cheers! Have a nice weekend!