Search code examples
windowswixwindows-installerwix3.7

Installer '.msi' Not Working Which Is Created By Using WIX


I have one add-in project that uses a WIX tool to create an installer. Previously, I was making '.exe' which was running fine.

But now requirement is changed due to security concerns. Now I want to create '.msi' file.

WIX gives me '.msi' successfully at 'C:/Path/To/MSI/addin.msi'.

But when I try to install the add-in by double-clicking on it, It's giving me an error :

enter image description here

When I try to hit command 'C:/Path/To/MSI/addin.msi' in CMD with administrator privileges, It works fine.

After Sometimes, I have found that created msi doesn't having revision number in properties.

enter image description here

Don't know how to add it & What value should come in this.


Solution

  • Bootstrapper projects produce bundle .exes. They cannot produce .msi packages. If you must deliver only one .msi, you'll need to combine the MsiPackages in your bundle into one.