[Bug 7410] New: making File association by editing registry
Wine Bugs
wine-bugs at winehq.org
Tue Feb 13 02:42:08 CST 2007
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 at winehq.org
ReportedBy: ravinderonline at yahoo.com
CC: dank at kegel.com,infyquest at gmail.com,ravinderonline at 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.
More information about the wine-bugs
mailing list