I have a requirement that i need to list out all file's location on the target machine during installation.

component1 => mapped with a example.dll which will go GAC
omponent2=> mapped with a example.exe which will go system32
omponent3=> mapped with a example1.dll which will go InstallDir\Program Files (x86)\Application\example1.dll

Using custom action/script, i need to create a text file which contains file's location.

"C:\Program Files (x86)\Trend Control Systems\Application\example1.dll"

Thanks in advance