CustomActionData is the place holder for the data that you pass to your deferred custom action. When you make your custom action immediate, you can access properties directly in your custom action and retrieve them in you C# custom action by :
string location = session["INSTALLFOLDER"]; One can pass multiple values also. CustomActionData at that time is basically an array of multiple strings separated by a comma. -----Original Message----- From: dysert [mailto:bdys...@one-view.com] Sent: Thursday, May 08, 2014 10:34 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Running DOS commands from installation Thanks, Pavankonduru. May I ask, where does the word "CustomActionData" come from that's used to index into Session? Is it derived from the value of the BinaryKey? Is it a constant? Or what? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Running-DOS-commands-from-installation-tp7594577p7594608.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Is your legacy SCM system holding you back? Join Perforce May 7 to find out: • 3 signs your SCM is hindering your productivity • Requirements for releasing software faster • Expert tips and advice for migrating your SCM now http://p.sf.net/sfu/perforce _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users