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.
This topic is 4 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
dakotazinn
Posts: 20
Last visit: Wed Mar 31, 2021 7:12 am

Staging Folder in Module Build

Post by dakotazinn »

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 3844 times
StagingFolder.png
StagingFolder.png (5.81 KiB) Viewed 3844 times
DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM
User avatar
mxtrinidad
Posts: 399
Last visit: Tue May 16, 2023 6:52 am

Re: Staging Folder in Module Build

Post by mxtrinidad »

Is this module to be used in Windows PowerShell or PowerShell Core?
User avatar
dakotazinn
Posts: 20
Last visit: Wed Mar 31, 2021 7:12 am

Re: Staging Folder in Module Build

Post by dakotazinn »

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
Posts: 399
Last visit: Tue May 16, 2023 6:52 am

Re: Staging Folder in Module Build

Post by mxtrinidad »

Thanks for reporting the issue. We are currently looking into it.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 3:14 pm
Answers: 39
Been upvoted: 30 times

Re: Staging Folder in Module Build

Post by brittneyr »

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
SAPIEN Technologies, Inc.
User avatar
brittneyr
Site Admin
Posts: 1655
Last visit: Thu Mar 28, 2024 3:14 pm
Answers: 39
Been upvoted: 30 times

Re: Staging Folder in Module Build

Post by brittneyr »

Please try build 5.7.172 and let me know if this bug is still happening.
Brittney
SAPIEN Technologies, Inc.
This topic is 4 years and 2 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.