You can use Session.Property to access the CustomActionData property. Below is a jscript example that I have
used to test this in the past:
var fso = new ActiveXObject("Scripting.FileSystemObject");
var filename = "C:\\install.txt";
var ts = fso.CreateTextFile(filename);
ts.WriteLine(Session.Property ("CustomActionData"));
ts.Close();
--
Mike Wade, VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Rob Oliver" <ro*****@hotmail.com>
Subject: VS.Net Setup Projects: Passing data to a Custom Action
Date: Sun, 14 Dec 2003 15:23:16 -0500
Hi,
I've seen a walkthrough for passing data from a setup project to a custom
action (an application) with an InstallClass. I am curious though--can the
data also be intercepted by a custom action defined as a vbscript? If so,
does anyone have any idea how it would be accomplished?
Thanks!
Rob Oliver