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:
parent
8c0e32550c
commit
6d77e1ab3f
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue