0

Is there a way to run the repair functionality of an EXE created using WiX?

Specifically, this program using WiX and defines some commands such as /quiet, /passive, /uninstall, but nothing for /repair, but it does offer a button when the installer is run again and the application exists.

Been searching through the source code but I'm unfamiliar with WiX and not sure how the button links back to a particular function, or if there is another built-in Windows action I can use on the compressed MSI.

4
  • What have you tried?
    – Ramhound
    Mar 19 at 13:11
  • @Ramhound Ah the old StackOverflow "well, what have you done?". Apart from letting you know I've already tried /repair and looked through source code without success, what would you like to know? Extracting in 7zip revealed nothing, running /uninstall /log log.txt gave a lot of information regarding the ProductCode for the registry so I could try with msiexec /f but I have no way to verify that the GUID is unique to the binary I have or is system specific; so access the already included repair functionality would be ideal.
    – pstatix
    Mar 19 at 14:51
  • @Ramhound ./repair wouldn't be a command, and why would you log to an .exe?
    – pstatix
    Mar 19 at 14:59
  • So.. coming out of nowhere.. I have written countless MSI installers. Wix exe should be nothing more than a wrapper around MSI. Wix produces MSI installers. Figure out what .msi was dropped on your system by the exe. repair that.. I hope I am not just being stupid (I doubt it but possible) Mar 19 at 16:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.