mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -06:00
CPackWIX: Fix MSI package layout regression from parent
The parent commit added a regression where if the install directory had:
parent
child A
child B
the produced MSI would install:
parent
child A
child B
This commit is contained in:
@@ -377,10 +377,6 @@ bool cmCPackWIXGenerator::CreateWiXSourceFiles()
|
||||
directoryDefinitions, fileDefinitions, featureDefinitions,
|
||||
directoryCounter, fileCounter, cpackPkgExecutables, dirIdExecutables);
|
||||
|
||||
for(size_t i = 1; i < install_root.size(); ++i)
|
||||
{
|
||||
directoryDefinitions.EndElement();
|
||||
}
|
||||
directoryDefinitions.EndElement();
|
||||
directoryDefinitions.EndElement();
|
||||
|
||||
@@ -558,7 +554,7 @@ void cmCPackWIXGenerator::AddDirectoryAndFileDefinitons(
|
||||
fileCounter,
|
||||
pkgExecutables,
|
||||
dirIdExecutables);
|
||||
|
||||
directoryDefinitions.EndElement();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user