Hi all,
I have managed setup with one custom dialog.(I'm asking user for some data (IP address, actually)). Using MsiRuntime.Session["IPADDRESS"] for storing user input.
I'm using Custom UI Dialog from samples as basis.
After installation a want to edit some files in INSTALLDIR, adding this user data to config files ...
When I tried to use e.session["IPADDRESS"] i get an exception "Cannot access session details from non immediate custom action"
So my question is how to pass this user input to AfterInstall func?
Or please point me to right place in documentation..
Thank you!
I have managed setup with one custom dialog.(I'm asking user for some data (IP address, actually)). Using MsiRuntime.Session["IPADDRESS"] for storing user input.
I'm using Custom UI Dialog from samples as basis.
After installation a want to edit some files in INSTALLDIR, adding this user data to config files ...
project.AfterInstall += project_AfterInstall;
and in project_AfterInstall(SetupEventArgs e) i'm trying to edit config files.When I tried to use e.session["IPADDRESS"] i get an exception "Cannot access session details from non immediate custom action"
So my question is how to pass this user input to AfterInstall func?
Or please point me to right place in documentation..
Thank you!