Staging Folder in Module Build

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
dakotazinn
Posts: 17
Joined: Thu Apr 13, 2017 8:00 am

Staging Folder in Module Build

Post by dakotazinn » Fri Dec 13, 2019 6:22 am

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.170
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18362.0

*** Please add details and screenshots as needed below. ***

When installing a module using the .MSI builder, a staging folder is created with the same files that are selected in the build, with the exception of the .psm1 file.
ModuleFolder.png
ModuleFolder.png (5.23 KiB) Viewed 1912 times
StagingFolder.png
StagingFolder.png (5.81 KiB) Viewed 1912 times
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

User avatar
mxtrinidad
Site Admin
Posts: 380
Joined: Sun Mar 03, 2013 12:42 pm

Re: Staging Folder in Module Build

Post by mxtrinidad » Fri Dec 13, 2019 7:42 am

Is this module to be used in Windows PowerShell or PowerShell Core?

User avatar
dakotazinn
Posts: 17
Joined: Thu Apr 13, 2017 8:00 am

Re: Staging Folder in Module Build

Post by dakotazinn » Fri Dec 13, 2019 8:47 am

It's to be used in Windows Powershell.

It looks like the Staging folder only appears when using the Build button in the ribbon (Shift + F7).
It does not get included when the script packager is used.

(Build button also includes all scripts in the current folder, not the only ones specified in the .psbuild)

User avatar
mxtrinidad
Site Admin
Posts: 380
Joined: Sun Mar 03, 2013 12:42 pm

Re: Staging Folder in Module Build

Post by mxtrinidad » Fri Dec 13, 2019 9:12 am

Thanks for reporting the issue. We are currently looking into it.

User avatar
brittneyr
Site Admin
Posts: 307
Joined: Thu Jun 01, 2017 7:20 am

Re: Staging Folder in Module Build

Post by brittneyr » Fri Dec 13, 2019 9:27 am

As long as the files are listed in the Files and Folders section of the SAPIEN Script Packager, they will added to the MSI. That Staging folder should no longer be created when building an installer. I have reopened this issue with the developer as this has been reported before. The folder is not used so please disregard it. This will be fixed in a future release of PowerShell Studio.
Brittney Ryn
SAPIEN Technologies, Inc.

User avatar
brittneyr
Site Admin
Posts: 307
Joined: Thu Jun 01, 2017 7:20 am

Re: Staging Folder in Module Build

Post by brittneyr » Tue Jan 21, 2020 3:42 pm

Please try build 5.7.172 and let me know if this bug is still happening.
Brittney Ryn
SAPIEN Technologies, Inc.