Difference between revisions of "MS Access Runtime 2010"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Created page with "This install is for the 32 bit MS Access Runtime 2010, which allows users who don't have Access or Office Pro installed to work with Access databases. == Download and extract th...")
 
Line 66: Line 66:
 
== Credits ==
 
== Credits ==
 
* Thanks to whoever put together the MS Office 2010 page [[MS_Office_2010]]
 
* Thanks to whoever put together the MS Office 2010 page [[MS_Office_2010]]
* Thanks to Grubsi for his forum entry: http://groups.google.com/group/microsoft.public.access.conversion/browse_thread/thread/e81b01a3edadfac7/ecd0aadf2803d548?lnk=raot&pli=1
+
* Thanks to Grubsi for his forum entry: [http://groups.google.com/group/microsoft.public.access.conversion/browse_thread/thread/e81b01a3edadfac7/ecd0aadf2803d548?lnk=raot&pli=1]

Revision as of 11:57, 3 August 2011

This install is for the 32 bit MS Access Runtime 2010, which allows users who don't have Access or Office Pro installed to work with Access databases.

Download and extract the installation files

  • You can get it here: http://www.microsoft.com/download/en/details.aspx?id=10910
  • Copy the installer somewhere convenient (eg c:\temp\AccessRuntime.exe)
  • Create a folder for the install files (eg c:\temp\AccessRuntime2010
  • Extract the setup files to your folder using the /extract:[destination] command line switch
c:\Temp\accessruntime.exe /extract:c:\temp\accessruntime2010
  • Copy the contents of c:\temp\AccessRuntime to a folder on your WPKG distribution share (eg AccRT)

Config files

We need two XML configuration files - one each to tell the installer to run silently for setup and uninstall.

Silent install configuration

  • Create a new XML file called config.xml in the same directory as the setup.exe file - eg \\wpkg_server\wpkg_share\AccRT\config.xml
  • Paste into new file and save:
<Configuration Product="AccessRT"> 
    <Display Level="None" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" /> 
<Logging Type="standard" Path="C:\Temp\" Template="Microsoft_Access_2010_Runtime_Setup(*).log" /> 
<!-- <COMPANYNAME Value="[INSERT YOUR COMPANY NAME HERE]" /> -->
<Setting Id="SETUP_REBOOT" Value="Suppress" /> 
</Configuration>
  • Un-comment the company name line and enter your company name if you want that set too

Silent uninstall configuration

  • Create a new XML file called silentuninstall.xml in the same directory as the setup.exe file - eg \\wpkg_server\wpkg_share\AccRT\silentuninstall.xml
  • Paste into new file and save:
<Configuration Product="ACCESSRT">
<Display Level="none" CompletionNotice="no" SuppressModal="yes" AcceptEula="yes" />
<Setting Id="SETUP_REBOOT" Value="NEVER" />
</Configuration>

WPKG package

Here's the XML for the package. We don't want to install the runtime if Office Pro is installed, so I've added a check for Office Pro. If you're using Office Pro it's maybe worth adding the uninstall command to the Office Pro package as an install command before installing Office (ie copy the <remove... /remove> bit from below, paste into your Office Pro package before your first <install... and change the removes to installs. I've not had to do an upgrade yet, so I've left that out... Error return codes for the

<package 
    id="AccRT" 
    name="Microsoft Access Runtime 2010" 
    revision="2010" 
    reboot="false" 
    priority="42"> 
 
    <check type="logical" condition="or">
        <check type="uninstall" condition="exists" path="Microsoft Access Runtime 2010" /> 
        <!-- Don't install if MS Office Pro is installed --> 
        <check type="uninstall" condition="exists" path="Microsoft Office Professional Plus 2010" /> 
    </check> 
 
    <install cmd='%comspec% /C start "" /WAIT "%SOFTWARE%\AccRT\setup.exe" /config "%SOFTWARE%\AccRT\config.xml"' >
        <exit code="0" />
        <exit code="1641" /><!-- Indicates 'product is uninstalled' --> 
        <exit code="3010" /><!-- Success but reboot required -->
    </install>
 
    <remove cmd='%comspec% /C start "" /WAIT "%SOFTWARE%\AccRT\setup.exe" /uninstall ACCESSRT /config "%SOFTWARE%\AccRT\silentuninstall.xml"' >
        <exit code="0" />
        <exit code="1605" /><!-- Product already uninstalled / doesn't exist -->
        <exit code="1614" /><!-- Indicates 'product is uninstalled' --> 
        <exit code="1641" /><!-- Success but reboot initiated -->
        <exit code="3010" /><!-- Success but reboot required -->
    </remove> 
 
</package>

Credits

  • Thanks to whoever put together the MS Office 2010 page MS_Office_2010
  • Thanks to Grubsi for his forum entry: [1]