Menu

#1321 directory search regression starting with 3.0.4415

v3.0
closed
candle (347)
2014-08-26
2008-08-31
Demyn
No

A failed directory search crashes the installation. This is a regression that occurred between 3.0.4401 and 3.0.4415. The following will always crash the installer when built with WiX 3.0.4415 or later.

<Property Id="DNE">
  <DirectorySearch Id="DNE" Path="[WindowsFolder]">
    <FileSearch Id="DNE" Name="dne.exe" />
  </DirectorySearch>
</Property>

<Condition Message="DNE Does not exist.">
  DNE
</Condition>

Discussion

  • Bob Arnson

    Bob Arnson - 2008-09-01

    Logged In: YES
    user_id=26581
    Originator: NO

    Are you saying msiexec.exe crashes or the property isn't found?

     
  • Demyn

    Demyn - 2008-09-02

    Logged In: YES
    user_id=2085320
    Originator: YES

    Let me clarify what I see. When a DirectorySearch fails, that is when it does not find the file specified, the installation abruptly stops. In the above example the message "DNE Does not exist." is not displayed. This example is intended to always fail the search and display the message.

     
  • Bob Arnson

    Bob Arnson - 2008-09-03

    Logged In: YES
    user_id=26581
    Originator: NO

    Please attach a verbose log so we can figure out the failure point.

     
  • Demyn

    Demyn - 2008-09-03

    Logged In: YES
    user_id=2085320
    Originator: YES

    Will upload wxitest.wxs, logs, and MSI files.

    <msitest-4414.log>
    MSI (c) (08:B4) [12:32:30:515]: Enabling baseline caching for this transaction since all active patches are MSI 3.0 style MSPs or at least one MSI 3.0 minor update patch is active
    === Logging started: 9/3/2008 12:32:30 ===
    Action 12:32:30: INSTALL.
    Action start 12:32:30: INSTALL.
    Action 12:32:30: AppSearch. Searching for installed applications
    Action start 12:32:30: AppSearch.
    <eof></eof></msitest-4414.log>

    ----- Build started: Project: wixtest, Configuration: Debug x86 ------
    C:\Program Files (x86)\Windows Installer XML v3\bin\candle.exe -dgConfig=Debug_Win32 -dDevEnvDir=C:\VS9\Common7\IDE\ -dSolutionDir=D:\Users\demyn\gpfs\windows\ -dSolutionExt=.sln -dSolutionFileName=gpfs.sln -dSolutionName=gpfs -dSolutionPath=D:\Users\demyn\gpfs\windows\gpfs.sln -dConfiguration=Debug -dOutDir=..\OUT\Debug_Win32\pkg\ -dPlatform=x86 -dProjectDir=D:\Users\demyn\gpfs\windows\config\ -dProjectExt=.wixproj -dProjectFileName=wixtest.wixproj -dProjectName=wixtest -dProjectPath=D:\Users\demyn\gpfs\windows\config\wixtest.wixproj -dTargetDir=D:\Users\demyn\gpfs\windows\OUT\Debug_Win32\pkg\ -dTargetExt=.msi -dTargetFileName=wixtest.msi -dTargetName=wixtest -dTargetPath=D:\Users\demyn\gpfs\windows\OUT\Debug_Win32\pkg\wixtest.msi -out ..\OUT\Debug_Win32\pkg\wixtest.wixobj -arch x86 -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixDifxAppExtension.dll" -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixNetFxExtension.dll" wixtest.wxs
    C:\Program Files (x86)\Windows Installer XML v3\bin\Light.exe -out D:\Users\demyn\gpfs\windows\OUT\Debug_Win32\pkg\wixtest.msi -pdbout D:\Users\demyn\gpfs\windows\OUT\Debug_Win32\pkg\wixtest.wixpdb -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixDifxAppExtension.dll" -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixUIExtension.dll" -ext "C:\Program Files (x86)\Windows Installer XML v3\bin\WixNetFxExtension.dll" ..\OUT\Debug_Win32\pkg\wixtest.wixobj
    ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

     
  • Demyn

    Demyn - 2008-09-03

    wixtest-4401.log

     
  • Demyn

    Demyn - 2008-09-03

    Logged In: YES
    user_id=2085320
    Originator: YES

    File Added: wixtest-4401.log

     
  • Demyn

    Demyn - 2008-09-03

    wxitest-4415.log

     
  • Demyn

    Demyn - 2008-09-03

    Logged In: YES
    user_id=2085320
    Originator: YES

    File Added: wixtest-4415.log

     
  • Demyn

    Demyn - 2008-09-03

    wixtest-4415.msi

     
  • Demyn

    Demyn - 2008-09-03

    Logged In: YES
    user_id=2085320
    Originator: YES

    File Added: wixtest-4401.msi

     
  • Demyn

    Demyn - 2008-09-03

    wixtest.wxs

     
  • Demyn

    Demyn - 2008-09-03

    Logged In: YES
    user_id=2085320
    Originator: YES

    File Added: wixtest.wxs

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 15 days (the time period specified by
    the administrator of this Tracker).

     
MongoDB Logo MongoDB