开发者

How to follow different paths depending on user choices in InnoSetup?

I want to display several wizard pages using Inno Setup. But at some point, depending on the users tas开发者_高级运维k choice, I want to switch to another page, not necessarily the next page. Is it possible to "jump to another page" in Inno Setup pascal scripting. I couldn't find a related function.

As a last resort, I'm planning to use ShouldSkipPage() with a state variable.


You must use ShouldSkipPage(). No other way exists.

But be attentive. From Inno-setup documentation:

Note: This event function isn't called for the wpWelcome, wpPreparing, and wpInstalling pages, nor for pages that Setup has already determined should be skipped (for example, wpSelectComponents in an install containing no components).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜