You are viewing limited content. For full access, please sign in.

Question

Question

Unattended Install/Uninstall Repository Desktop Client 12

asked on November 10

I'm looking for a way to install and uninstall the Repository Desktop Client for version 12 unattended.

I've been searching and found documentation and posts on the new Laserfiche Installer and the Central Configuration Editor. In my reading I found statements suggesting creating a configuration file and then using the path to that file in the config parameter of the new LFGet.exe file, but it appears that you cannot create a configuration file, using the Central Configuration Editor for the Repository Desktop Client; doesn't appear to be an option (please correct me if I am wrong). 

Prior to version 12 we could download the Window Client installation files from a server to individual Client machines and run the command-line using the Setup.exe/SetupLF.exe file with the appropriate parameters and would get the results we were looking for.

Anyone have a solution for version 12 doing this, or can direct me in right direction?

Thank you!

0 0

Replies

replied on November 13

Hey Mike,

Central Configuration Editor is not necessary for the Laserfiche Client install - this is mainly aimed at server components which run as services.

For the Laserfiche Client install, simply copy LFGet to the client machine where you wish to install/upgrade the Windows Client. Any machine with the Laserfiche Installer application (e.g. the server you've probably already upgraded) will have the LFGet folder at the below path:

%localappdata%\Laserfiche\LFInstaller\Plugins\LFGet

Copy that entire directory to the client machine, then browse to it through Command Prompt/PowerShell and use the commands in the install guide to perform either an online or offline install of the client components.

For an online installation through PowerShell, the command would look something like this:

.\LFGet.exe install-product --product 'WindowsClient' --iacceptlicenseagreement --iagreetoprereqs --installation-code 'AzHg*******************************'

The same installation through Command Line would look like this:

LFGet.exe install-product -p WindowsClient -x -z -i AzHg*******************************

Please note you need to run this command for each of the client components you wish to install, so for the equivalent of a typical install through the old GUI installer, that's:

  • WindowsClient
  • OfficePluginSetup
  • ScanningSetup
  • Snapshot
  • WebToolsAgent
  • OCR

I found Sam Carson's comments and examples on this post really helpful when putting the script together we're using - and I have to say, so far, this method seems much easier than the previous methods of copying MSIs etc. laugh

Just be aware if your install is running under the Windows SYSTEM user there is currently a bug with LFGet, which Sam also mentions in the above post.

Hope this helps!

Dan

0 0
replied on November 13 Show version history

Thanks Dan!

I've just posted a major update with a new omni-script that should be able to handle nearly any client deployment scenario (and a second invoker script to run it silently) on that post, which you can find here: New Laserfiche version 2025 H2 (Fall release) -- Unattended Installation (LFGet.exe) - Laserfiche Answers

You can use it for single product installs too, as it does plenty of other useful things for unattended deployment tools. Some examples:

# Online installation

.\Invoke-LFGetBulkAction.ps1 `
  -Script 'C:\YourPathTo\LFGet\LFGet-BulkAction.ps1' `
  -LFGetCommand 'install-product' `
  -Products 'WindowsClient' `
  -LFGetDirectory 'C:\Temp\LFGet\LFGet' `
  -InstallationCode 'XXXXXXXXXXX'

 

# Local package(s) install with package(s) pre-staged at '\\fileshare\LFGet\Packages'

.\Invoke-LFGetBulkAction.ps1 `
  -Script 'C:\Temp\LFGet\LFGet-BulkAction.ps1' `
  -LFGetCommand install-local-package `
  -LFGetDirectory 'C:\Temp\LFGet\LFGet' `
  -CopyLFGetFromSource '\\fileshare\LFGet\LFGet' `
  -PackageDirectory 'C:\Temp\LFGet\Packages' `
  -CopyPackagesFromSource '\\fileshare\LFGet\Packages' `
  -Products 'WindowsClient'

So on and so forth. 

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.