Jump to content

Recommended Posts

Posted

Good morning,

 

Is anyone installing AccessIt9 silently via PDQ Deploy?

 

Have contacted their support to be told they don't support silent installs, but sent me the following script which of couse dosen't work:

 

start /wait %~dp0Accessit9_Installer.exe /qn
icacls "C:\Program Files\Access-It Software" /grant:r Everyone:(OI)(CI)F
robocopy %~dp0 "C:\Program Files\Access-It Software\Accessit\lib" AIS_cfg.properties /it /is
robocopy "C:\Program Files\Access-It Software\Accessit\lib\x64" "C:\Program Files\Access-It Software\Accessit\lib" /E

 

 

I've tried using both the EXE and MSI that they provided, but I've had no luck.

 

 

 

 

 

 

 

Posted

It can be a bit fussy over what version of JRE is installed. and sometimes needs me to log on with admin access to apply an update after install or if they have done a database upgrade in the cloud.

I havent managed a silent installer. Since its only on 2 pcs I just did it manually. 

Posted (edited)

I gave up with the installer, setup on a reference machine and copy the whole folder directory into a deployable location including a shortcut in the same root folder.

 

I use the following install script with Intune but I'm sure it can be adapted.

 

#Install Accessit

Robocopy "$PSScriptRoot\Access-It Software" "$env:ProgramFiles\Access-It Software" /np /Copy:dat /MT:8 /e

 

#Create Shortcut

Copy-Item -path "$PSScriptRoot\Accessit Library 9.lnk" -Destination "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\Access-It Software\"

 

#Set Permissions

$folderPath = “$env:ProgramFiles\Access-It Software”

$userGroup = "Users"

 

# Get the current ACL (Access Control List) for the folder

$acl = Get-Acl $folderPath

 

# Define the new access rule

$accessRule = New-Object System.Security.AccessControl.FileSystemAccessRule($userGroup, "Modify", "ContainerInherit,ObjectInherit", "None", "Allow")

 

# Add the new access rule to the ACL

$acl.SetAccessRule($accessRule)

 

# Apply the updated ACL to the folder

Set-

Acl $folderPath $acl

 

 

Edited by RobFuller
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...