Association of an extension
Published: January 19, 2017 - 5:25 PM
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:
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!
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"')Am I using the register_ext function correctly?
THANKS!