WHAT I AM TRYING TO ACCOMPLISH
I am trying to run the .msi file silently passing in a TARGETDIR. I would like to keep the installation directory in an .ini file on the network server so that all workstations will be install to the same installation directory. My hope is that the .msi will read the value in the .ini and install the application to the directory contained therein.
WHAT I HAVE ATTEMPTED (WITHOUT SUCCESS)
1. I have created a "Search" that is looking for a file C:\WTXUpdatePac.ini.
These are the settings for the ini search location:
WTX_DEF_DIR (Search/Property Name)
Section: Variables
Key: localpath
Field: 0
Type: "The ini value contains a path to a directory"
INI File Data
[Variables]
localpath=C:\Backup
2. Under "Installation Parameters" the WTX_DEF_DIR search property created in the Project Settings >> Search options is referenced:
Application Folder - [ProgramFilesFolder][WTX_DEF_DIR]
3. I expect that when the user sees the "Select Location" dialog box the value from WTX_DEF_DIR will be populated. I also expect the WTX-DEF_DIR to be used when installing silently. This is not the case. Please advise.