VS2010, Setup Project
I add a Search64bitOffice property in Search Target Machine,
Name Search64bitOffice
Property: OFFICEIS64BIT
RegKey: Software\Microsoft\Office\14.0\Outlook\Bitness
Root vsdrrHKLM
Value: x64
Then I add a launch condition Search64bitOffice
Condition: OFFICEIS64BIT
Message: This installer only works for 64 bit Office.
When I try installer on Win 7 64 bit + Office 32 bit, a window pops up saying “This installer only works for 64 bit Office” which is expected.
I click OK to dismiss the window, then another window comes up
saying
Installation Incomplete
The installer was interrupted before * could be installed. You need to restart the installer to try again. Click close to exit.
I do not want the second window to show up. How to remove it from installer? thanks
another question: how to use the reverse condition, say when the condition is false, I want installer to continue? I tried ~OFFICEIS64BIT, do not work
You can’t remove it. It’s the user exit dialog which is shown when the installation is cancelled by the user or a launch condition.
The most you can do is modify it, but this is not supported by Visual Studio.
Use NOT to negate the condition: