* After upgrading from 21.9 to 23.9 we have run into a problem with silent install behavior.
* Our main installer has some pre- and post- installs
* The desired behavior (which worked in 21.9) was when the main installer is run with '/qn' or '/qn+':
** the main install is silent (except for the optional final confirmation dialog when using '/qn+)
** the pre- installs are silent
** the post- installs show full UI
* After fixes, the observed behavior with the upgraded aip when run with /qn+:
** The pre installs are no longer silent, showing full UI
** The post install does not run at all
* The tested command lines were:
** /qn INST_POST=true
** /qn+ INST_POST=true
From the original 21.9 .aip file: (I've edited the names for posting)
Code: Select all
<ROW PrereqKey="PREREQINSTALLEREXE" DisplayName="Pre Req Installer" VersionMin="10.1.1.0" SetupFileUrl="Prerequisites\PreReqInstaller.exe" Location="0" ExactSize="0" WinNTVersions="Windows 7 RTM x86" WinNT64Versions="Windows 7 RTM x64, Windows Server 2008 R2 RTM x64" Operator="1" ComLine="[AI_PREREQ_UILEVEL_SWITCH]" NoUiComLine="/qn" Options="myn" TargetName="PreReqInstaller.exe"/>
<ROW PrereqKey="POSTFEATUREINSTALL" DisplayName="Post Feature Installer" VersionMin="1.0.0.0" SetupFileUrl="Prerequisites\PostFeatureInstaller.exe" Location="0" ExactSize="0" Operator="1" NoUiComLine="/qn" Options="fi" TargetName="PostFeatureInstaller.exe" Feature="PostFeatureInstall" InstallCondition="INST_POST ~= "true""/>Code: Select all
<ROW PrereqKey="PREREQINSTALLEREXE" DisplayName="Pre Req Installer" VersionMin="10.1.1.0" SetupFileUrl="Prerequisites\PreReqInstaller.exe" Location="0" ExactSize="0" WinNTVersions="Windows 7 RTM x86" WinNT64Versions="Windows 7 RTM x64, Windows Server 2008 R2 RTM x64" Operator="1" NoUiComLine=" /qn" Options="myn" TargetName="PreReqInstaller.exe"/>
<ROW PrereqKey="POSTFEATUREINSTALL" DisplayName="Post Feature Installer" VersionMin="1.0.0.0" SetupFileUrl="Prerequisites\PostFeatureInstaller.exe" Location="0" ExactSize="0" Operator="1" NoUiComLine=" /qn" Options="fi" TargetName="PreReqInstaller.exe" Feature="PostFeatureInstall" InstallCondition="INST_POST ~= "true""/>* TBH this feels like the result of a bug fix, since the post install line has a NoUiComLine.
* We fixed this issue by removing NoUiComLine from the post install line, which left us with these:
Code: Select all
<ROW PrereqKey="PREREQINSTALLEREXE" DisplayName="Pre Req Installer" VersionMin="10.1.1.0" SetupFileUrl="Prerequisites\PreReqInstaller.exe" Location="0" ExactSize="0" WinNTVersions="Windows 7 RTM x86" WinNT64Versions="Windows 7 RTM x64, Windows Server 2008 R2 RTM x64" Operator="1" NoUiComLine=" /qn" Options="myn" TargetName="PreReqInstaller.exe"/>
<ROW PrereqKey="POSTFEATUREINSTALL" DisplayName="Post Feature Installer" VersionMin="1.0.0.0" SetupFileUrl="Prerequisites\PostFeatureInstaller.exe" Location="0" ExactSize="0" Operator="1" Options="fi" TargetName="PreReqInstaller.exe" Feature="PostFeatureInstall" InstallCondition="INST_POST ~= "true""/>* The pre installs are no longer silent, showing full UI
* The post install does not run at all
I did try adding ComLine="[AI_PREREQ_UILEVEL_SWITCH]" BasicUiComLine="[AI_PREREQ_UILEVEL_SWITCH]" to the pre install, but there was no change in behavior
FOLLOW US
Get the latest news in Application Packaging