Inno Setup generated installer does not show “Select Destination Location” page on some systems

后端 未结 2 1871
南笙
南笙 2020-11-28 15:33

I create my application with py2exe and package it into an installer exe using Inno Setup on Windows 7. The installer created this way can then be installed on

2条回答
  •  星月不相逢
    2020-11-28 15:54

    Quoting revision history for Inno Setup 5.5.7:

    As recommended by Microsoft's desktop applications guideline, DisableWelcomePage now defaults to yes. Additionally DisableDirPage and DisableProgramGroupPage now default to auto. The defaults in all previous versions were no.


    Conclusion:

    • The Welcome page is not shown anymore by default. To enable it, set the DisableWelcomePage:

      DisableWelcomePage=no
      

      I do not think you are right with your statement that the page shows on Windows 7.

    • The "Select Destination Location" page is shown for fresh installations only, not for "upgrades". So this has nothing to do with Windows 7 vs. Windows 10. The difference is probably that you have the application installed on Windows 10 system; and you do not have it installed on the Windows 7 system.

      To show the page always, set the DisableDirPage:

      DisableDirPage=no
      

    Thought as mentioned in the quote above, the defaults are recommended, so you should follow them.

提交回复
热议问题