diff options
| author | ruki <[email protected]> | 2024-05-27 22:27:12 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-27 22:27:12 +0800 |
| commit | 1dfee59408ad9b09feeaaa72fbc4d66fbfd4486e (patch) | |
| tree | 7a8176d6943b49b00eb14e92703ce550f3e0b6d8 /tests/plugins | |
| parent | d1c2095855bcf6633aeffac98c1b03bca0978f8a (diff) | |
| parent | 1f81152c5bc78bab1cc460e8b3fcba174312a22b (diff) | |
Merge pull request #4788 from A2va/wixtoolset
Xpack: wix toolset support
Diffstat (limited to 'tests/plugins')
| -rw-r--r-- | tests/plugins/pack/xmake.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/plugins/pack/xmake.lua b/tests/plugins/pack/xmake.lua index 1ce179b33..2506d2fc4 100644 --- a/tests/plugins/pack/xmake.lua +++ b/tests/plugins/pack/xmake.lua @@ -19,7 +19,7 @@ target("foo") add_packages("zlib") xpack("test") - set_formats("nsis", "srpm", "rpm", "zip", "targz", "srczip", "srctargz", "runself") + set_formats("nsis", "srpm", "rpm", "zip", "targz", "srczip", "srctargz", "runself", "wix") set_title("hello") set_author("ruki") set_description("A test installer.") @@ -61,6 +61,11 @@ xpack_component("LongPath") set_title("Enable Long Path") set_description("Increases the maximum path length limit, up to 32,767 characters (before 256).") on_installcmd(function (component, batchcmds) + batchcmds:rawcmd("wix", [[ + <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Control\FileSystem"> + <RegistryValue Type="integer" Name="LongPathsEnabled" Value="1" KeyPath="yes"/> + </RegistryKey> + ]]) batchcmds:rawcmd("nsis", [[ ${If} $NoAdmin == "false" ; Enable long path |
