diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-10-11 12:36:23 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-11 12:36:23 -0500 |
commit | ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f (patch) | |
tree | 1ae31f6dedcb2478bd33e5df4e02a41b1805586d /lua4win.wxs | |
parent | 6d3f17bc31e34067f5bf7c62b072d4fdd1457156 (diff) | |
download | lua4win-dist-lua-ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f.tar.gz lua4win-dist-lua-ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f.tar.bz2 lua4win-dist-lua-ce0c322562bdcd6fd8c84b2cddcc7fd38f833b5f.zip |
Add environment variables
Add PATH and LUAROCKS_SYSCONFDIR
Diffstat (limited to 'lua4win.wxs')
-rw-r--r-- | lua4win.wxs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lua4win.wxs b/lua4win.wxs index 7012f96..b524e15 100644 --- a/lua4win.wxs +++ b/lua4win.wxs | |||
@@ -39,6 +39,12 @@ | |||
39 | <File Id="config.lua" Source="config.lua" /> | 39 | <File Id="config.lua" Source="config.lua" /> |
40 | </Component> | 40 | </Component> |
41 | </Directory> | 41 | </Directory> |
42 | <Component Id="EnvironmentPath"> | ||
43 | <Environment Id="AddPath" Name="PATH" Action="set" System="yes" Part="last" Value="[INSTALLDIR]"/> | ||
44 | </Component> | ||
45 | <Component Id="SysConfigPath"> | ||
46 | <Environment Id="AddPath" Name="LUAROCKS_SYSCONFDIR" Action="set" System="yes" Part="last" Value="[INSTALLDIR]/config"/> | ||
47 | </Component> | ||
42 | </Directory> | 48 | </Directory> |
43 | </Directory> | 49 | </Directory> |
44 | </Directory> | 50 | </Directory> |