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

    List with installed applications

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 349 Views
    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 Offline
      Helper
      last edited by

      On 08/09/2016 at 01:45, xxxxxxxx wrote:

      I start an application from within a plugin.
      I assume (for PC) that the application is always on the 😄 drive.

      Now I have users that installed the application on another drive.
      I can search all drive for the application, but that takes some time (too long).

      Can I get a list with all installed applications, so I can detect on what drive it is located?

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

        On 09/09/2016 at 03:06, xxxxxxxx wrote:

        Hi Pim,

        Cinema 4D's APIs don't offer any means for this. Maybe someone from the community knows a quick answer, otherwise I guess, you'll need to search the net for a solution.

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

          On 09/09/2016 at 04:33, xxxxxxxx wrote:

          The application likely has some information like its installation path stored in the registry. You can use the WinReg module (builtin) to read it.

          Otherwise, you could just ask the user if the default path doesnt work.

          Best, 
          Niklas

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

            On 09/09/2016 at 05:10, xxxxxxxx wrote:

            A quick Google search on 'python check if program installed' will return plenty of hits on this.

            Steve

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