views:

8

answers:

0

I am making a custom bootstrapper package manifest for installing iespell. We have a commercial license for iespell that must be included to be used during installation. The setup exe for iespell has a command line parameter which can be used to point to the license file for easy installation.

The problem I am having is that when the pre-reqs are installed, the iespell exe setup file is copied to a temp folder, but the licensing file is not. Therefore, the command argument I am giving it has no point of reference to that licensing file and fails. I am hoping that there is a way for me to build the manifest file to tell the installer to copy the licensing file to the temp directory, but I'm coming up empty here. My product.xml file looks like this:

<?xml version="1.0" encoding="utf-8"?>
<Product ProductCode="iespell" xmlns="http://schemas.microsoft.com/developer/2004/01/bootstrapper"&gt;
  <PackageFiles CopyAllPackageFiles="true">
    <PackageFile Name="iespellsetup251106.exe" Hash="230D6771DAAAC555A9BBD2C6F932F874DC685032" />
    <PackageFile Name="iespell.lic" />
  </PackageFiles>
  <InstallChecks>
    <RegistryCheck Property="regVersion" Key="HKLM\Software\SidneyChong co\ieSpell\version" Value="251106" />
  </InstallChecks>
  <Commands Reboot="Defer">
    <Command PackageFile="iespellsetup251106.exe" Arguments="/S /K=iespell.lic">
      <InstallConditions>
        <BypassIf Property="regVersion" Compare="ValueExists" Value="N/A for ValueExists and ValueNotExists" />
      </InstallConditions>
      <ExitCodes>
        <DefaultExitCode Result="Fail" String="Anunexpectedexitcodewasr" FormatMessageFromSystem="true" />
      </ExitCodes>
    </Command>
  </Commands>
</Product>

The iespell.lic file is the one I need copied to the temp folder during execution of the iespell setup.