Непредвиденная ошибка установщика Wix

Я получаю следующую ошибку при запуске установщика wix для установки службы Windows:

Установщик обнаружил непредвиденную ошибку при установке этого пакета. Это может указывать на проблему с этим пакетом. Код ошибки — 2343. Аргументы: , , MSI (s) (20:E0) [12:15:16:924]: Продукт: ABC.NS.Scheduler.Deployment.SCHEDULER -- Программа установки обнаружила непредвиденную ошибка установки этого пакета. Это может указывать на проблему с этим пакетом. Код ошибки — 2343. Аргументы: ,

Ниже приведены журналы:

=== Logging started: 5/18/2015  12:15:16 ===
Action start 12:15:16: INSTALL.
Action start 12:15:16: FindRelatedProducts.
Action ended 12:15:16: FindRelatedProducts. Return value 1.
Action start 12:15:16: AppSearch.
Action ended 12:15:16: AppSearch. Return value 1.
Action start 12:15:16: LaunchConditions.
Action ended 12:15:16: LaunchConditions. Return value 1.
Action start 12:15:16: ValidateProductID.
Action ended 12:15:16: ValidateProductID. Return value 1.
Action start 12:15:16: CostInitialize.
Action ended 12:15:16: CostInitialize. Return value 1.
Action start 12:15:16: FileCost.
Action ended 12:15:16: FileCost. Return value 1.
Action start 12:15:16: CostFinalize.
Action ended 12:15:16: CostFinalize. Return value 1.
Action start 12:15:16: SetInstallLocationRootDirectory.
DEBUG: Error 2343:  Specified path is empty.
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , , 
MSI (s) (20:E0) [12:15:16:924]: Product: ABC.NS.Scheduler.Deployment.SCHEDULER -- The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2343. The arguments are: , , 

Action ended 12:15:16: SetInstallLocationRootDirectory. Return value 3.
Action ended 12:15:16: INSTALL. Return value 3.
Property(S): UpgradeCode = {144D75A6-0CCB-4AAC-8547-C904DF2FAE7D}
Property(S): NETFRAMEWORK45 = #379893

КОД:

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
  <?include Includes\Dependencies.wxi?>
     	<Product Id="{51669456-A144-4A44-BE32-958BB4E8CD3D}" 
           Name="ABC.NS.Scheduler.Deployment.SCHEDULER"
           Language="1033"
            Version="$(var.ProductVersion)"
            Manufacturer="ABC"
           UpgradeCode="144d75a6-0ccb-4aac-8547-c904df2fae7d">
		<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />

    <MajorUpgrade DowngradeErrorMessage="!(loc.LaterVersionAlreadyInstalled)" />
        <PropertyRef Id="NETFRAMEWORK45"/>
    <Condition Message="!(loc.DotNetFrameworkIsRequired)">
      Installed OR NETFRAMEWORK45
    </Condition>

    <!-- Package the binaries in the msi -->
    <Media Id="1" Cabinet="CABIIS.cab" EmbedCab="yes" />
    <CustomAction  Id="SetInstallLocationRootDirectory"       Directory="INSTALLLOCATION" Execute="firstSequence" Value="[TARGET.INSTALLLOCATION]" />

    <!-- Set the install location from the trigger file -->

    <CustomAction Id="RunSCHEDULERInstall" Directory="TARGETDIR" Execute="deferred" Return="ignore" Impersonate="no" ExeCommand="[SCHEDULERIMPORTERFOLDER]ABC.NS.Scheduler.SCHEDULERService.exe install"/>
    <CustomAction Id="RunSCHEDULERUninstall" Directory="TARGETDIR" Execute="deferred" Return="ignore" Impersonate="no" ExeCommand="[SCHEDULERIMPORTERFOLDER]ABC.NS.Scheduler.SCHEDULERService.exe uninstall"/>

    <InstallExecuteSequence>

      <Custom Action="RunSCHEDULERInstall" After="InstallFiles">NOT Installed</Custom>
      <Custom Action="SetInstallLocationRootDirectory" After="CostFinalize" >Not Installed</Custom>
      <Custom Action="RunSCHEDULERUninstall" After='InstallInitialize'>(NOT UPGRADINGPRODUCTCODE) AND (REMOVE="ALL")</Custom>
    </InstallExecuteSequence>

        <!-- The directory structure for installation -->
		<Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="INSTALLLOCATION" Name="WindowsService">
				<Directory Id="SCHEDULERIMPORTERFOLDER" Name="ABC.NS.Scheduler.SCHEDULERService" />
        <Directory Id="LOGFOLDER" Name="Log"/>
			</Directory>
		</Directory>
		    
    <Feature Id="ProductFeature" Title="ABC.NS.Scheduler.Deployment.SCHEDULER" Level="1">
      <ComponentGroupRef Id="SCHEDULERServiceComponents" />
    </Feature>
  </Product>
</Wix>

Любая помощь будет оценена. Спасибо.


person DevX    schedule 18.05.2015    source источник
comment
Как вы устанавливаете пакет. Это может быть связано с проблемой stackoverflow.com/questions/16226637.   -  person bradfordrg    schedule 19.05.2015
comment
Я не смог воспроизвести вашу проблему. Где находится ваш пакет msi? Сеть, CD, прочее? Кроме того, где вы пытаетесь установить его? Диск с:?   -  person Marlos    schedule 26.05.2015