http://bugs.winehq.org/show_bug.cgi?id=7410
Summary: making File association by editing registry Product: Wine Version: 0.9.30. Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-binary AssignedTo: wine-bugs@winehq.org ReportedBy: ravinderonline@yahoo.com CC: dank@kegel.com,infyquest@gmail.com,ravinderonline@yahoo. com
I am running a VC++ based application on Linux with the help of wine. Everything works fine but i am not able to open its help file which is in pdf format.
I tried to trace the reason why pdf isnt being open. It is due to no association found for pdf file in wine registry. I tried to associate the XPDF for pdf file but i am not sure why its not working properly.I did following changes
Added following lines in /usr/local/share/wine/wine.inf and /usr/share/wine/wine.inf and ran the wineprefixcreate.
Added these lines near classes in alpha betical order HKCR,.pdf,,2,"pdffile" HKCR,.pdf,"Content Type",2,"application/pdf"
and near the txtfile/open ..... HKCR,txtfile\shell\open\command,,2,"%11%\notepad.exe %1" HKCR,txtfile\shell\print\command,,2,"%11%\notepad.exe /p %1" HKCR,pdffile\shell\open\command,,2,"xpdf %1"
After running wineprefixcreate my system.reg was updated as following.
[Software\Classes\.pdf] 1171350687 @="pdffile" "Content Type"="application/pdf"
[Software\Classes\pdffile\shell\open\command] 1171350687 @="xpdf %1"
Can anyone suggest where i am doing the mistake?