Forum LiberKey


https://www.liberkey.com/forum/

[solved] File Association for all files and folders

https://www.liberkey.com/forum/viewtopic.php?f=29&t=6886

Page 1 sur 1

[solved] File Association for all files and folders

MessagePosté: 10 Février 2015, 08:51
de Farrukh
Hi
I'm trying to create an association for all files and folders with Unlocker app. I tried to associate extension '.' (Dot) which is registered for "Files Folder" in Key files associate module. But it is not working in any case.
I also tried to create same with extension '*.*" but in vain.... :blink:

However, for individual extensions like EXE, DLL, it worked properly...

So How to create association for all files and folders with Unlocker?

Thanks
Farrukh

Re: File Association for all files and folders

MessagePosté: 10 Février 2015, 10:06
de Dji
You didn't have to handle them, it has been already added into LKS default associations (Liberkey Tools -> Enable File Associations):
2015-02-10 09-04-09.jpg
2015-02-10 09-04-09.jpg (25.83 Kio) Vu 18054 fois


Anyway, if you want to customize them more, you have to edit those associations (KeyFileAssoc -> File association configuration):
2015-02-10 08-44-02.jpg
2015-02-10 08-44-02.jpg (44.41 Kio) Vu 18054 fois

Re: File Association for all files and folders

MessagePosté: 10 Février 2015, 10:35
de Farrukh
Thanks Dji,
I'm using LB 5.8.1114. Here is the screenshot of my KeyAssociate Dialog:
Image

You can see it is missing "All Files" association. I think, it was there in previous versions...

Any help?

Re: File Association for all files and folders

MessagePosté: 10 Février 2015, 11:19
de Dji
Install Unlocker again, it will add missing associations .

You can also check with your favorite text editor if you have backups in your folder Liberkey\LiberKeyTools\KeyFileAssoc\bak containing the following text (well, except "..." ;-) ):
Code: Tout sélectionner
<FileType class="*">
  ...
</FileType>

and :
Code: Tout sélectionner
<FileType class="Directory">
  ...
</FileType>


If not, close KeyFileAssoc and add manually the following text into Liberkey\LiberKeyTools\KeyFileAssoc\KeyFileAssoc.xml, just after <AppsAssoc> :
Code: Tout sélectionner
      <FileType class="*">
         <TypeDescription.en>All files</TypeDescription.en>
         <TypeDescription.fr>Tous les fichiers</TypeDescription.fr>
         <TypeIcon index="54">%SYSTEMROOT%\system32\SHELL32.dll</TypeIcon>
         <Shell>
         </Shell>
         <TypeDescription>Tous les fichiers</TypeDescription>
      </FileType>
      <FileType class="Directory">
         <TypeDescription.en>Files Folder</TypeDescription.en>
         <TypeDescription.fr>Dossier de fichiers</TypeDescription.fr>
         <TypeIcon index="3">%SystemRoot%\system32\SHELL32.dll</TypeIcon>
         <Shell>
         </Shell>
         <TypeDescription>Dossier de fichiers</TypeDescription>
      </FileType>

Re: File Association for all files and folders

MessagePosté: 10 Février 2015, 14:16
de Farrukh
Great... I updated \LiberKey\LiberKeyTools\KeyFileAssoc\KeyFileAssoc.xml and it worked like a charm....

:lol: :woohoo:

Thanks a bunch buddy for a quick response and for a wonderful portable launcher + apps collection.
Really appreciating.. :reyes: