Skip to content

Commit e1c10ea

Browse files
committed
Created installer for v0.3.6 and updated readme
1 parent d1201ea commit e1c10ea

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ After restarting the terminal, this should work:
6464

6565
#### Using the Windows installer
6666

67-
Download the installer 'tmc-cli-rust.msi' at ... TODO
67+
Windows installer can be found [here](https://github.com/rage/tmc-cli-rust/tree/dev/installer).
68+
Download and run the newest installer found. After installation, the application updates automatically.
6869

6970
### Manual installation
7071

@@ -188,6 +189,11 @@ Soft deadline: none
188189

189190

190191
## Contribution
192+
Notes for further development:
193+
194+
We've used [cargo-wix](https://github.com/volks73/cargo-wix) to create the Windows Installer.
195+
Further instructions for it's usage can be found on the given repository.
196+
Please mind that the License.rtf has been modified (for the copyright part) and changed the manufacturer has been to University of Helsinki in the main.wxs file. We have not implemented creating the installer in the GitHub Actions, so it needs to be done manually.
191197

192198
### Formatting
193199

installer/tmc-0.3.6-x86_64.msi

25 MB
Binary file not shown.

wix/main.wxs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@
3434
<Product
3535
Id='*'
3636
Name='tmc'
37-
UpgradeCode='E702315C-E54D-4F15-9513-6A4CCCC7E8D7'
38-
Manufacturer='HoolaBoola'
37+
UpgradeCode='8234CB53-0B9C-44DC-BE54-A0D24C7AA652'
38+
Manufacturer='University of Helsinki'
3939
Language='1033'
4040
Codepage='1252'
4141
Version='$(var.Version)'>
4242

4343
<Package Id='*'
4444
Keywords='Installer'
4545
Description='Command line interface for TMC, written in Rust.'
46-
Manufacturer='HoolaBoola'
46+
Manufacturer='University of Helsinki'
4747
InstallerVersion='450'
4848
Languages='1033'
4949
Compressed='yes'
@@ -56,11 +56,11 @@
5656
DowngradeErrorMessage='A newer version of [ProductName] is already installed. Setup will now exit.'/>
5757

5858
<Media Id='1' Cabinet='media1.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1'/>
59-
<Property Id='DiskPrompt' Value='tmc-cli-rust Installation'/>
59+
<Property Id='DiskPrompt' Value='tmc Installation'/>
6060

6161
<Directory Id='TARGETDIR' Name='SourceDir'>
6262
<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
63-
<Directory Id='APPLICATIONFOLDER' Name='tmc-cli-rust'>
63+
<Directory Id='APPLICATIONFOLDER' Name='tmc'>
6464
<!--
6565
Disabling the license sidecar file in the installer is a two step process:
6666
@@ -77,7 +77,7 @@
7777
</Component>
7878

7979
<Directory Id='Bin' Name='bin'>
80-
<Component Id='Path' Guid='56D2A05B-2A48-4265-98C6-82F804D71B6B' Win64='$(var.Win64)' KeyPath='yes'>
80+
<Component Id='Path' Guid='98F790BA-3E5C-4494-92AB-E10184A799CB' Win64='$(var.Win64)' KeyPath='yes'>
8181
<Environment
8282
Id='PATH'
8383
Name='PATH'
@@ -92,7 +92,7 @@
9292
Id='exe0'
9393
Name='tmc.exe'
9494
DiskId='1'
95-
Source='target\$(var.Profile)\tmc-cli-rust.exe'
95+
Source='target\$(var.Profile)\tmc.exe'
9696
KeyPath='yes'/>
9797
</Component>
9898
</Directory>

0 commit comments

Comments
 (0)