Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top