How to uninstall .exe packages which are installed by executing an installer through wix -


i prepared installer on execution install .exe packages while uninstalling installer .exe packages not getting uninstalled.

you using detect condition wrong. detect condition used check whether package present or not on system already.

a condition determines if package present on target system. condition can use built-in variables , variables returned searches. condition necessary because windows doesn't provide method detect presence of exepackage. burn uses condition determine how treat package during bundle action; example, if condition false or omitted , bundle being installed, burn install package.

generally use registry search looking key added exepackage. use result="exists" in search set variable true or false use in detectcondition.

additionally, need supply uninstallcommand

the command-line arguments provided exepackage during uninstall. if attribute absent executable launched no command-line arguments. prevent exepackage being uninstalled set permanent attribute "yes

this give cmd args ruby installer uninstall it. should able find cmd arguments through installer using /? or -? or resource online.


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -