When I run the install, it complains that "<szPath>\somesubdir" is not a valid path.
I used the following code:
RegDBGetKeyValueEx("SOFTWARE\\SomeCompany\\SomeProduct", "AppPath", nvType, svPath, nvSize);
ComponentSetTarget (MEDIA, "<szPath>", svPath);
szPropertyVar = "<szPath>";
MessageBox (szPropertyVar, INFORMATION);
and it displays:
<szPath>
I made sure that I'm calling this before the call to ComponentTransferData.
I wrote my code exactly like InstallShield's example in their help file. Am I doing something wrong, or is this a bug?