I want to know whether it is possible for Xcode to create any type of application that when opened, it would open a specified file on the desktop. It would also help if you could post the code to do this as well.
I would just put the file into an AppleScript application bundle and use the Finder to open it with the default application, for example:
Code:
set theFile to path to resource "Fake Profile.spx" -- a fake system profile
tell application "Finder" to open theFile -- open the file using the default application