From 6072e5322a07588331cace47edd6022910094691 Mon Sep 17 00:00:00 2001 From: A2va <49582555+A2va@users.noreply.github.com> Date: Fri, 24 May 2024 18:14:04 +0200 Subject: Add wix format to tests --- tests/plugins/pack/xmake.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/plugins/pack') 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", [[ + + + + ]]) batchcmds:rawcmd("nsis", [[ ${If} $NoAdmin == "false" ; Enable long path -- cgit v1.3.1