Page 1 of 1

Association of an extension

Published: January 19, 2017 - 5:25 PM
by f4242
Good morning,

I'm trying to modify the tis-adobereader package that I imported into my local repository. To associate .pdf files with Adobe Reader, I added the following instruction to my setup.py file:

Code: Select all

register_ext('Adobe Acrobat Reader DC', '.pdf', '"' + makepath(programfiles32, 'Adobe', 'Acrobat Reader DC', 'Reader', 'AcroRd32.exe') + '" "%1"')
Windows still asks me which software to use to open the file when I double-click on a PDF.

Am I using the register_ext function correctly?

THANKS!

Re: Adding an extension

Published: January 31, 2017 - 3:47 PM
by f4242
Person?

Re: Adding an extension

Published: February 20, 2017 - 4:57 PM
by f4242
The method used by wapt no longer works since Windows 8: https://blogs.technet.microsoft.com/mrm ... -protocol/

Re: Adding an extension

Published: February 28, 2017 - 4:33 PM
by sfonteneau
Yes, I just tested it.

I'll pass the information along!