I'm having an issue with a file.  Here is my scenario:

FileB -Install_input (x86).txt

FileC -Install_input (x64).txt

The file name once installed should be, "Install_input.txt".  This will be based on the processor type.

I've gone to the component details and inserted the following:


under condition.  

Unfortunately, this is not working.  

The installer_input.txt file is basically an answer file.  Inside determines if installed to C:\program files or C:\Program Files (x86).

I want to make sure the correct installer_input.txt file is installed onto the machine.  Just trying to figure out what the heck I'm doing wrong as I've done similar things like this before using the PROPERTIES table.  I figured this time I would use a system environment variable to determine which file gets installed.


2 Comments   [ - ] Hide Comments


  • Should you not be closing %PROCESSOR_ARCHITECTURE with an ending %?

  • That's not it, the syntax here is correct. The problem was that I had the entry in my duplicate files table messed up. Thanks for the help.
Please log in to comment

Answer this question or Comment on this question for clarity



If you want to use OS architecture instead of the Processor Architecture you should use Windows Installer variable VersionNT64. It exists only on x64 systems.

In Component table insert conditions for both components:

- x64 component: VersionNT64

- x86 component: Not VersionNT64

As a result, x64 component will be deployed only to 64-bit OS and x86 component to 32-bit OS.

Answered 07/07/2013 by: Muzman
Senior Yellow Belt

  • >The installer_input.txt file is basically an answer file
    I'd be capturing this one.
Please log in to comment