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

Support for all customers who have purchased a SAPIEN PowerShell Studio product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE 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
Jehoschua
Posts: 35
Joined: Fri Jan 29, 2016 6:23 am

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

Post by Jehoschua » Wed May 16, 2018 1:11 pm

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: 5276
Joined: Thu Aug 18, 2011 4:56 am

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

Post by davidc » Thu May 17, 2018 8:39 am

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.