Request - Default Programs Editor

Discuss and share scripts and script files...
Post Reply
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Request - Default Programs Editor

Post by SkyFrontier »

It may sound silly, but I've spent 8 hours around this and came up with nothing.

The idea: a simple interface thru which a list of extensions could be parsed and a default program defined for them.

The problem: for instance I see lists like
http://superuser.com/questions/664543/c ... t-programs
but there are information on not every program being able to register itself into modern Windows'es - and that being an issue on internal design, ie, no workaround would work.

The ridiculous: even trying to "set this program as default", one file type at a time, fails for a particular app (irfanview portable). :bug:

I've came across few programs which could deal with the issue, but I'm not satisfied with any. One was caught trying to phone home. :blackstorm:

Thanks in advance.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

Stef123

Re: Request - Default Programs Editor

Post by Stef123 »

I am also interested in a solution. It were nice to operate my private home machine just like a regular user, but with the very same portable programs I use at work, calling them as if they were installed. This was easy with earlier Windows versions, but Win7 and later don't allow the assignment of exe-files that are not installed.
SkyFrontier wrote:I've came across few programs which could deal with the issue, but I'm not satisfied with any.
What exactly are you after? Registering portable apps with the system? Or getting XY's POM/PFA feature outside of XY?
http://www.donationcoder.com/forum/inde ... #msg260989

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Request - Default Programs Editor

Post by SkyFrontier »

Stef123 wrote: What exactly are you after? Registering portable apps with the system? Or getting XY's POM/PFA feature outside of XY?
http://www.donationcoder.com/forum/inde ... #msg260989
Both. :?
-thanks for the DC's link, that one escaped my g-searching. :cup:
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

highend
Posts: 14940
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Request - Default Programs Editor

Post by highend »

Windows 8+ / Server 2012+ require a hash to set a program as default.

It's possible in corporate environments (active directory - gpos) by (I call that a hack):
http://blogs.technet.com/b/mrmlcgn/arch ... tocol.aspx

In a normal user environment...
https://msdn.microsoft.com/en-us/librar ... 85%29.aspx
Note We recommend you call the Set associations for a program by using IApplicationAssociationRegistrationUI::LaunchAdvancedAssociationUI.
So you'd need to call that api and then automate that window...
One of my scripts helped you out? Please donate via Paypal

Post Reply