Deploy to multiple machines

If you’d like to deploy your license automatically so that the Enscape user doesn’t have to enter the floating license code manually when first starting, simply follow these steps:

  1. Create a file called “License.txt” containing your license code
  2. Create the directory “%ProgramData%\Enscape” on the computer on which you want to deploy Enscape.
  3. Place the License.txt there.

Upon the first startup, the license code in the file will automatically be applied. If successful, the file gets deleted.

Here’s a very simple deployment script which you can adopt for your needs:
if not exist "%ProgramData%\Enscape" md "%ProgramData%\Enscape"
echo your_license_code > "%ProgramData%\Enscape\License.txt"
start /w Enscape-Setup.exe /S

Notes:

  • If you want your license to be deployed on each start up (for each user) without being deleted, name it “License-Persistent.txt”, and place it into “%ProgramData%\Enscape”.

 

Deploying Enscape for ArchiCAD for all users

Selecting the “all users” option from the installer will only install it for users who have already logged in at least once onto the local system. In order to ensure the installation for every user, you have the following options:

    1. [Requires Admin Privileges] Run a script on any user’s first log on, from there, call the Plugin installer located in {EnscapeInstallationPath}\Installer\Output like this (Make sure to replace “0|1” by “0” or “1”, depending on whether you wish Enscape to be installed for the corresponding App.)
      • {EnscapeInstallationPath}\Installer\Output\Create-Plugin-Metadata_Admin.exe /dir=”{EnscapeInstallationPath}” /verysilent /InstallForAllUsers=1 /ArchiCAD=1 /Revit=0|1 /SketchUp=0|1 /Rhino=0|1
    2. [Does not require Admin Privileges] Run a script on any user’s first log on and write the following keys to the registry, replacing any expression in curly braces as explained further below:
      • [HKEY_CURRENT_USER\Software\GRAPHISOFT\ARCHICAD-64\ARCHICAD-64 {Signature}\Add-On Manager] “Use Default Location”=dword:1
        “Default Location”=%DEFAULT%
        [HKEY_CURRENT_USER\Software\GRAPHISOFT\ARCHICAD-64\ARCHICAD-64 {Signature}\Add-On Manager\Include] “Include Number”=”{Index}”
        “#{Index}.”=”lan.flat:///{EnscapeInstallationPath_ForwardSlashes}/Bin64/Enscape.Archicad.Plugin.Host.apx”

        • {Signature}: Is of the form “{Version} {Locale} {Revision}”. Example: “21.0.0 USA R1” To look it up, open regedit and navigate to [HKEY_CURRENT_USER\Software\GRAPHISOFT\ARCHICAD-64]
        • {Index}: Look up [HKEY_CURRENT_USER\Software\GRAPHISOFT\ARCHICAD-64\ARCHICAD-64 {Signature}\Add-On Manager\Include\Include Number] and increase that number by 1. If this key doesn’t exist, use 1.
        • {EnscapeInstallationPath}: The absolute path of your Enscape Location
        • {EnscapeInstallationPath_ForwardSlashes}: The absolute path of your Enscape Location. Make sure to use forward slashes.

     

 

If you need further assistance, please send an email to our support.


Was this article helpful ?

YesNo

Give us a short feedback: (required)

 

Start typing and press Enter to search