View Single Post
  #660  
Old 17-04-2018, 01:21
ffmla ffmla is offline
Registered User
 
Join Date: Nov 2014
Location: Digital world
Posts: 112
Thanks: 609
Thanked 65 Times in 41 Posts
ffmla is on a distinguished road
Quote:
Originally Posted by bunti_o4u View Post
I tried to create new page between welcome page and select directory page but no new page is getting created in the installer.

procedure CurPageChanged(CurPageID: Integer);

wpLicense:
begin
ButtonSetText(NextBtn,'Proceed');
ButtonSetText(BackBtn1,'Back');
end;

function ShouldSkipPage(PageID: Integer): Boolean;
begin
if (PageID =wpLicense)or(PageID =wpInfoBefore)or(PageID =wpUserInfo)or(PageID =wpSelectComponents)or(PageID =wpSelectProgramGroup)or(PageID =wpSelectTasks)or(PageID =wpReady)then
Result:= True;
end;
You may test this.
In function ShouldSkipPage(PageID: Integer): Boolean; function you need to mention which page you want to hide.
ie. You use wpLicense page,then remove it from hide function.
Quote:
function ShouldSkipPage(PageID: Integer): Boolean;
begin
if (PageID =wpInfoBefore)or(PageID =wpUserInfo)or(PageID =wpSelectComponents)or(PageID =wpSelectProgramGroup)or(PageID =wpSelectTasks)or(PageID =wpReady)then
Result:= True;
end;
Reply With Quote