program files folder in an INI file in WfWI
I need help understanding how to put an INI file into Wise for Windows Installer and set it depending on the bitness of a computer.
in the INI file, I wish to have the folder redirected to c:\program files or c:\program files (x86) depending on the bitness. I did a search but I can't recall how to set the INI file for this.
I thought it was like this:
[ProgramFilesFolder]Microsoft\Office=True (only an example, not the real folder)
Answer Chosen by the Author
I'd use INSTALLDIR instead, as your users might choose to install in a completely different folder, making your carefully crafted 'ProgramFiles' hack pointless! :-)
Thus in the INI table, your entries will look something like the below. Remember that directory properties are resolved to include the trailing backslash: