blob: 74053e5ed70c4dd55424748e4d724aa050369e03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product
UpgradeCode="A1B2C3D4-E5F6-A7B8-C9D0-E1F2A3B4C5D6"
Id="CABACABA-86C7-4D14-AEC0-86416A69ABDE"
Name="Lua4Win Installer 1.0"
Version="1.0.0.0"
Manufacturer="Lua4Win devs"
Language="1033"
Codepage="1252"
>
<Package
Id="*"
Description="Lua4Win Installation Package"
Keywords="Installer"
InstallerVersion="100"
Compressed="yes"
/>
<Media Id='1' Cabinet='media.cab' EmbedCab='yes' />
<Property Id="DiskPrompt" Value="Lua4Win lua+luarocks installation [1]" />
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLDIR" Name="Lua4Win">
<Component Id="lua">
<File Id="luaexe" DiskId='1' Source="lua.exe" />
</Component>
<Component Id="luadl">
<File Id="lua51dll" DiskId='1' Source="lua51.dll" />
</Component>
<Component Id="luarocks">
<File Id="luarocksexe" DiskId='1' Source="luarocks.exe" />
</Component>
<Component Id="busybox">
<!-- Use a different name so we don't conflict with other busyboxes -->
<File Id="busyboxexe" DiskId='1' Source="busybox-l4w.exe" />
</Component>
<Directory Id="Config" Name="config">
<Component Id="Config">
<File Id="config.lua" Source="config-5.1.lua" />
</Component>
</Directory>
<Directory Id="Luarocks" Name="luarocks">
</Directory>
<Component Id="EnvironmentPath" Guid="Lua4Win.PATH">
<Environment Id="Path" Name="PATH" Action="set" System="yes" Part="last" Value="[INSTALLDIR]"/>
<Environment Id="Path2" Name="PATH" Action="set" System="yes" Part="last" Value="[INSTALLDIR]luarocks\\bin"/>
<Environment Id="Path3" Name="PATH" Action="set" System="yes" Part="last" Value="[AppDataFolder]luarocks\\bin"/>
</Component>
<Component Id="SysConfigPath" Guid="Lua4Win.SYSCONFDIR">
<Environment Id="Sysconfdir" Name="LUAROCKS_SYSCONFDIR" Action="set" System="yes" Part="last" Value="[INSTALLDIR]config"/>
</Component>
<!-- This stuff is re-created from `luarocks path` -->
<Component Id="LuaPath" Guid="Lua4Win.LUA_PATH">
<Environment Id="LUA_PATH" Name="LUA_PATH" Action="set" System="yes" Part="last" Value=".\\?.lua;[INSTALLDIR]lua\\?.lua;[INSTALLDIR]lua\\?\\init.lua;[AppDataFolder]luarocks\\share\\lua\\5.1\\?.lua;[AppDataFolder]luarocks\\share\\lua\\5.1\\?\\init.lua" />
</Component>
<Component Id="LuaCPath" Guid="Lua4Win.LUA_CPATH">
<Environment Id="LUA_CPATH" Name="LUA_CPATH" Action="set" System="yes" Part="last" Value=".\\?.dll;[INSTALLDIR]?.dll;[INSTALLDIR]loadall.dll;[AppDataFolder]luarocks\\lib\\lua\\5.1\\?.dll" />
</Component>
</Directory>
</Directory>
</Directory>
<Feature Id="Complete" Level="1">
<ComponentRef Id="lua" />
<ComponentRef Id="luadl" />
<ComponentRef Id="luarocks" />
<ComponentRef Id="busybox" />
<ComponentRef Id="Config" />
<ComponentRef Id="EnvironmentPath" />
<ComponentRef Id="SysConfigPath" />
<ComponentRef Id="LuaPath" />
<ComponentRef Id="LuaCPath" />
</Feature>
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
<UIRef Id="WixUI_InstallDir" />
</Product>
</Wix>
|