sorry i didn't reply sooner, i completely missed your post.
can you try replacing the line of code 2805 which is this...
p.WshShell.Run(p.fso.GetFile(p.script_path + "sqlite3.exe").ShortPath + " " + p.fso.GetFile(fb.ProfilePath + "customdb_sqlite.db").ShortPath + " " + query1, 0, true);
try this instead....
try {p.console(p.fso.GetFile(p.script_path + "sqlite3.exe").ShortPath);}catch(e){p.console("ShortPath fail on " + p.script_path + "sqlite3.exe");}
try {p.console(p.fso.GetFile(fb.ProfilePath + "customdb_sqlite.db").ShortPath);}catch(e){p.console("ShortPath fail on " + fb.ProfilePath + "customdb_sqlite.db");}
p.WshShell.Run(p.script_path + "sqlite3.exe" + " " + fb.ProfilePath + "customdb_sqlite.db" + " " + query1, 0, true);
post what the console says. for example, mine says this...
Last.fm Playcount Sync: Contacting Last.fm....
Last.fm Playcount Sync: Last.fm responded ok. Attempting to update playcount...
Last.fm Playcount Sync: E:\FOOBAR~1\marc2003\sqlite3.exe
Last.fm Playcount Sync: E:\FOOBAR~1\CUSTOM~1.DB
Last.fm Playcount Sync: Playcount updated successfully.