MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014467 | CMake | CPack | public | 2013-10-09 05:46 | 2015-07-08 08:57 |
Reporter | Ådne Hovda | ||||
Assigned To | Nils Gladitz | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.11.2 | ||||
Target Version | Fixed in Version | ||||
Summary | 0014467: WiX Generator: Move the TARGETDIR directory from directories.wxs to the main template | ||||
Description | Move the main <Directory Id="TARGETDIR" Name="SourceDir" /> tag including the program files folder entry to the main.wxs file, leaving only INSTALL_ROOT and below in directories.wxs. That makes it possible to override the install location using a custom template (e.g. C:\program files\company\product). Selecting the correct ProgramFilesFolder/ProgramFiles64Folder should be handled by a new include variable and a new <?if ?> block. Here are some excerpts to (hopefully) clarify my ideas: cpack_variables.wxi: <?define CPACK_WIX_ARCH="x86" ?> WIX.template.in: <?if $(var.CPACK_WIX_ARCH) = x86 ?> <?define Win64 = "no" ?> <?define SystemFolder = "SystemFolder" ?> <?define CAQuietExec = "CAQuietExec" ?> <?define ProgramFilesFolder = "ProgramFilesFolder" ?> <?define ExecSecureObjects = "ExecSecureObjects" ?> <?else?> <?define Win64 = "yes" ?> <?define SystemFolder = "System64Folder" ?> <?define CAQuietExec = "CAQuietExec64" ?> <?define ProgramFilesFolder = "ProgramFiles64Folder" ?> <?define ExecSecureObjects = "ExecSecureObjects_64" ?> <?endif?> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="$(var.ProgramFilesFolder)"> <DirectoryRef Id="INSTALL_ROOT" /> </Directory> </Directory> directories.wxs: <Directory Id="INSTALL_ROOT" Name="MyProduct"> <Directory Id="bin" Name="bin"/> <Directory Id="include" Name="include"/> <Directory Id="lib" Name="lib"/> <Directory Id="share" Name="share"> <Directory Id="share.man" Name="man"> <Directory Id="share.man.man3" Name="man3"/> </Directory> </Directory> </Directory> | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-10-09 05:46 | Ådne Hovda | New Issue | |||
2013-10-12 17:12 | Nils Gladitz | Status | new => assigned | ||
2013-10-12 17:12 | Nils Gladitz | Assigned To | => Nils Gladitz | ||
2013-12-18 13:04 | Nils Gladitz | Note Added: 0034794 | |||
2013-12-18 13:04 | Nils Gladitz | Status | assigned => feedback | ||
2014-03-20 04:36 | Richard Ulrich | Note Added: 0035444 | |||
2014-03-20 05:11 | Nils Gladitz | Note Added: 0035445 | |||
2015-02-13 06:19 | Nils Gladitz | Note Added: 0037967 | |||
2015-02-13 06:19 | Nils Gladitz | Status | feedback => resolved | ||
2015-02-13 06:19 | Nils Gladitz | Resolution | open => won't fix | ||
2015-07-08 08:57 | Robert Maynard | Note Added: 0039051 | |||
2015-07-08 08:57 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|