During to create the EXE be careful to mark shared variable deployment check box.
Personally I suggest you to create your shared variable coding programmatically. So no need for external inputs. This will avoid all unexpected errors.
Create your variable library, configure data, save it and deploy it. I found this is the best way to deal with shared Variable.
I have the same issue. Is bound to be a silly overlook.
I'll impleemnt the suggestions and come back.
Gary, did you find a suitabel solution?