MSI write the TARGETDIR to textfile

328 Views Asked by At

How to write MSI's TARGETDIR to a textfile? So that my program can refer to the path written there.

1

There are 1 best solutions below

0
On BEST ANSWER

This depends on the type of text file. If it is a plain text file you would have to use a custom action. Alternatively you can use the Windows Installer built in INI file editing support. http://msdn.microsoft.com/en-us/library/aa369282(VS.85).aspx