Quote:
Originally Posted by bunti_o4u
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;
|