Disable file extension association in portable mode
S
Subhash Bose
started a topic
almost 2 years ago
Firstly, thanks for this nice software. I am using RoyalTS in portable mode by adding appsettings.json as instructed in the docs. It works as intended, but still, it adds file extension association entries in the registry during each startup.
There is no GUI option to disable file association as well. As in portable mode, I would prefer RoyalTS to not mess with the registry.
In the docs, I found that there are two configuration parameters available - RegisterFileTypes and RegisterUrlProtocols, which can control the Filetype and URL associations.
After setting these, the values are even reflected in code4ward.RoyalTS.UserPreferences.config file, but still it has no effect and adds filetype and URL association entries in the registry.
So, how to set these values properly so RoyalTS stops writing to the registry?
1 Comment
Stefan Koell
said
almost 2 years ago
Hi!
Thanks for bringing this issue to our attention. I was able to reproduce and fix the issue for the next release. We plan to release the fix sometime next week. Stay tuned.
Subhash Bose
Firstly, thanks for this nice software. I am using RoyalTS in portable mode by adding appsettings.json as instructed in the docs. It works as intended, but still, it adds file extension association entries in the registry during each startup.
There is no GUI option to disable file association as well. As in portable mode, I would prefer RoyalTS to not mess with the registry.
In the docs, I found that there are two configuration parameters available - RegisterFileTypes and RegisterUrlProtocols, which can control the Filetype and URL associations.
https://docs.royalapps.com/r2021/scripting/objects/options/royalapplicationsetting.html
So, accordingly, I am setting these two environment variables to empty values before launch, hoping there will be more registry writes.
After setting these, the values are even reflected in code4ward.RoyalTS.UserPreferences.config file, but still it has no effect and adds filetype and URL association entries in the registry.
So, how to set these values properly so RoyalTS stops writing to the registry?