I am running with --mode unattended and getting an "unable to create directory" error. From the log I can see the problem:
Error creating directory C:/Users/Colin/Desktop/***unknown variable clientinstalldir***
clientInstallDir is defined in a <setInstallerVariable> but that doesn't appear to be getting executed. The <setInstallerVariable> is in a <postShowPageActionList>. Is that section of my installer not getting executed for some reason in unattended mode? That certainly seems to be what's happening because I don't see any of the output from my <logMessage> calls which are in that <postShowPageActionList> section.
asked 12 Jun '12, 21:35
Pages are not shown in unattended mode so the pre/postShowPage actions are not executed. What I would recommend is define the
The exact solution may depend in the exact code you are using and which value are you setting for
answered 13 Jun '12, 04:02