views:

124

answers:

1

I have a custom installer class that fires OnAfterInstall, how can I read values that were entered by the user in the pervious installation screens? The values are entered in textboxes.

Also how can I force the installation to fail in my custom installer class and display an appropriate message to the user regarding the failure?

+1  A: 

One solution would be to pass the values from the previous text boxes from page to page via Hidden Fields, then read from those fields when OnAfterInstall is thrown.

SauceMaster