Skip to content

Commit a215713

Browse files
committed
Add installer script (Inno Setup) and build instructions
1 parent d3cf419 commit a215713

5 files changed

Lines changed: 61 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,5 @@ project.nuget.cache
6868
*.nuget.g.props
6969
*.nuget.g.targets
7070
publish/
71+
installer-output/
7172
.vs/

voxtral_realtime/windows/README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ This is the Windows equivalent of the [macOS Voxtral Realtime app](../macos/).
66

77
## Quick Start (Pre-built Release)
88

9-
Download `VoxtralRealtime.exe` from the [Releases](https://github.com/meta-pytorch/executorch-examples/releases) page and run it directly. No installation required.
9+
Download `VoxtralRealtime-Setup.exe` from the [Releases](https://github.com/meta-pytorch/executorch-examples/releases) page and run the installer. It creates a Start Menu shortcut and optional desktop shortcut.
10+
11+
Alternatively, download the standalone `VoxtralRealtime.exe` and run it directly (no installation required).
1012

1113
You also need:
1214
- The `voxtral_realtime_runner.exe` (built from ExecuTorch with CUDA support)
@@ -73,6 +75,29 @@ dotnet publish VoxtralRealtime --configuration Release --runtime win-x64 --self-
7375

7476
The output `publish\VoxtralRealtime.exe` can be distributed and run on any Windows x64 machine.
7577

78+
## Create Installer
79+
80+
Build a Windows installer (`.exe`) with Start Menu shortcut, desktop shortcut, and uninstaller:
81+
82+
```powershell
83+
# 1. Install Inno Setup (one-time)
84+
winget install JRSoftware.InnoSetup
85+
86+
# 2. Publish the app
87+
cd VoxtralRealtime
88+
dotnet publish VoxtralRealtime --configuration Release --runtime win-x64 --self-contained true /p:PublishSingleFile=true /p:IncludeNativeLibrariesForSelfExtract=true /p:DebugType=none -o publish
89+
90+
# 3. Build the installer
91+
cd ..
92+
& "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" installer.iss
93+
```
94+
95+
The output `installer-output\VoxtralRealtime-Setup.exe` is a self-contained installer that:
96+
- Installs to `Program Files\VoxtralRealtime` (no admin required)
97+
- Creates Start Menu and optional desktop shortcuts
98+
- Registers in Windows Settings for clean uninstall
99+
- Optionally launches the app after install
100+
76101
## Configuration
77102

78103
On first launch, the app auto-loads the model from default paths. All paths are configurable in Settings:
Binary file not shown.

voxtral_realtime/windows/VoxtralRealtime/VoxtralRealtime/VoxtralRealtime.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<AssemblyName>VoxtralRealtime</AssemblyName>
99
<Nullable>enable</Nullable>
1010
<ImplicitUsings>enable</ImplicitUsings>
11+
<ApplicationIcon>Resources\app.ico</ApplicationIcon>
1112
</PropertyGroup>
1213

1314
<ItemGroup>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
; Voxtral Realtime Windows Installer - Inno Setup Script
2+
; Download Inno Setup from https://jrsoftware.org/isinfo.php
3+
4+
[Setup]
5+
AppName=Voxtral Realtime
6+
AppVersion=1.0.0
7+
AppPublisher=Meta Platforms
8+
AppPublisherURL=https://github.com/meta-pytorch/executorch-examples
9+
DefaultDirName={autopf}\VoxtralRealtime
10+
DefaultGroupName=Voxtral Realtime
11+
OutputDir=installer-output
12+
OutputBaseFilename=VoxtralRealtime-Setup
13+
SetupIconFile=VoxtralRealtime\VoxtralRealtime\Resources\app.ico
14+
UninstallDisplayIcon={app}\VoxtralRealtime.exe
15+
Compression=lzma2
16+
SolidCompression=yes
17+
WizardStyle=modern
18+
ArchitecturesAllowed=x64compatible
19+
ArchitecturesInstallIn64BitMode=x64compatible
20+
PrivilegesRequired=lowest
21+
22+
[Files]
23+
Source: "VoxtralRealtime\publish\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
24+
25+
[Icons]
26+
Name: "{group}\Voxtral Realtime"; Filename: "{app}\VoxtralRealtime.exe"
27+
Name: "{autodesktop}\Voxtral Realtime"; Filename: "{app}\VoxtralRealtime.exe"; Tasks: desktopicon
28+
29+
[Tasks]
30+
Name: "desktopicon"; Description: "Create a desktop shortcut"; GroupDescription: "Additional shortcuts:"
31+
32+
[Run]
33+
Filename: "{app}\VoxtralRealtime.exe"; Description: "Launch Voxtral Realtime"; Flags: nowait postinstall skipifsilent

0 commit comments

Comments
 (0)