I am creating an installer for an SDK, which includes source code to be compiled by the end-user.
I want my Wix installer to put this in the users' home directory by default, but I can't find the right property name to use.
TARGETDIR is where you want to install to, SourceDir is the path to where the installation package you are running is located: msdn.microsoft.com/en-us/library/aa372452(VS.85).aspx. – Stein Åsmul.
Navigate to WiX's bin directory from a command prompt and type heat.exe -? to see information about its usage. To make things easy, consider adding the path to the WiX bin directory to your computer's PATH environment variable so that you won't have to reference the full path to the executable each time you use it.
The Fragment element is the building block of creating an installer database in WiX. Once defined, the Fragment becomes an immutable, atomic unit which can either be completely included or excluded from a product.
You could also reference the HOMEPATH
environment variable with [%HOMEPATH]
. For more detail about the syntax used for properties, see the Formatted datatype.
I believe you are looking for PersonalFolder
.
There is a full list of special folders here:
http://msdn.microsoft.com/en-us/library/aa370905%28VS.85%29.aspx#system_folder_properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With