Wix - Uninstall another product another context, redistribute MFC -


we want have installer must :

  • remove product b (we know product guid)
  • redistribute mfc 2008, 2010 , 2012
  • write registry entries in hklm

b installed per-user. since in our current implementation redistributes mfc using merge modules, installs per-machine. therefore majorupgrade same upgrade code doesn't work. tried running script "msiexec /x {product guid of b} /q" custom action during installation of a, windows has mutex (_msiexecute) allows 1 execute sequence per machine; therefore idea doesn't work too.

our ideas :

  1. redistribute mfc using way merge modules, , install per-user (even if writes in hklm, yes know it's bad practice, simple implement)
  2. implement installer of bootstrapper/chainer (and therefore installer of file setup.exe) , run uninstall command after execution of msi

what suggestions ?

finally found solution :

  • write program (in c# .net 3.5 example) install a. if install succeed, uninstall b. sure c# .net 3.5 installed on our customer's machine.
  • "wrap" above program , msi using iexpress. output self extracting .exe file, execute above program. deliver file customer.

Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -