we have a prerequisite for Microsoft Windows Media Player 10 in our app. we've been using a custom prerequisite to look for the installed version (HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\Version), and if the version # is less than 10, we attempt to do an "Open Site" on "http://www.microsoft.com/windows/window ... loads.aspx".
this was working fine, but recently broke: advanced installer correctly detects the prerequisite's absence, but when it opens the browser, it goes to "http://h". this isn't a case where the web site is doing a bad redirect; watching the network traffic, the "http://h" is coming from advanced installer.
the project was originally built with version 6.0.1, and this was working then; since then we've upgraded to 6.3.1 and then to 6.4, so something went wrong in those versions.
here's the complete section on prerequisites from our build file, if you see anything odd in there:
<COMPONENT cid="caphyon.advinst.msicomp.PreReqComponent">
<ROW PrereqKey="0" DisplayName="Adobe AIR" VersionMin="1.1.0.5790" SetupFileUrl="..\Resources\AIR\1.1.0.5790\AdobeAIRInstaller.exe" Location="0" ExactSize="0" MinWin9xVer="42" MinWinNTVer="24" MinWinNT64Ver="42" Operator="1" Options="m" Sequence="2" TargetName="AdobeAIRInstaller.exe"/>
<ROW PrereqKey="1" DisplayName="Windows Media Player" VersionMin="10" SetupFileUrl="http://www.microsoft.com/windows/window ... loads.aspx" Location="2" ExactSize="0" MinWin9xVer="42" MinWinNTVer="24" MinWinNT64Ver="42" Operator="0" Options="m" Sequence="3"/>
<ROW PrereqKey="2" DisplayName="Security Upgrade" SetupFileUrl="DownloadManager\MediaManagerUI.exe" Location="0" ExactSize="0" MinWin9xVer="42" MinWinNTVer="24" MinWinNT64Ver="42" Operator="1" ComLine="/title:"Security Upgrade - Close window after upgrade to continue..." /width:800 /height:600 /url:"http://drmlicense.one.microsoft.com/Indivsite"" Options="m" Sequence="4" TargetName="MediaManagerUI.exe"/>
<ROW PrereqKey="3" DisplayName="Flash Player 9" VersionMin="9" SetupFileUrl="DownloadManager\MediaManagerUI.exe" Location="0" ExactSize="0" MinWin9xVer="42" MinWinNTVer="24" MinWinNT64Ver="42" Operator="0" ComLine="/title:"Install Adobe Flash Player 9 - Close window after install to continue..." /width:800 /height:800 /url:"http://www.adobe.com/go/getflashplayer"" Options="m" Sequence="1" TargetName="MediaManagerUI.exe"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.PreReqSearchComponent">
<ROW Prereq="0" SearchType="2" SearchString="HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Adobe AIR\DisplayVersion" VerMin="1.0.4990" Order="2"/>
<ROW Prereq="0" SearchType="0" SearchString="[CommonFilesFolder]Adobe AIR\Versions\1.0\Adobe AIR.dll" VerMin="1.0.8.4990" Order="1"/>
<ROW Prereq="1" SearchType="2" SearchString="HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{6BF52A52-394A-11d3-B153-00C04F79FAA6}\Version" VerMin="10" Order="1"/>
<ROW Prereq="2" SearchType="0" SearchString="%ALLUSERSPROFILE%\DRM\IndivBox.key" Order="1"/>
<ROW Prereq="2" SearchType="0" SearchString="[CommonAppDataFolder]\Microsoft\Windows\DRM\IndivBox.key" Order="2"/>
<ROW Prereq="3" SearchType="2" SearchString="HKLM\Software\Macromedia\FlashPlayer\CurrentVersion" VerMin="9" Order="1"/>
</COMPONENT>
FOLLOW US
Get the latest news in Application Packaging