How can I access my session property?
the same was as you assigned it:
DirFiles failed? How can I take all files from all subfolders?
You need to use "Files" class . Have a look at Release Folder sample.
A few notes.
It is better not to use square brackets in the explicit IDs (e.g. 'new Dir(@"[INSTALLDIR]"') as these brackets have special meaning for MSI/WiX. In fact you can skip , INSTALLDIR at all as it will be auto generated for you.
Also keep in mind that if you preserve wxs file with Compiler.PreserveTempFiles = true; you can troubleshoot your setup more effectively.
the same was as you assigned it:
string value = session["property name"];
You need to use "Files" class . Have a look at Release Folder sample.
A few notes.
It is better not to use square brackets in the explicit IDs (e.g. 'new Dir(@"[INSTALLDIR]"') as these brackets have special meaning for MSI/WiX. In fact you can skip , INSTALLDIR at all as it will be auto generated for you.
Also keep in mind that if you preserve wxs file with Compiler.PreserveTempFiles = true; you can troubleshoot your setup more effectively.