[Bug 7410] New: making File association by editing registry
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(a)winehq.org ReportedBy: ravinderonline(a)yahoo.com CC: dank(a)kegel.com,infyquest(a)gmail.com,ravinderonline(a)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? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs