I have been trying for a week without success to get one of my prerequisites to install when building the installer with A.I. 22.9. No matter what I do, when I run the installer, the log says:
MSI (c) (D4:1C) [15:30:09:436]: PROPERTY CHANGE: Adding AI_FOUND_PREREQS property. Its value is 'Microsoft Visual C++ 2008 Redistributable'.
Even though the prerequisite is not installed.
I have tried:
- setting up a condition, !(if registry key exists HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A25302D-30C0-39D9-BD6F-21E6EC160475})
- always installing the prerequisite without a condition
- installing before and during the Main package (after won't work, as I need this to be installed before my custom actions run)
none of these methods work - in each case, the installer decides that it's already installed and doesn't run the prerequisite's installer.
I searched the forum for another post about prerequisites not being installed, and found one where the user set up a custom action to run his prerequisite installer using that mechanism. I tried this too, but then I got the dreaded 1618 error return from the vcredist_x86.exe, because you apparently can't run it from within an msi while it's executing.
In that post, Caitlin asked for a minimal example; I've attached a stripped down .aip script that hopefully can help track the problem down. (I can't attach the redistributable .exe because it exceeds the 1Mb limit for your attachments.)