Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

License variable on deployment

9 REPLIES 9
Reply
Message 1 of 10
Anonymous
364 Views, 9 Replies

License variable on deployment

Is there a way to change the ADSKFLEX_LICENSE_FILE variable the a deployment
sets without using the network installation wizard? I would like to just
edit a file with the new values similar to how you can change the location
of the log file. The reason I would like to do this is that I have several
offices that I would have to try and modify the deployment over the WAN
which would take for ever.

Thanks.
9 REPLIES 9
Message 2 of 10
Anonymous
in reply to: Anonymous

It's just a single entry in the registry so maybe send the instructions to the outside offices of how to change the key to what ever you want it to be.
Modifying the deployment sight over a WAN doesn't take forever, building a deployment site over a WAN takes forever.

John Postlewait
IS Department
George Butler Associates, Inc.
Message 3 of 10
TravisNave
in reply to: Anonymous

Yeah, our license manager works over the WAN. Deploying it? No thanks. I just send Norton Ghost disk images to the satellite offices. That works well.

As for changing the variable, you can indeed do that in the registry. If that scares you, you can do it in the Environment Variables section of the System Properties > Advanced Tab. Just make a new System Variable called ADSKFLEX_LICENSE_FILE and give it a value of @SERVERNAME. That is, being your actual DNS Servername of course... preceded by the @.

You can also modify the LICPATH.LIC in the program root folder to point to the correct license server and MAC address.

Best way though? Do what John suggests. I'd just save out the correct registry key as a .reg file and send it to the offices to add to their machines. That should work like a charm.

Good luck!


Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 4 of 10
pgordemer
in reply to: Anonymous

You can just run a script to update the Environment Variable in the OS, it overrides whatever is in registry. We have 5 offices with a license server in each office. Rather than have 5 different Network Deployments just to change license servers, we have 1. We just run the script on the machine to change what office the license server order should come from.

Here is a snippet. This is VBS.

n Error Resume Next
Set WshShell = WScript.CreateObject("Wscript.Shell")
Set WshSysEnv = WshShell.Environment("SYSTEM")
WshSysEnv.item("ADSKFLEX_LICENSE_FILE") = "@SERVER1;@SERVER2;@SERVER3"

Phil Gordemer
ARH Associates
Message 5 of 10
Anonymous
in reply to: Anonymous

Hi,

under the deployment-structure look for appsetup.inf -file and edit whatever changes you need.

/Petri
Message 6 of 10
Anonymous
in reply to: Anonymous

Searched for appsetup.inf, appsetup.*, and *.inf, didn't find any. What did I miss?

John Postlewait
IS Department
George Butler Associates, Inc.
Message 7 of 10
Anonymous
in reply to: Anonymous

Same here, can't find any appsetup.inf ?



wrote in message news:5043155@discussion.autodesk.com...
Searched for appsetup.inf, appsetup.*, and *.inf, didn't find any. What did
I miss?

John Postlewait
IS Department
George Butler Associates, Inc.
Message 8 of 10
Anonymous
in reply to: Anonymous

Thanks. This will work.


wrote in message news:5042663@discussion.autodesk.com...
You can just run a script to update the Environment Variable in the OS, it
overrides whatever is in registry. We have 5 offices with a license server
in each office. Rather than have 5 different Network Deployments just to
change license servers, we have 1. We just run the script on the machine to
change what office the license server order should come from.

Here is a snippet. This is VBS.

n Error Resume Next
Set WshShell = WScript.CreateObject("Wscript.Shell")
Set WshSysEnv = WshShell.Environment("SYSTEM")
WshSysEnv.item("ADSKFLEX_LICENSE_FILE") = "@SERVER1;@SERVER2;@SERVER3"

Phil Gordemer
ARH Associates
Message 9 of 10
abustraan0230
in reply to: Anonymous

I searching my local registry I found the following entry:

ADSKFLEX_LICENSE_FILE = @lk2;C:\Acad2K6;@LK2;@LK2

However, I also have AutoCAD 2008 Installed in C:\Acad2K8; shouldn't there be an entry for each Version of AutoCAD installed?

What about other Network Licensed Autodesk Products such as Revit 2008, and Max 9?

Thanks in advance.
Message 10 of 10
Anonymous
in reply to: Anonymous

"shouldn't there be an entry for each Version of AutoCAD installed?"
No that is not needed.

"What about other Network Licensed Autodesk Products such as Revit 2008, and
Max 9?"
They will use the servers listed and search for a license in the order the
servers are listed.

--
Jimmy Bergmark
JTB World - Software development and consulting
Owner/Developer
http://www.jtbworld.com
http://jtbworld.blogspot.com

JTB World offers you software's, custom software development, consulting...
http://www.jtbworld.com/about.htm

JTB FlexReport (FLEXnet / FLEXlm license report tool) -
www.jtbworld.com/jtbflexreport

AutoCAD 2008
http://www.jtbworld.com/autocad2008.htm

"abustraan" wrote in message news:5725495@discussion.autodesk.com...
> I searching my local registry I found the following entry:
>
> ADSKFLEX_LICENSE_FILE = @lk2;C:\Acad2K6;@LK2;@LK2
>
> However, I also have AutoCAD 2008 Installed in C:\Acad2K8; shouldn't there
> be an entry for each Version of AutoCAD installed?
>
> What about other Network Licensed Autodesk Products such as Revit 2008,
> and Max 9?
>
> Thanks in advance.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report