summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit6
-rw-r--r--lua4win.wxs24
2 files changed, 16 insertions, 14 deletions
diff --git a/init b/init
index 307947d..38f6271 100755
--- a/init
+++ b/init
@@ -1,5 +1,5 @@
1#!/bin/sh -ex 1#!/bin/sh -ex
2 2
3cp lua4win-dist-lua/lua4win.wxs 3cp lua4win-dist-lua/lua4win.wxs .
4 4touch License.rtf
5exit -1 5wixl --verbose --ext ui lua4win.wxs
diff --git a/lua4win.wxs b/lua4win.wxs
index 16d47f1..a4efbf6 100644
--- a/lua4win.wxs
+++ b/lua4win.wxs
@@ -1,22 +1,24 @@
1<?xml version='1.0' encoding='windows-1252'?> 1<?xml version='1.0' encoding='windows-1252'?>
2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> 2<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <Product Id="*" UpgradeCode="GUID-GOES-HERE" 3 <Product
4 Name="Lua4Win Installer" 4 UpgradeCode="A1B2C3D4-E5F6-G7H8-I9J0-K1L2M3N4O5P6"
5 Version="1.0.0.0" 5 Id="ABCDDCBA-86c74D14AEC086416A69ABDE"
6 Manufacturer="Lua4Win devs" 6 Name="Lua4Win Installer"
7 Language="1033"> 7 Version="1.0.0.0"
8 Manufacturer="Lua4Win devs"
9 Language="1033"
10 >
11
8 <Package Id="*" Description="Lua4Win Installation Package" Keywords="Installer" 12 <Package Id="*" Description="Lua4Win Installation Package" Keywords="Installer"
9 InstallerVersion="100" Compressed="yes" /> 13 InstallerVersion="100" Compressed="yes" />
10 14
11 <Property ID="DiskPrompt" Value="Lua4Win lua+luarocks installation" /> 15 <Property Id="DiskPrompt" Value="Lua4Win lua+luarocks installation" />
12
13 <Media Id="1" Cabinet="product.cab" EmbedCab="yes"/>
14 16
15 <Directory Id="TARGETDIR" Name="SourceDir"> 17 <Directory Id="TARGETDIR" Name="SourceDir">
16 <Directory Id="ProgramFilesFolder"> 18 <Directory Id="ProgramFilesFolder">
17 <Directory Id="Lua4Win" Name="Lua4Win"> 19 <Directory Id="Lua4Win" Name="Lua4Win">
18 <Directory Id="INSTALLDIR" Name="Lua4Win 1.0"> 20 <Directory Id="INSTALLDIR" Name="Lua4Win 1.0">
19 <Component Id="MainExecutable" > 21 <Component Id="MainExecutable" Guid="ABCDDCBA-83F1-4F22-985B-FDB3C8ABD471">
20 <File Id="luajit.exe" Source="./luajit.exe" /> 22 <File Id="luajit.exe" Source="./luajit.exe" />
21 <File Id="lua51.dll" Source="./lua51.dll" /> 23 <File Id="lua51.dll" Source="./lua51.dll" />
22 <File Id="luarocks.exe" Source="./luarocks.exe" /> 24 <File Id="luarocks.exe" Source="./luarocks.exe" />
@@ -26,11 +28,11 @@
26 </Directory> 28 </Directory>
27 </Directory> 29 </Directory>
28 30
29 <Feature Id="MainApplication" Level="1" Display="expand" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="yes" InstallDefault="local"> 31 <Feature Id="MainApplication" Level="1" Display="expand" ConfigurableDirectory="INSTALLDIR" AllowAdvertise="yes" >
30 <ComponentRef Id="MainExecutable" /> 32 <ComponentRef Id="MainExecutable" />
31 </Feature> 33 </Feature>
32 34
33 <Property Id="WIXUI_INSTALLDIR" VALUE="INSTALLDIR" /> 35 <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
34 <UIRef Id="WixUI_Minimal" /> 36 <UIRef Id="WixUI_Minimal" />
35 </Product> 37 </Product>
36</Wix> 38</Wix>