Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. how to extract a cab file in python - any module available??

how to extract a cab file in python - any module available??

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
pythontutorialquestion
6 Posts 4 Posters 0 Views 1 Watching
  • 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.
  • A Offline
    A Offline
    anand mohan123
    wrote on last edited by
    #1

    Is there any module in python for extracting cab files.

    D L 2 Replies Last reply
    0
    • A anand mohan123

      Is there any module in python for extracting cab files.

      D Offline
      D Offline
      David Skelly
      wrote on last edited by
      #2

      msilib

      D 1 Reply Last reply
      0
      • D David Skelly

        msilib

        D Offline
        D Offline
        David Skelly
        wrote on last edited by
        #3

        Whoops, just realised that msilib doesn't read CAB files it only creates them. Sorry about that.

        1 Reply Last reply
        0
        • A anand mohan123

          Is there any module in python for extracting cab files.

          L Offline
          L Offline
          LloydA111
          wrote on last edited by
          #4

          Yes. Its called the Windows API, which has in built CAB support.

          If everything was not true, would it be not true that everything is not true? So by saying everything is not true, you are automatically denying that everything is not true. Im so confused... FreeDOS - An open source modern MS-DOS/PC-DOS replacement.

          D 1 Reply Last reply
          0
          • L LloydA111

            Yes. Its called the Windows API, which has in built CAB support.

            If everything was not true, would it be not true that everything is not true? So by saying everything is not true, you are automatically denying that everything is not true. Im so confused... FreeDOS - An open source modern MS-DOS/PC-DOS replacement.

            D Offline
            D Offline
            Davyd McColl
            wrote on last edited by
            #5

            Wow, sarcastic and devoid of content. Bravo. Add a stupid character to the end of your handle and win a prize. You're a winner. First off, it's NOT the _WINDOWS_ API. It's the CAB SDK. Second, said SDK is not exactly trivial to implement, unlike the current Python zip support. Third, there currently isn't a py module to wrap the CAB SDK but if the OP wants to download the CAB SDK, there are some commandline tools that come with the SDK which can create and extract cabinet files albeit rather unintuitively.

            L 1 Reply Last reply
            0
            • D Davyd McColl

              Wow, sarcastic and devoid of content. Bravo. Add a stupid character to the end of your handle and win a prize. You're a winner. First off, it's NOT the _WINDOWS_ API. It's the CAB SDK. Second, said SDK is not exactly trivial to implement, unlike the current Python zip support. Third, there currently isn't a py module to wrap the CAB SDK but if the OP wants to download the CAB SDK, there are some commandline tools that come with the SDK which can create and extract cabinet files albeit rather unintuitively.

              L Offline
              L Offline
              LloydA111
              wrote on last edited by
              #6

              Firstly, I wasn not being sarcastic. Secondly, why reply to a post that is so old? And you will in fact find that Windows does have in-built CAB support.


              "People demand freedom of speech to make up for the freedom of thought which they avoid."

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups