Link to home
Start Free TrialLog in
Avatar of cfans
cfans

asked on

Input Parameters for inno installer

Could I get some assistance in creating an installer.. I'm trying to create a custom wizard page, which I can do okay, but how can I reference the input values?  For example, the following code creates an edit button, but later on in the run section I'd like to use the input they have placed in the text area.
[Code]
var
  Edit: TNewEdit;
begin
  Edit := TNewEdit.Create(Page);
  Edit.Top := StaticText.Top + StaticText.Height + ScaleY(8);
  Edit.Width := Page.SurfaceWidth div 2 - ScaleX(8);
  Edit.Text := '...';
  Edit.Parent := Page.Surface;

...


[Run]
Filename: "{tmp}\final.bat"; Parameters: "****VALUE OF EDIT*****"

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Mirtheil
Mirtheil
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.