wixwix-extension

WXS - How to modify installation directory to append extra folder to install directory in Wxs file


How to modify installation directory to append extra folder to install directory in Wxs file. I am new to wxs file creation. Suppose my installation directory is **C:\Sample\Test** then I want to append one more directory path (example: **C:\Sample\Testz\data\install** ) to this location when we click on Next button on selecting installation directory. Any suggestion please.


Solution

  • You can use another property to fix it.

    e.g.

    <Property Id="AnotherDir" value="[FirstDir]\data\install" />