We have a Cold Fusion database that we normally host and track completions for courses built in Captivate (SWF). We have some external courses that are .exe type that the powers that be want hosted on our database. I was hoping to make a Captivate project that would call the .exe course then after the exe was done playing it would then open a survey for the student to complete and get credit for the training.
So far I’ve had no luck with that then I thought maybe there would be a Flash solution but I haven’t played in Flash forever. Then I think you mentioned using Adobe Air but I’m not familiar with Air.
I have no idea why the originators decided to put this in an exe format.
Thanks for your time.
Susan
That makes more sense.
Unfortunately something as simple as setting the end action to open an URL or file will do nothing more than what Flash would do with navigateToURL(). If you specify the .exe of the course to run it will attempt to load that .exe in a browser which will probably just ask you to save the .exe (like Chrome does). To my limited knowledge of Captivate, there's no simple built in interaction capable of launching an .exe, especially not from a SWF as it's still limited to the SWFs capabilities. Launching executables is not a capability of a SWF, regardless if Flash or Captivate made it. And you couldn't watch the EXE's process from a SWF to know when it ends regardless.
Are the executables you need to run simply other Captivate projectors or Flash projectors and if so do you have access to the source files for them? If you can simply get those to publish into SWF then you won't need to launch an executable at all. That is the ideal route.
If not then I think you're up a creek without a paddle without invoking an advanced solution. This goes against what seems like your desire however, which is not to use executables, but only an executable with the permission to run a process is able to start one of those .exes.
For example you could publish your course to SWF from Captivate. You could import that SWF into a Flash project and then leverage the capabilities of Flash/AIR. You would need to find a way to detect the end of the course in Flash from Captivate by getting it to emit something Flash/AIR could detect (perhaps it's the last frame of the SWF or something else easy, or you might need an advanced action). Once you alert Flash/AIR that the quiz has completed, AIR would have the ability to launch an executable.
Outside this I don't see what you want as being possible with Flash. Executables are OS-level security and SWF simply isn't capable.