Downloader and installer in one application, MS Visual Studio c# -


i working on launcher application in visual studio, using c#, has option download , install app.

now problem is, since want keep in same app, how make installer? can make setup separate app, not need, need integrate installer in launcher, after files downloaded should automatically start installation process in background , report progress progress bar.

long answer:

the download part straightforward - download , report status progress bar.

installing setup more complicated. many require user input, can't show progress bar without showing installer's ui, mean that install owns progress bar well. assuming these setups have no requirement user input, showing progress depends on kind of setup is. if it's msi-based, example, there api based on msisetexternaluirecord there more progress show. if there errors, files-in-use situations, of can happen during progress phase, own ui , need deal them. there's more install progress bar. that's true of setup. it's not clear you're looking because setups own own ui , require user input, , require error reporting while installing, can fail , rollback, should progress bar go backwards too?

it's not clear expect when setups require prerequisites sql, net framework, vc++ runtimes etc installed.

short answer:

if use wix , burn bootstrapper pretty of exist, i'd see if meets requirements instead of doing scratch.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -