We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

jarlath
Posts: 9
Joined: Wed Sep 11, 2013 3:50 pm

Access 2007 prerequisite

I have a .NET project that uses Microsoft.ACE.OLEDB.12.0 as a connection string to an Access database. So, as part of my install prerequisites, I checked the box for the Access 2007 runtime. However, when I install this on machines that already have Access 2007, it still goes through the process of installing it anyway. And, for some reason, the Access 2007 runtime does not do a silent install. In other words, it asks you to check the box to accept the Microsoft Access runtime license agreement. When I run the installation again on the exact same machine, it still does the same thing all over again (reinstalls the Access runtime).

Is there a way for it to check to see if the Access runtime is already installed? It would be okay if it did a silent install, but users are confused when they see another installation that appears underneath my installation.

Thanks,
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Access 2007 prerequisite

Hello,

I'm not sure why you encountered this behavior.

Please note when the “Access 2007 Runtime” predefined prerequisite is added, in the Install Conditions tab of the prerequisite, the “Install prerequisite based on conditions” options has been enabled. This means that the prerequisite will be installed depending the result of the conditions. You can use the [Evaluate...] button to see the result of a criteria search.
And, for some reason, the Access 2007 runtime does not do a silent install
In order to install the prerequisite silent you can go in the Setup Files tab of the prerequisite and for the “Install command Lines” group you can have the following parameter:

Code: Select all

/q

Also, you can take a look on our "Msiexec.exe Command Line" article.

Please let us know if that helped otherwise give us more details.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jarlath
Posts: 9
Joined: Wed Sep 11, 2013 3:50 pm

Re: Access 2007 prerequisite

Thanks for the quick reply

I forgot to mention that I am using the Pro version. For, the silent install, I tried your first suggestion, using the install command lines parameter, but it says I need the enterprise version. I shall try your other suggestions and post back my results.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Access 2007 prerequisite

Hello,

Please keep note that you can use the /q command line parameter for the Full UI: line in the “Install Command Lines” pane from the Setup Files tab of the “Acces 2007 Runtime” prerequisite but as long as you run the main package with full UI. All other command line fields will be ignored and the prerequisite will not be installed if the main package is installed with silent or basic UI.

So, just use the /q parameter for the Full UI: line. I've tested this scenario and it worked as expected.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”