Clean up the WiX XML a bit

This commit is contained in:
Přemysl Eric Janouch 2023-06-26 12:24:09 +02:00
parent 49ee551b9b
commit 88234f8283
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 21 additions and 19 deletions

View File

@ -35,12 +35,18 @@
--> -->
<Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='$(var.ProgramFilesFolder)' Name='Files'> <Directory Id='$(var.ProgramFilesFolder)'>
<Directory Id='INSTALLDIR' Name='$(var.FullName)' /> <Directory Id='INSTALLDIR' Name='$(var.FullName)' />
</Directory> </Directory>
<Directory Id='ProgramMenuFolder' Name='Programs'> <Directory Id='ProgramMenuFolder'>
<Directory Id='ProgramMenuDir' Name='$(var.FullName)'> <Directory Id='ProgramMenuDir' Name='$(var.FullName)' />
</Directory>
<Directory Id='DesktopFolder' />
</Directory>
<DirectoryRef Id='ProgramMenuDir'>
<Component Id='ProgramMenuDir' Guid='*'> <Component Id='ProgramMenuDir' Guid='*'>
<Shortcut Id='ProgramsMenuShortcut' <Shortcut Id='ProgramsMenuShortcut'
Name='@ProjectName@' Name='@ProjectName@'
@ -55,11 +61,7 @@
Value='' Value=''
KeyPath='yes' /> KeyPath='yes' />
</Component> </Component>
</Directory> </DirectoryRef>
</Directory>
<Directory Id='DesktopFolder' Name='Desktop' />
</Directory>
<Feature Id='Complete' Level='1'> <Feature Id='Complete' Level='1'>
<ComponentGroupRef Id='CG.fiv' /> <ComponentGroupRef Id='CG.fiv' />