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:

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

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -