Jump to content

Default file associations XML using remote software


Recommended Posts

Posted

We run a fair bit of software off an app server for a myriad of reasons.. Usually because it's portable and doesn't have an MSI. The caveat here is that means it doesn't set file association.

 

Is there any way to use the default file association xml to have files open with software run from another machine?

 

Everything I find references ProgId="" ApplicationName="", is it possible to set a ProgID and ApplicationName for remote software?

Posted

Busy day, and I was hoping it was one of those things that are obscure, but actually really simple to do :p

 

Okay, so taking a Circuit Wizard file for example, opening it from our application share produces these reg keys:

 

[HKEY_CURRENT_USER\Software\Classes\.cwz_auto_file\shell\open\command]

@=""\\\\Application Server\\applications\\Circuit Wizard 3\\CktWiz.exe" "%1""

 

[HKEY_CURRENT_USER\Software\Classes\.cwz]

@="CircuitWizard.Document"

 

Come to think of it, I could probably just add those to the users GPO.

Posted
[HKEY_CURRENT_USER\Software\Classes\.cwz_auto_file\shell\open\command]

@=""\\\\Application Server\\applications\\Circuit Wizard 3\\CktWiz.exe" "%1""

 

[HKEY_CURRENT_USER\Software\Classes\.cwz]

@="CircuitWizard.Document"

 

Come to think of it, I could probably just add those to the users GPO.

 

Hmm, that hasn't seemed to have worked.

'Type' shows it as CircuitWizard.Document instead of the typical 'CWZ File' but it doesn't know what to open with.

 

cwz.png

2019-10-03 09_13_20-ShellView.png

Posted

A-ha!

It also created another key that I'd missed.. HKCU\Software\Classes\Applications\CktWiz.exe\shell\open\command

 

Set that one and it now works.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...