Module partially installed

Welcome Forums General PowerShell Q&A Module partially installed

Viewing 0 reply threads
  • Author
    Posts
    • #229852
      Participant
      Topics: 1
      Replies: 0
      Points: 14
      Rank: Member

      We have a reasonably large build and deployment library built around Powershell modules. In the last few months I have seen a few times that we have a module or it’s dependent modules partially installed. I say partially installed, but it could also be partially uninstalled.

       

      I think it’s an installation issue as one module has the following files/folders installed:

       

      • PSD1
      • PSM1
      • Private folder containing all the scripts
      • Public file (This should be a folder containing scripts)    ***This is the point of concern***

       

      Another installation of AWSPowershell (which we have as a dependency of our modules) contained just the PSD1 and no other files.

       

      The above two lead me to believe it’s an installation issue rather than anything else.

       

      The question then becomes has anyone else had issues with install-module?

      How does install-module work? Does it copy to a temporary location and then copy to the required module location.

      Our package source is ProGet, could it be an issue at package source side, rather than Powershell?

      Are there any Mutexes around installing and uninstalling modules? we could have two sessions, one installing a module and another one uninstalling.

       

      Major Minor Build Revision
      —– —– —– ——–
      5           1          17763  771

       

       

      • This topic was modified 6 days, 1 hour ago by jonvaughan91.
      • This topic was modified 6 days, 1 hour ago by jonvaughan91.
      • This topic was modified 6 days, 1 hour ago by jonvaughan91.
      • This topic was modified 5 days, 10 hours ago by jonvaughan91. Reason: Updating questions
Viewing 0 reply threads
  • You must be logged in to reply to this topic.