Tuesday, 15 March 2011

How would I do this in WiX? -



How would I do this in WiX? -

i need install programme consists of several files, windows programs do. but:

it needs work without admin. app set in application-local folder (something under %appdata%).

must not show ui or prompts (if no error). existing code extracts app-local directory , runs it. (it's smarter that, shows how simple utilize ad-hoc code in case)

download files. files may not needed, or not changed in update, won't in self-extracting exe, should downloaded url.

the c++ runtime dlls nowadays in system32, previous apps used official redistributable mm. if not, download files app-local directory. different (3) in rather seeing if identical file nowadays in target location, looks see if loadlibrary works. (likewise installed ttf fonts)

i'm overwhelmed looking @ wix docs page, , wonder if ill-fitted utilize wix. so, point specific instructions on how each of these?

thanks.

with windows installer, no. windows installer either shows @ to the lowest degree minimal startup ui or, if invoked appropriate command-line arguments, none @ all, if there error.

you utilize windows installer api install msi command how much ui shown , show own, including on error. but, wix gives platform that.

the wix toolset has bootstrapper/bundler/chainer/downloader/reboot handler/package manager msis , exes. since it's engine called "burn", bootstrappers created called "burn bundles." fire has extension point application concerns such ui, called bootstrapper application. standard bootstrapper application shows ui. can write own in c++ or .net.

that said, should realize 2 things. windows installer component manager. has database of installed components (such files) can shared across products. not suited self-extracting archive. wix bootstrapper similar, beingness bundle manager. has database of installed packages can shared across products. not bootstrapper.

i'm not sure point 4. cleaner install redistributables using vendors' installers, ideally can run silently , can own checking previous installation , create quick exit success. but, if find documentation on how check previous installation file or registry searching, can declare in wix bootstrapper bypass downloading , installing packages.

in wix bootstrapper, packages can marked permanent aren't uninstalled product uninstalled. apply c++ runtimes. way, products don't using wix bootstrapper won't broken uninstall.

btw—wix , visual studio utilize wix bootstrapper.

wix

No comments:

Post a Comment