Bo Peng asked:
It is confirmed that if the .bst file is in a path without space, the bibliography will be generated correctly, even if lyx is installed under c:\program files\lyx.
Yes, I can confirm this.
1. It is safe to install lyx to c:\program files,
Yes it is.
2. It is not safe to put .bst files in a path with spaces. .lyx files and all figure files are OK, as well as .bib files.
Also yes. The problem is only a problem of bibtex not of LyX. I sent a bug report to the MiKTeX developer. Perhaps he has a fix for this. regards Uwe