{"id":1055,"date":"2017-12-02T09:10:04","date_gmt":"2017-12-02T09:10:04","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1055"},"modified":"2020-01-09T09:27:25","modified_gmt":"2020-01-09T09:27:25","slug":"switch-to-the-finish-page-in-inno-setup-installation","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/switch-to-the-finish-page-in-inno-setup-installation\/","title":{"rendered":"Switch to the finish page in Inno Setup installation"},"content":{"rendered":"<p><strong>InstallerExpert created the topic: Switch to the finish page in Inno Setup installation<\/strong><br \/>\nI* added a few custom pages to my setup. In one of this custom pages I do some checks. If this checks failed, I want switch to finish page. How can I do this?<\/p>\n<p>I can not do this with ShouldSkipPage event function because:<\/p>\n<p><code>function ShouldSkipPage(PageID: Integer): Boolean;<br \/>\nbegin<br \/>\n  \/\/ this will NEVER happened - see documentation below<br \/>\n  if (PageID = wpInstalling) or (PageID = wpPreparing) or (PageID = wpWelcome) then<br \/>\n  begin<br \/>\n    \/\/ skip install - simply for example<br \/>\n    result := True;<br \/>\n    exit;<br \/>\n  end;<\/p>\n<p>  resutl := false;<br \/>\nend;<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>InstallerExpert created the topic: Switch to the finish page in Inno Setup installation I* added a few custom pages to my setup. In one of this custom pages I do&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[266],"class_list":["post-1055","post","type-post","status-publish","format-standard","hentry","category-general","tag-inno"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1055"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1055\/revisions"}],"predecessor-version":[{"id":1058,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1055\/revisions\/1058"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}