windows - how to bundle dependencies in exe -
often exe's have dll dependencies package installer nsis or inno. makes sense large programs overkill small scripts.
is there alternative way bundle dependencies, user can execute single exe , not require directory of dll's in path?
edit
i hoping solution won't depend on type of dll's, , work other kinds of dependencies too.
here potential options:
- http://www.adontec.com/index.htm?go=/runtimepacker_e.htm
- http://boxedapp.com/
- http://www.filetransit.com/view.php?id=16640
does have experience tool this?
ok, didn't either of other 2 ideas... here goes...
you ship , give customers "stub exe". stub exe doesn't depend on else , contains zip file (or setup package or similar) resource in stub exe. zip file embedded in stub exe contains actual program exe , dependent dlls. when stub exe runs, unpacks zip file temp sub-directory , launches application exe.
you optimize such if app has been installed in %temp%, skip unpacking step , launch application exe present.
personally, wouldn't go route. give user installer if exe has dependencies. know users , customers better do.
Comments
Post a Comment