Sign in to follow this  
Followers 0
Beege

U3 Application Builder

2 posts in this topic

#1 ·  Posted (edited)

Here is a U3 application Builder that I put together for some of my Autoit programs. This is really only for basic stand-alone exe's. Not large programs that have multiple files. Most of the information I got about how U3 Apps work was from this website. The Do_Nothing.exe is for the configure, stop, and unconfigure actions that need an exe. It literally does nothing in case anyone is wondering (or nervous). Drop me a line if you have any problems. Thanks for looking.

Credits go to:

torels_ and smashley - zip functions

argumentum - manifest file (and idea)

U3_EXE_Packer.zip

Edited by bchris01

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Cool man,

really nice job..

For those interrested

; U3 Section
$U3AS = EnvGet("U3_ACTION_SPEC")
$U3AV = EnvGet("U3_ACTION_VERSION")
$U3ADP = EnvGet("U3_APP_DATA_PATH")
$U3DCC = EnvGet("U3_DAPI_CONNECT_STRING")
$U3DDP = EnvGet("U3_DEVICE_DOCUMENT_PATH")
$U3DEP = EnvGet("U3_DEVICE_EXEC_PATH")
$U3DP = EnvGet("U3_DEVICE_PATH")
$U3DPN = EnvGet("U3_DEVICE_PRODUCT")
$U3DS = EnvGet("U3_DEVICE_SERIAL")
$U3DV = EnvGet("U3_DEVICE_VENDOR")
$U3DVI = EnvGet("U3_DEVICE_VENDOR_ID")
$U3EL = EnvGet("U3_ENV_LANGUAGE")
$U3SV = EnvGet("U3_ENV_SUB_VERSION")
$U3EV = EnvGet("U3_ENV_VERSION")
$U3HEP = EnvGet("U3_HOST_EXEC_PATH")
$U3AR = EnvGet("U3_IS_AUTORUN")
$U3IDA = EnvGet("U3_IS_DEVICE_AVAILABLE")
$U3U = EnvGet("U3_IS_UPGRADE")

; Check if run from U3 device

If $U3IDA = "true" Then 
     ;Run from U3 = yes 
EndIf

$U3DDP -> This is the default documents folder of the U3 device

$U3DEP -> Store your help files (Device folder U3P file)

$U3ADP -> Ini files these will remain on the U3 device (Data folder U3P file)

$U3HEP -> Your program will be stored here (Host folder U3P file)

remark : You are using the internal zipper from Windows, Windows 2000 has no builtin zipfunction but has U3 support

Best regards,

Emiel

Edited by Emiel Wieldraaijer

Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0