How to remove the often annoying PowerShell Studio File-Extension association?

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 5 years and 10 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
Jehoschua
Posts: 64
Last visit: Fri Mar 01, 2024 3:24 am

How to remove the often annoying PowerShell Studio File-Extension association?

Post by Jehoschua »

Good evening

Most IDEs allows to configure if the IDE should register File-Extensions to itself and it looks like Sapien PowerShell Studio forces the association of most or all PowerShell Extensions.

This is really very annoying if Sapien PowerShell Studio has just the role of rarely used tool for the job (we use it every some month for some days).
In this case, one expects PowerShell to behave normally as on every other computer - and not to start Sapien PowerShell Studio all the time. It is much easier to manually start PowerShell Studio and just open a file.

Therefore our question:
is it possible to finally stop PowerShell Studio from registering File-Extensions?


We think about uninstalling the IDE just to be able to work as usual - but then, it's annoying to reinstall it if one needs it for some small tasks. Another solution would be to replace Sapien, but you are doing a great job, therefore we like and prefer the Idea to support you. But it should not bite us :-)

Product, version and build: 64 bit, the latest Version of PowerShell Studio
Operating system: Windows 10, 64bit Enterprise

Thanks a lot for any help!,
kind regards,
Thomas
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: How to remove the often annoying PowerShell Studio File-Extension association?

Post by davidc »

Try setting the following environmental variable before installing or upgrading:
  1. $env:SKIP_FILEASSOCIATION = '1'
The installer should see the variable and disable the file association.
David
SAPIEN Technologies, Inc.
This topic is 5 years and 10 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.