Modules install to wrong Folder with MSI

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 7 years and 1 month 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
CermakPOI
Posts: 41
Last visit: Wed Jan 31, 2024 2:57 am

Modules install to wrong Folder with MSI

Post by CermakPOI »

Product, version and build: PowerShell Studio 2017 v5.4.134
32 or 64 bit version of product: 64
Operating system: Win10
32 or 64 bit OS: 64
PowerShell Version: 5.1.14393.693

I tried to package a Module with MSI and the Module is then installed to
C:\System64Folder\WindowsPowerShell\v1.0\Modules
instead of
C:\Windows\System32\WindowsPowerShell\v1.0\Modules
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 20
Been upvoted: 37 times

Re: Modules install to wrong Folder with MSI

Post by Alexander Riedel »

Sounds like a bug. Can you email the .psBuild file for this to support@sapien.com? That makes it easier to determine where the problem lies.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
CermakPOI
Posts: 41
Last visit: Wed Jan 31, 2024 2:57 am

Re: Modules install to wrong Folder with MSI

Post by CermakPOI »

i sent a mail with the details.
User avatar
CermakPOI
Posts: 41
Last visit: Wed Jan 31, 2024 2:57 am

Re: Modules install to wrong Folder with MSI

Post by CermakPOI »

How can i avaoid this message after re-creating the msi?
I'd like to just install/update any version with the current one.
Attachments
07-02-2017 10-57-12.png
07-02-2017 10-57-12.png (5.09 KiB) Viewed 3085 times
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 20
Been upvoted: 37 times

Re: Modules install to wrong Folder with MSI

Post by Alexander Riedel »

You need to increment version numbers, that should eliminate the message.
Alexander Riedel
SAPIEN Technologies, Inc.
User avatar
CermakPOI
Posts: 41
Last visit: Wed Jan 31, 2024 2:57 am

Re: Modules install to wrong Folder with MSI

Post by CermakPOI »

Why can't i install over the same version?
"A Newer Version ..." is plain wrong and irritating.
User avatar
Alexander Riedel
Posts: 8479
Last visit: Thu Mar 28, 2024 9:29 am
Answers: 20
Been upvoted: 37 times

Re: Modules install to wrong Folder with MSI

Post by Alexander Riedel »

You will have to ask Microsoft why they rigged Windows Installer that way. When I look into the folder bug I will see if there is anything that can be done to suppress that, but as it usually goes with Windows Installer, it can be pretty stubborn.
Alexander Riedel
SAPIEN Technologies, Inc.
This topic is 7 years and 1 month 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.