innosetup default displays license agreement in tiny text area user can't make bigger in way.
while know people don't read these, feel providing in format makes particularly hard read bad idea, , might form part of defense in court.
is there way in innosetup display license in large separate window? pre-rolled pascal script perhaps?
you can change wizardform size , rearrange controls in if want make bigger. made example show how change form height license page.
[setup] appname=stackoverflow large license box appversion=1.0 createappdir=no disableprogramgrouppage=yes defaultgroupname=my program uninstalldisplayicon={app}\myprog.exe licensefile=license.txt ;outputdir=userdocs:inno setup examples output [code] var defaulttop, defaultleft, defaultheight, defaultbacktop, defaultnexttop, defaultcanceltop, defaultbeveltop, defaultouterheight: integer; const licenseheight = 600; procedure initializewizard(); begin defaulttop := wizardform.top; defaultleft := wizardform.left; defaultheight := wizardform.height; defaultbacktop := wizardform.backbutton.top; defaultnexttop := wizardform.nextbutton.top; defaultcanceltop := wizardform.cancelbutton.top; defaultbeveltop := wizardform.bevel.top; defaultouterheight := wizardform.outernotebook.height; wizardform.innerpage.height := wizardform.innerpage.height + (licenseheight - defaultheight); wizardform.innernotebook.height := wizardform.innernotebook.height + (licenseheight - defaultheight); wizardform.licensepage.height := wizardform.licensepage.height + (licenseheight - defaultheight); wizardform.licensememo.height := wizardform.licensememo.height + (licenseheight - defaultheight); wizardform.licensenotacceptedradio.top := wizardform.licensenotacceptedradio.top + (licenseheight - defaultheight); wizardform.licenseacceptedradio.top := wizardform.licenseacceptedradio.top + (licenseheight - defaultheight); end; procedure curpagechanged(curpageid: integer); begin if curpageid = wplicense begin wizardform.top := defaulttop - (licenseheight - defaultheight) div 2; wizardform.height := licenseheight; wizardform.outernotebook.height := wizardform.outernotebook.height + (licenseheight - defaultheight); wizardform.cancelbutton.top := defaultcanceltop + (licenseheight - defaultheight); wizardform.nextbutton.top := defaultnexttop + (licenseheight - defaultheight); wizardform.backbutton.top := defaultbacktop + (licenseheight - defaultheight); wizardform.bevel.top := defaultbeveltop + (licenseheight - defaultheight); end else begin wizardform.top := defaulttop; wizardform.left := defaultleft; wizardform.height := defaultheight; wizardform.outernotebook.height := defaultouterheight; wizardform.cancelbutton.top := defaultcanceltop; wizardform.nextbutton.top := defaultnexttop; wizardform.backbutton.top := defaultbacktop; wizardform.bevel.top := defaultbeveltop; end; end;
copy new iss file , provide valid license.txt file in order compile successfully. script tested inno 5.4.0 should work 5.x.
Comments
Post a Comment