Not all my code is running in unattended mode?

Answered

Comments

1 comment

  • Avatar
    juanjo

    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:

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

    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.