#1 Bad WIX code for empty directories

closed-fixed
nobody
None
5
2009-01-30
2008-01-20
No

Warsetup (version 3.6.0.0) inserts empty components in directories that contain no ordinary files, only other directories. These are not just unnecessary, they eventually lead to WIX validation errors like this:
error LGHT0204 : ICE18: KeyPath for Component: 'ID3810' is Directory: 'ID1062'. The Directory/Component pair must be listed in the CreateFolders table. The component mentioned here is one of those empty ones; the directory is the one in which it is incorrectly inserted.

Discussion

  • Jarle Aase

    Jarle Aase - 2009-01-30

    War Setup have a feature to exclude empty folders automatically.

    The latest version (3.11) will however generate correct code when empty folders are used.

     
  • Jarle Aase

    Jarle Aase - 2009-01-30
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks