1

I have some DLLs and want them to be installed on Windows. I packaged them to both .msi (using WiX) and .exe (using Inno Setup). However, when installed both .msi and .exe on one machine, they looks like two program. Since I check the uninstall, and there are two programs there (one is installed with .exe and other is .msi)

My goal is to make they looks like same program, i.e. when .exe is installed and then .msi is also installed, the program should overwrite .exe, i.e. there should only be one program in the uninstall tab.

How can I achieve this? Should I use same upgradeCode or productCode?

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
Howard Yu
  • 171
  • 1
  • 10
  • Can you explain us, why do you have two installers, in the first place? – Martin Prikryl Mar 11 '16 at 10:13
  • I first ship the exe and then I want to change to msi. So for existing customers I want to make it convenient to overwrite the previous program installed by exe – Howard Yu Mar 11 '16 at 19:24

1 Answers1

1

Make your MSI installer uninstall the existing Inno Setup installation, before installing itself.

You can lookup a path to Inno Setup uninstaller in registry.

See also:

Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
  • I have the same problem. Innosetup uses english words for the AppId whereas Wix uses Guids. The Wix upgrade-related tags seem to insist on Guids. – 101010 Mar 12 '16 at 14:09
  • You can use GUID in Inno Setup too. But the problem is not in AppID. You just cannot make these systems compatible. – Martin Prikryl Mar 12 '16 at 14:36