Visual Studio configuration and operational prerequisites - CSharpTeoMan911/Eva GitHub Wiki
| Component | Requirement |
|---|---|
| .NET Framework | 4.6 or higher |
| Operating System | Windows 10/11 |
| IDE | Visual Studio 2019/2022 |
-
Navigate to the Eva Releases page.
-
Download the
python.ziparchive.
-
Extract the downloaded archive.
-
Copy the extracted directory into the directory containing the Eva executable (
DebugorRelease).
-
Navigate to the Eva Releases page.
-
Download
Sounds.zip. -
Extract the archive.
-
Move the extracted
Soundsdirectory into the directory containing the Eva executable (DebugorRelease).
Eva's application directory exceeds 3 GB, which is why WiX Toolset with Burn Bundle is used to generate the installer.
Burn allows the MSI package and all required application files to be embedded into a single, self-contained offline executable (Eva.exe). This avoids external downloads or additional files during installation.
Before generating the installer:
- Install the WiX Toolset on your development machine.
- Install the WiX Toolset Visual Studio Extension through the Visual Studio Marketplace.
- Ensure the WiX Toolset SDK and required extension packages are available to your development environment.
You can use Claude Code or OpenAI Codex to generate and configure the WiX installer projects.
Open your Eva repository in your preferred coding agent and provide the following prompt.
The agent will first ask for the necessary directory paths before making any changes.
Before editing or building anything, ask me for:
1. The folder containing the WiX installer solution/project, or where you should create it.
2. The folder containing the app’s Release payload.
3. The folder where the finished Eva.exe should be saved. If I don’t specify one, use an artifacts folder under the WiX project folder.
Wait for my answers before proceeding. Use the paths I provide throughout; do not assume paths from another conversation.
Create or update a modern SDK-style WiX installer. Reuse existing WiX projects where appropriate. Do not modify the Eva application source code. Pin WixToolset.Sdk and all WiX extension packages to version 7.0.1. Use a Package project for the MSI and a Bundle project for the final EXE, with the Bundle project referencing the Package project.
Use the payload folder I provide as the sole source of truth. Add it as a named bind path called EvaRelease. Include every file and subdirectory, preserving relative folders, except:
- JSON files directly in the payload root
- error_log.txt directly in the payload root
These exclusions apply only to the root. Include JSON and error_log.txt files in child directories. Do not use recursive exclusions, add other exclusions, or silently omit files. Do not create duplicate Python archives or other payload copies.
Build an x86, per-machine MSI whose default installation folder is %ProgramData%\Eva. Show an installer wizard with a folder chooser and progress UI. Do not require an Eva license agreement when no EULA has been provided. The installed application executable is Eva 5.0.exe.
Create a desktop shortcut named Eva that launches Eva 5.0.exe and uses Eva.ico as its image. Use Eva.ico for the installer EXE icon too.
Write these application registry entries during installation:
1. A 32-bit HKLM App Paths key for Eva 5.0.exe. Its default value must resolve to the installed executable, and its Path value must resolve to the installation folder.
2. A normal MSI Apps & Features/uninstall entry with a working Windows Installer uninstall path.
Do not create file-type associations or unrelated registry entries. Explain any additional registry data Burn requires for bundle maintenance, and avoid duplicate visible Eva uninstall entries where possible without breaking uninstall.
Build a single offline, self-contained Burn installer named Eva.exe. Embed the MSI and all required payload inside it. The installer must not depend on neighboring files, downloads, or another folder. If practical, target roughly 7–8 internal MSI cabinets while still delivering only one EXE.
Clean only WiX intermediate and output folders before rebuilding so stale outputs or harvested file lists are not reused. Never clean or alter the payload folder. Build from its current contents.
Keep the final EXE below 4 GiB, targeting 3.8 GiB or less. If all required files do not fit, stop and report the size issue; do not omit files to force a successful build.
When writing C# string literals for Windows paths, use verbatim strings such as @"C:\folder\file". In PowerShell, quote paths safely; do not put a single trailing backslash immediately before a closing double quote.
At the end, report the output path, final EXE size, whether it is self-contained, and any build errors or registry/uninstall caveats. Do not claim the installer was runtime-tested unless it actually was.
Important: Review the generated WiX projects and build output before distributing the installer. A successful build does not establish that the installation and uninstallation workflows have been runtime-tested.