[Office Security Center] - Trusted Location - Advanced Installer Community
K4minoU
Posts: 1
Joined: Mon May 15, 2017 10:47 am

[Office Security Center] - Trusted Location

Hello,

As I did not find a topic about my issue, I will create a new one :D

I would like to deploy an Access database "application" for a charity association to help them to manage their daily tasks.

For that, I need, in few words, to know if with the Advanced Installer, we can :
•1• install the Access 2016 runtime (it seems yes by reading doc but not sure)
•2• define a trusted location (this point is more important for me, because the members of the association do not know well how to manage their computers)

To add a location as a trusted location, for the moment I have 2 solutions :
• explain the members of the association how to do it manually (but I am not sure that is the best way => https://support.office.com/en-us/articl ... 08b3540a62)
• do it via a VB scipt that I have found lately on the web (=> https://www.devhut.net/2010/06/23/vbscr ... -vbscript/)

So is it possible for the AIS to define a trusted location during the installation or not? The installation will be done by an administrator.

Thank you in advance for reading and reply


Michel
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: [Office Security Center] - Trusted Location

Hello Michel, and welcome to our forums!

1. You could install MS Access 2016 as a prerequisite. To achieve this follow the steps:
-go to "Prerequisites" page
-select Access 2016 Runtime from "Predefined Prerequisites" list.
For details, you can check our Frequently Asked Questions about prerequisites article.

2. This feature is not implemented in Advanced Installer but you can implement this behaviour yourself using a custom action. You could create a custom action that uses a VBS script, similar to the one you provided, to manage the Trusted Locations.
The implementation could be the following:
- go to "Custom Actions" page and create a new "Execute inline script" custom action with sequence.
- enter the script in the dedicated field.
- select "When the system is being modified (deferred)" Execution time.
- select "Run under the LocalSystem account with full privileges(no impersonation)" option
- configure the "Install Stage Condition" to "Install"

In this way the script will run at install time, creating the Trusted Location.

Hope this helps!

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”