Inno Setup – Signing fails with “Sign Tool failed with exit code 0x1”

You didn’t provide us any information that we can use to debug your problem. So I’m posting generic instructions to debug issues with a “sign tool”. Try command-line compiler (ISCC.exe). It will preserve a full signtool.exe error message in the output: Or temporarily prefix the sign tool command with cmd.exe /k to preserve its output … Read more

Installshield Custom Dialogue Installer

UAC Prompt: “If you Authenticode-sign your .msi package, Windows will show that as the name. Otherwise, you get MSI’s temporary copy of it, which has a random name.” (from Bob Arnson’s answer here (WiX developer & overall master of conciseness). So you need to get a digital code-signing certificate – if you don’t have one … Read more

Why does MSI require the original .msi file to proceed with an uninstall?

Fix Broken Uninstall: You can try the newest FixIt Uninstall tool from Microsoft if you have problems uninstalling an MSI. And one more link: Uninstalling an MSI file from the command line without using msiexec (a plethora of different ways to uninstall an MSI). UPDATE: This new support tool (this tool is now also deprecated) … Read more

How can I determine what causes repeated Windows Installer self-repair?

Self-Repair, Simple & Short Explanation: Why does the MSI installer reconfigure if I delete a file? Alternative Answer Available UPDATE: There is a shorter, more “solution focused” answer available, perhaps try it first. This answer focuses on “understanding self-repair” rather than explaining the steps to take to eliminate the problem. You might want to read … Read more

How do I avoid common design flaws in my WiX / MSI deployment solution?

WiX / MSI Deployment Anti-Patterns There are several deployment anti-patterns often seen in WiX / MSI files. Below is a rough-draft of some of the most common ones. Before going into the problems, on the other hand here is a quick reminder of the things that have made MSI an overall success! (despite its problems). … Read more