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 :
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.
Don't know how to add it & What value should come in this.
CodePudding user response:
Seems like setting elevated privilege, scope admin image can be helpful for you. Better to set all of them as shown, but if you have some restrictions about scope or so, just try different combinations.
<Package InstallPrivileges="elevated" AdminImage="yes" InstallScope="perMachine">
CodePudding user response:
Bootstrapper projects produce bundle .exes. They cannot produce .msi packages. If you must deliver only one .msi, you'll need to combine the MsiPackage
s in your bundle into one.