Solution:
Download and install SQL Server Compact 3.5 SP2
Download link: https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=5783
After the download is complete, extract the file. There are SSCERuntime_x86-ENU.msi and SSCERuntime_x64-ENU.msi in the file. Double-click to install, and I installed both.