diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-09-27 12:36:13 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-27 12:36:13 -0500 |
| commit | 756021ce242db6ac4463efdbb5d1bcd055f48e6b (patch) | |
| tree | b11735d1888927a6f7a957b9b06d439aa56c4c1a /lua4win.wxs | |
| parent | f95cdfe9e648419210dc3cba9414ab96da95e275 (diff) | |
| download | lua4win-dist-lua-756021ce242db6ac4463efdbb5d1bcd055f48e6b.tar.gz lua4win-dist-lua-756021ce242db6ac4463efdbb5d1bcd055f48e6b.tar.bz2 lua4win-dist-lua-756021ce242db6ac4463efdbb5d1bcd055f48e6b.zip | |
Start working on installer
Diffstat (limited to 'lua4win.wxs')
| -rw-r--r-- | lua4win.wxs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/lua4win.wxs b/lua4win.wxs new file mode 100644 index 0000000..c1411ca --- /dev/null +++ b/lua4win.wxs | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | <?xml version='1.0' encoding='windows-1252'?> | ||
| 2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
| 3 | <Product Id="*" UpgradeCode="GUID-GOES-HERE" | ||
| 4 | Name="LuaJit Installer" | ||
| 5 | Version="1.0.0.0" | ||
| 6 | Manufacturer="Your Company" | ||
| 7 | Language="1033"> | ||
| 8 | <Package Id="*" Description="LuaJit Installation Package" | ||
| 9 | InstallerVersion="200" Compressed="yes" /> | ||
| 10 | |||
| 11 | <!-- Add UI dialog to select install folder --> | ||
| 12 | <UI> | ||
| 13 | <DialogRef Id="WixUI_InstallDir"/> | ||
| 14 | </UI> | ||
| 15 | |||
| 16 | <Media Id="1" Cabinet="product.cab" EmbedCab="yes"/> | ||
| 17 | |||
| 18 | <Directory Id="TARGETDIR" Name="SourceDir"> | ||
| 19 | <Directory Id="ProgramFilesFolder"> | ||
| 20 | <!-- Use WIXUI_INSTALLDIR to get the selected install folder --> | ||
| 21 | <Directory Id="WIXUI_INSTALLDIR" Name="LuaJit"> | ||
| 22 | <Component Id="MainExecutable" Guid="GUID-GOES-HERE"> | ||
| 23 | <File Id="luajit.exe" Source="path_to_your_file\luajit.exe" /> | ||
| 24 | <Shortcut Id="LuaJitShortcut" Directory="ProgramMenuDir" Name="LuaJit" Target="[WIXUI_INSTALLDIR]luajit.exe" WorkingDirectory="WIXUI_INSTALLDIR"/> | ||
| 25 | </Component> | ||
| 26 | </Directory> | ||
| 27 | </Directory> | ||
| 28 | </Directory> | ||
| 29 | |||
| 30 | <Feature Id="MainApplication" Title="LuaJit" Description="The main LuaJit application." Level="1"> | ||
| 31 | <ComponentRef Id="MainExecutable" /> | ||
| 32 | |||
| 33 | <!-- Create the symbolic link using WIXUI_INSTALLDIR --> | ||
| 34 | <RegistryKey Root="HKLM" Key="SYSTEM\CurrentControlSet\Services\lua.exe"> | ||
| 35 | <RegistryValue Name="" Type="string" Value="[NETFRAMEWORK20]\v2.0.50727\InstallUtil.exe /LogToConsole=false [WIXUI_INSTALLDIR]luajit.exe"/> | ||
| 36 | </RegistryKey> | ||
| 37 | </Feature> | ||
| 38 | </Product> | ||
| 39 | </Wix> | ||
