Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Installing a Plugin - User folders

    General Discussion
    0
    4
    578
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 02/12/2010 at 06:39, xxxxxxxx wrote:

      Hi there,

      its been a while since I coded a bit for cinema and now I have been asked to write some installation routines for an existing plugin. I saw that the more recent C4D versions create a folder in the users AppData to load plugins etc from.

      Now the big question is, how are the names of those folders constructed? I have R12 installed and NetRender Client and Server and each folder gets a 8-digit code at the end - I presume this identifies the installed version as this code was the same on two machines I tried. However, I couldn't find this 8 digits anywhere I could read them from during installation - is this information I could compile using the info in the registry or how am I supposed to put the plugin to the correct directory?

      Same goes for the values in the registry - all "MAXON" folders in the HKLM\...Uninstall\ have a 8-digit code (different from the one in the user folder) which also seems to stay the same on different machines. Is there a way to read or find out this too?

      Reading all directories and than string-comparing them seems a bit.. well, not so nice πŸ˜‰

      And forgive me if that is really something simple and obvious, see my join date - it's really been a while ^^

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 02/12/2010 at 07:26, xxxxxxxx wrote:

        If the installer is a standalone there is no other way than letting the user enter the exact path. Using the C4D SDK you can use GeGetStartupWritePath() (only works with 11.5+)

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 02/12/2010 at 10:29, xxxxxxxx wrote:

          Hm, yes, installer is stand-alone, and the idea was to have as little user interaction as possible, as there seem to be still some users out there who don't know how to browse to a directory correctly πŸ˜‰

          Same goes for selecting the correct C4D version, so I wanted to install in all installations I am able to locate - solves the issue of missing plugins when net rendering as well.

          Is there really no other way, no list of those 8-digit values and coresponding C4D versions?

          1 Reply Last reply Reply Quote 0
          • H
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 02/12/2010 at 11:04, xxxxxxxx wrote:

            As I have no clue where the 8-digits are taken from I really canΒ΄t tell. I am sure there is a rule behind it but that can only be answered by anyone from MAXON (which have holidays for the next 5 days). πŸ˜‰

            1 Reply Last reply Reply Quote 0
            • First post
              Last post