Problem with "Save As Standalone App"
J. Landman Gay
jacque at hyperactivesw.com
Tue Jul 19 18:46:44 EDT 2005
Ban Nguyen wrote:
> It took so long to finish. I created a new folder to save it. I opened
> the folder. It has two file myfile.rev(400,000 KB) and myfile.exe(1,650
> KB). I clicked on the myfile.exe. It displayed an error: "cannot open
> file myfile.exe, error message 0, 0"
>
> Does anyone have any idea what's happening?
>
> I tried to save a small application and I worked fine. The only file
> that I see after saving as standalone is .exe file (no .rev). I don't
> know if something wrong with the big file????
I don't know what is wrong, but here are some general things that cause
problems:
1. The path to the stack contains non-ASCII characters, such as
diacritical marks or accent marks. Avoid the use of accented or
non-ASCII characters in path names.
2. The standalone builder is set to search for inclusions but the stack
is password protected. Select the inclusions manually instead, or remove
the password.
3. Alternately, the standalone builder may be having trouble searching
for the required inclusions regardless of password protection. Turn off
"Search for required inclusions" and turn on "Select inclusions for the
standalone application." Then choose the resources you need to include
yourself in the Standalone Settings dialog.
4. The folder name is the same as your standalone's name. You need a
unique folder name; make sure you select an empty folder with a name
different from the standalone's name. If you have previously built a
standalone from the same stack, do not try to build a new one into the
same folder. Trying to overwrite an existing standalone with a new one
can casue problems. Rename or remove the old folder first, and then build.
5. Your source stack's file name does not use an extension, or uses an
incorrect extension. Make sure your stack's file name ends with the
extension ".rev"
6. Your source stack contains duplicate "message box" or "ask" or
"answer" dialogs. Remove the embedded stacks and let the standalone
builder add them instead. (This usually only occurs with stacks
originally created in MetaCard.)
More information about the use-livecode
mailing list