For Migrating Database to Compact edition
This OR
This
and for your second question you must not use absolute path in your project. make sure that you add all necessary file in your setup project like all dlls of sqlce database,your database,imagefiles etc