0

I want to add the prerequisites for my installer, I successfully added .net framework as prerequisites, but I wanted to add "k-lite codec pack" before installing my actual application.

Yan Sklyarenko
  • 31,557
  • 24
  • 104
  • 139

1 Answers1

0
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
    <Bundle>
     <Chain>
      <ExePackage
              SourceFile="..\Redist\KLite_Codec_Pack_1090_Full.exe"
              DetectCondition="ExeDetectedVariable"
              InstallCommand="/verysilent /ACTION=Install"
              RepairCommand="/verysilent ACTION=Repair /hideconsole"
              UninstallCommand="/verysilent ACTION=Uninstall /hideconsole"
              Compressed="yes"
              Permanent="yes"/>
     </Chain>
    </Bundle>
</Wix>

The above code solves my problem. by the installCommand /verysilent will install the klite pack silently.