|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:firewall="http://schemas.microsoft.com/wix/FirewallExtension"> |
3 | 3 |
|
4 | | -<!-- so you want to be a WiXard? |
5 | | -
|
6 | | -1. Copy wix directory to top level sonic-pi directory |
7 | | -
|
8 | | -2. Generate the wixobj files |
9 | | -heat dir etc -gg -g1 -sfrag -dr SonicPi -cg ETC -out wix\etc.wxs |
10 | | -heat dir app\gui -gg -g1 -sfrag -dr AppDir -cg GUI -out wix\gui.wxs |
11 | | -heat dir app\server -gg -g1 -sfrag -dr AppDir -cg SERVER -out wix\server.wxs |
12 | | -
|
13 | | -3. Update version number |
14 | | -- edit wix\sonic-pi.wxs |
15 | | -- change version number (from X.Y.Z) |
16 | | -
|
17 | | -4. Remove duplicate info |
18 | | -- edit wix\gui.wxs |
19 | | -- remove sonic-pi.exe component and componentref (both have identical IDs) |
20 | | -
|
21 | | -5. Prepare the candle?!? |
22 | | -candle wix\sonic-pi.wxs wix\etc.wxs wix\gui.wxs wix\server.wxs -ext WixUtilExtension |
23 | | -
|
24 | | -6. Build the msi! |
25 | | -light sonic-pi.wixobj etc.wixobj gui.wixobj server.wixobj -ext WixUtilExtension -ext WixUIExtension -o wix\Sonic-Pi.msi -b etc -b app\gui -b app\server |
26 | | -
|
27 | | ---> |
28 | | - |
29 | 4 | <Product Id="*" Name="Sonic Pi" Language="1033" Version="X.Y.Z" Manufacturer="Sonic Pi" UpgradeCode="ECA5D03B-CEBD-4672-A0A2-176CBCBA4429"> |
30 | 5 | <Package Description="Sonic Pi Installer" Comments="Sonic Pi Installer" InstallScope="perMachine" InstallerVersion="200" Compressed="yes" /> |
31 | 6 | <Property Id="REINSTALLMODE" Value="amus"/> |
32 | 7 | <Property Id="MSIFASTINSTALL" Value="1" /> |
33 | 8 | <MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallInitialize"/> |
34 | 9 | <Media Id="1" Cabinet="simple.cab" EmbedCab="yes" /> |
35 | 10 |
|
36 | | - <WixVariable Id="WixUILicenseRtf" Value="LICENSE.rtf" /> |
37 | | - <WixVariable Id="WixUIBannerBmp" Value="wix_ui_banner.bmp" /> |
38 | | - <WixVariable Id="WixUIDialogBmp" Value="wix_ui_dialog.bmp" /> |
| 11 | + <WixVariable Id="WixUILicenseRtf" Value="wix\LICENSE.rtf" /> |
| 12 | + <WixVariable Id="WixUIBannerBmp" Value="wix\wix_ui_banner.bmp" /> |
| 13 | + <WixVariable Id="WixUIDialogBmp" Value="wix\wix_ui_dialog.bmp" /> |
39 | 14 | <Property Id='ARPCONTACT'>https://in-thread.sonic-pi.net</Property> |
40 | 15 | <Property Id='ARPHELPLINK'>https://in-thread.sonic-pi.net</Property> |
41 | 16 | <Property Id='ARPURLINFOABOUT'>http://sonic-pi.net</Property> |
|
0 commit comments