Not all my code is running in unattended mode?



1 comment

  • Avatar

    Pages are not shown in unattended mode so the pre/postShowPage actions are not executed. What I would recommend is define the clientinstalldir as a hidden parameter with a default value to use in unattended mode and if you need to tweak it, configure it in the readyToInstallActionList, which will be always executed:

          <directoryParameter name="clientinstalldir" ask="0" value="some/default/dir"/>
          <setInstallerVariable name="clientinstalldir" value="some/other/value"/>

    The exact solution may depend in the exact code you are using and which value are you setting for clientinstalldir.

Please sign in to leave a comment.