Executable not behaving correctly when launched using shell on Windows
Scott Rossi
scott at tactilemedia.com
Mon Sep 29 13:21:01 EDT 2003
On 9/29/03 10:48 AM, "Trevor DeVore" <lists at mangomultimedia.com> wrote:
> I created an installer which launches the executable after installing
> the program. In the installer code when the user clicks on the "Launch
> Program" button the installer launches the program using applescript on
> mac and shell on windows. On the Mac everything works fine. On
> Windows, the splash screen appears, then disappears but never opens the
> main program stack window. The process is open, but no window.
> Everything works fine if I double click on the program executable
> directly.
>
> The code I use to open the app from the installer is:
> put shortFilePath (pFilePath) into pFilePath
> set hideConsoleWindows to true
> put shell ("start" && pFilePath) into tError
>
> Has anyone encountered something similar and know of a solution?
You might be missing a title parameter in your shell string. Try:
put empty into tTitle
put shell ("start" && tTitle && quote & pFilePath & quote) into tError
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
More information about the use-livecode
mailing list