CAB file

I'm trying to build and install a new CAB file on a device (win compact 7) and when i'm double click the file I'm getting the message: "Need your permission to continue, Do you want to continue?" and when I press Yes the device lose his connection to the remote desktop. 1. how can I remove the question so that the CAB file will not ask for approval? 2. Why the device lose the connection?