c# - Wix: How far can I go with custom action? -
i want build wix installer detect few programs of mine , update them.
i have c# code (using dll) check few things on system, want download table of recent version of apps, decide app need update, , download & update selected ones.
so question is, can wix preform following actions:
1) run dll call using c#?
2) download file web , parse (let's - using c#)?
3) go link , download msi\exe?
4) install msi\exe (let's run on silent mode)?
5) uninstall old other apps system?
1) yes keep in mind if have dependency on .net 3.5 , on box .net 4 custom action not able run. besides custom action dll unpacked msi %temp% folder. if have dependency other dlls not stored in gac fail load. if bring in e.g. c++ dll have embed resource in c# dll , unpack find it.
2) can whatever have rights for.
3) sure
4) 1 msi installation can run @ 1 time. have spawn child process wait until current installation over.
5) yes sure. easiest way add upgrade table msi uninstall software has upgrade code. allowed action 2 msis @ same time can active. @ installexecute sequence table removeexistingproducts action.
Comments
Post a Comment