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

Question

Question

File in C:\ProgramData\Laserfiche\Forms\License disappeared on update

asked on November 2 Show version history

Any else have Forms go down because the lf.licx file suddenly was missing from this location after running an update?

I was only performing a minor update from a previous Version 12 to a new Version 12

I had to replace the file from a copy downloaded in Directory Server

 

Just had this happen again with Import Agent where a the lf.licx file was missing from C:\program files\laserfiche\import agent suite\import agent\ immediately after an update

I am losing files off the drive left and right during upgrades

 

Just had it happen with Web Access too

C:\Program Files\Laserfiche\Web Access

0 0

Replies

replied on November 3

Yes, this is expected. Uninstalling the product (which happens under the hood during updates) removes the license.

0 0
replied on November 3

Shouldn't the license file get replaced though if the LF Installer is configured correctly with LFDS?

3 0
replied on November 3

The products should be expected to relicense themselves 

1 0
replied on November 3

I don't think any raw file in ProgramData should ever be disappearing. This is a hidden folder for programs to write permanent data to the drive which is too large to fit in the registry. There was no where in the user interface that I asked to remove any licenses, I was only updating to a new version of software that was already licensed.

0 0
replied on November 3

This is a hidden folder for programs to write permanent data to the drive which is too large to fit in the registry.

That's not an accurate characterization of ProgramData. To quote Microsoft themselves, "the [ProgramData] folder is used for application data that is not user specific" (which generally belongs in C:\Users\$user\AppData instead). That's it. Nothing about permanence or "too large for the registry". If you look through various applications' ProgramData folders on your machine, I suspect you'll find a huge number of them have temp and cache folders there that files are constantly being created and deleted in, alongside more persistent config files. 

In any event, installing a licensed Laserfiche product like Forms should pull a fresh license from Directory Server (or be provided an lf.licx manually) unless you specifically opt out with the "I'll activate/license later" option, or you can't connect/auth to Directory Server, which is a separate problem.

0 0
replied on November 4

AppData is a user specific hidden folder as well, similar to ProgramData. The registry is best for small config options that fit in a key. Anyways the registry, appdata, and programdata are hidden to help keep users from deleting your program's data.

I did not choose I will activate later so I think something is going wonky with the installers. There was no prompt for activation, only an upgrade was performed. This is the first time in 10 years of installing LF upgrades that these files have gone missing.

0 0
replied on November 4

Please open a support case and upload the install logs and we'll take a look.

1 0
replied on November 17

I'm just commenting to indicate that I also had some hiccups with the license files not automatically being applied for a couple programs after the 2025 H2 upgrade.  Everything is working after adding the licenses manually, but it does appear that it isn't a one-off and is impacting several of us.

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

Sign in to reply to this post.