Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Downloading external .exe file in AW Web app -- Help!

0 views
Skip to first unread message

Jim Myers

unread,
May 13, 2002, 7:21:30 PM5/13/02
to
My client needs to run an external program (wmpcdcs8.exe) to update
codecs to view videos in an AW app.

I used JumpOutReturn to call the .exe file, but then could not
successfully pass command-line paramaters to run it in "silenced" mode as
my client wishes. Thanks to this newsgroup, I've tried BudAPI's
baRunProgram function. As far as I can tell, it works just fine from CD.

Packaged for the Web, my piece just locks up. I must be doing something
wrong in trying to download the external program file.

Map file for a tiny test app looks like this:

0 6
get .
seg all inst0000.aas 0 13048
put .
bin win "wmpcdcs8.exe" "wmpcdcs8.exe" length=733528
get XTRAS
put XTRAS
bin win32 "ACTIVEX.X32" "ACTIVEX.X32" recycle,length=151552
bin win32 "BUDAPI.X32" "BUDAPI.X32" recycle,length=217088
bin win32 "GIFIMP.X32" "GIFIMP.X32" recycle,length=53760
bin win32 "JPEGIMP.X32" "JPEGIMP.X32" recycle,length=93696
bin win32 "MIX32.X32" "MIX32.X32" recycle,length=119296
bin win32 "MIXVIEW.X32" "MIXVIEW.X32" recycle,length=48128
bin win32 "VIEWSVC.X32" "VIEWSVC.X32" recycle,length=93696
# HTML_PARAMS: WIDTH=640 HEIGHT=480 BGCOLOR=FFFFFF
opt all BypassSecurityDialog=FALSE
opt all UniqueID=9953171


That .exe file is in the same directory as the map file on the server.
Where do I PUT it so Authorware can find it?

Am I missing some vastly easier way to do all this?

Thanks

Jim Myers
INTECH Interactive Technologies
mye...@intechinc.com

Steve Howard

unread,
May 13, 2002, 7:33:18 PM5/13/02
to

> Packaged for the Web, my piece just locks up. I must be doing something
> wrong in trying to download the external program file.
>
> Map file for a tiny test app looks like this:
>
> 0 6
> get .
> seg all inst0000.aas 0 13048
> put .
> bin win "wmpcdcs8.exe" "wmpcdcs8.exe" length=733528

Many servers will not let you download exe files. Change the name of the
file on the server to wmpcdcs8.aab, than change your map file to suit

seg all inst0000.aas 0 13048
put .

bin win "wmpcdcs8.aab" "wmpcdcs8.exe" length=733528

HTH

Steve


--
Team Macromedia Volunteer - Authorware
MX preview releases:-
www.macromedia.com/software/trial/
-----------------------------------------
Authorware Web FAQs
http://www.tomorrows-key.com/web_delivery/index1.htm
-----------------------------------------
http://www.eurotaac.com
-----------------------------------------
http://www.authorware.org.uk
-----------------------------------------

Jim Myers

unread,
May 16, 2002, 11:05:57 AM5/16/02
to
> Many servers will not let you download exe files.

Thank you, Steve.

That was the main part of my problem.

AW still seemed to have trouble finding my .exe file when I used "PUT ."
but when I PUT it to a specific directory (put .\PROG) and then look there
from my AW app all works smoothly.

0 new messages