Local license

 
 
 
Posted by:Lothar
Data created:17 October 2018

Can´t get the new version work on my system. Tried to understand the readme and unzipped, moved the .cdl64 asinstruckted but the the passage with local license is a book with 7 seals. Tried to send the command with and without filepath to cmd window - no effect :

C:\Users\lotha>echo Ornatrix-C4D-0-0-4-17388-win64_35302032203231333236.7z > %LOCALAPPDATA%\OrnatrixC4DSetupFilepath.txt

C:\Users\lotha>echo c:/Benutzer/lotha/Downloads/Ornatrix-C4D-0-0-4-17388-win64_35302032203231333236.7z > %LOCALAPPDATA%\OrnatrixC4DSetupFilepath.txt

I still get the local connect window with no license and user found ...

How to proceed to continue testing ?

ok I´m back on testrun. Tried the installer download and have been very confused what was happening executing this guy. Some new folders on my root, but not the plug itself to be used as a pluginpath from Cinema. So thought forget it. But starting Cinema again, I have been asked if I want to license this machine or use license server. Choosen this machine gave access to the previeous installed plugin folder. So looks as it needs both now, installer and .7zip to get Ornatrix Beta run now...

Which 'root' are you referring to? C:\ or CINEMA 4D root?

The installer does just what the Readme.txt says, and just what is absolutely needed to run the plugin. It doesn't install files to C:\, and it installs a few required DLL's into R19's root (R20 improved that and the DLL's no longer need to be in the root).

The difference with manual zip installation is that Grooms and Scripts now go to C:\Program Data\Ephere\OrnatrixC4D, but that's not related to licensing.

I'll need more info to resolve your problem. What exactly happens, what dialog do you see and what error? Is it "could not find user info, please reinstall"? If it's that one, please check if you have this file

c:/Benutzer/lotha/AppData/Local/OrnatrixC4DSetupFilepath.txt

and what does it contain.

I think your first echo command is the correct one, not sure if including the full file path in the second one wouldn't cause any problems... The installer does that step anyway, if you delete the file and reinstall, it should appear again. You should not rename the .msi file before running it.

Another info you can provide is an installer log file, please look at the bottom of this page how to run the installer with logging:

https://ephere.com/plugins/autodesk/maya/ornatrix/docs/2/Installation_Problems.html

It will reveal what files exactly were copied.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

my first echo command had no effect at all. I have this file now and it contains:

C:\Users\lotha\Downloads\Ornatrix-C4D-0-0-4-17388-win64_35302032203231333236.msi

I had no success with that commands even executed as an admin, but as you say, installer seems to work correctly on that thing. After running installer and got the folders you mention, I got a different window where I could choose if I want to license this machine or license server which showed local machine IP as a default. Before running installer I only got this second part of the window, local IP as a server adress and below user and license not found or something like this each time I launched Cinema R20. Unfortunately forgot to do a screenshot. Don´t dare to recreate as it is running now. After using installer I got this choice and now everything is fine, a command window popped up for glimpse of a second and after that Ornatrix has been active again.

btw I got a EphereLicensinglog.txt anyhow and it just reads:

5768 2018-10-17T13:12:10 Install: begin
  5768 2018-10-17T13:12:10 Stop: begin
  5768 2018-10-17T13:12:10 Stop: failed
  5768 2018-10-17T13:12:10 Copy: begin
  5768 2018-10-17T13:12:10 Copy: success
  5768 2018-10-17T13:12:10 Start: begin
  5768 2018-10-17T13:12:11 Start: success

Looking again, I see that the the file is indeed expected to include the full path to the .msi. Probably because that's how it gets generated by the installer.

The Readme currently instructs to put just the file name. Looks like the code doesn't support that and the Readme is wrong. I'll try to make the code work rather than change the Readme.

The EphereLicensingLog.txt looks correct and the behavior you describe does too, the license server should be running correctly now.

No need to try to reproduce the problem, it was most likely caused by that missing full path. The dialogs you describe sound just as expected. Hopefully all files are installed in their correct locations too.

You might try to uninstall once to see if all files will be removed properly. That doesn't include the files in ../AppData/Local, those will remain, as well as the license server. The server can be uninstalled separately following these instructions. Also, it is a good idea to clean up the files that you installed manually from the 7z. These are the Grooms and Scripts folders under C4D/plugins/Ornatrix, of what I remember, maybe more. The C4D/plugins/Ornatrix folder should disappear when Ornatrix is removed. The Qt and tbb DLLs in R19's root too.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Also can not install local licence on win10. After executing echo in cmd window file "OrnatrixC4DSetupFilepath.txt" in AppData/Local created. Contain just full name of Ornatrix 7z file. (without path to file)

When start R20Demo, product licencing window will open with predefined IP. After "Connect" I´l  get this info "Could not find user info, local authorization is not available."

 installation from archive not msi installer.

 

Right, the file "OrnatrixC4DSetupFilepath.txt" must contain the full path to the .7z, not just its name. I'm sorry about the error in the Readme.

Anyway, there should be no reason to install manually from the zip now that there is an installer. It's usually meant for studios who want to install plugins on network drives, available to multiple machines. These also use a common license server on the local network.

I'm not sure if and when this can be fixed to work just with the file name, so I'll correct the Readme for now.

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev

Thank you Ivan, msi-installer solve everything. OrnatrixC4DSetupFilepath.txt created automatically in AppData/Local folder with correct path to installer also licence succesfully installed.

(without playing with echo etc. in cmd window)

Investigation showed that the problem wasn't the missing full path to the .7z file, it was the .7z extension. The expected pattern allowed for .msi, .pkg and .run extensions.

This affected all our products. Will be fixed in the next nightly builds of all of them.

It only shows that no one so far tried to license locally a manually installed archive (or used the "Install license server only" download link to install the server separately).

Ivan Kolev (Software Developer, EPHERE Inc.)

E-mail: ivan.kolev at ephere dot com

Discord: ikolev