{"id":15422558,"url":"https://github.com/heaths/wixsampleapp","last_synced_at":"2026-04-10T08:30:21.651Z","repository":{"id":145642989,"uuid":"263228739","full_name":"heaths/WixSampleApp","owner":"heaths","description":"A simple sample WiX project referencing a console app","archived":false,"fork":false,"pushed_at":"2020-09-03T21:47:31.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T10:16:48.636Z","etag":null,"topics":["wix","wix-toolset"],"latest_commit_sha":null,"homepage":"https://heaths.dev","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heaths.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.rtf","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-12T04:05:55.000Z","updated_at":"2020-07-07T19:50:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa138966-44be-4da5-974a-4fdbbd856845","html_url":"https://github.com/heaths/WixSampleApp","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"0d382e817c82580ad75ac9ac4052e5033bcd8c61"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FWixSampleApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FWixSampleApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FWixSampleApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heaths%2FWixSampleApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heaths","download_url":"https://codeload.github.com/heaths/WixSampleApp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239979039,"owners_count":19728453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["wix","wix-toolset"],"created_at":"2024-10-01T17:38:55.679Z","updated_at":"2026-04-10T08:30:21.579Z","avatar_url":"https://github.com/heaths.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple WiX Sample\n\nThis is a simple sample for a [Windows Installer XML](https://wixtoolset.org) project using minimal authoring to create a Windows Installer package (.msi file).\n\nIt contains:\n\n1. **SampleApp** - a simple console application.\n2. **SampleProduct** - a WiX project that references the SampleApp project and its target output.\n\n## Authoring\n\nAfter installing the prerequisites in the [Building](#building) section below:\n\n1. Create a new .NET Core console application (keep project in a separate directory from the solution).\n2. Find and create a \"Setup Project for WiX v3\".\n3. Right-click on the setup project and click **Add -\u003e Reference...**\n4. Edit *Product.wxs* to change the `ProductName` and `Manufacturer` attributes on the root `Product` element.\n5. Edit the `ProductComponents` component group to reference your product file:\n   ```xml\n    \u003cComponent\u003e\n      \u003cFile Source=\"$(var.SampleApp.TargetPath)\" /\u003e\n    \u003c/Component\u003e\n   ```\n   You do not need to specify any other attributes.\n6. You can optionally author registry values in another component (generally recommended to keep resources separate):\n   ```xml\n    \u003cComponent\u003e\n      \u003cRegistryKey Root=\"HKLM\" Key=\"Software\\[Manufacturer]\\[ProductName]\"\u003e\n        \u003cRegistryValue Name=\"InstallDir\" Type=\"string\" Value=\"[INSTALLFOLDER]\" /\u003e\n        \u003cRegistryValue Name=\"Version\" Type=\"string\" Value=\"[ProductVersion]\" KeyPath=\"yes\" /\u003e\n      \u003c/RegistryKey\u003e\n    \u003c/Component\u003e\n   ```\n   In this case, we specify the `KeyPath` attribute on a registry value that will change with each update. When multiple resources are contained within a component, you often need to denote which one is the primary one that will help identify when a component has been upgraded.\n\nIf you have a lot of projects or project outputs, you can attempt to [harvest those projects](https://wixtoolset.org/documentation/manual/v3/msbuild/target_reference/harvestprojects.html). This option will harvest directories and files output by the projects based on which output groups you select (default: Binaries, Content, and Satellite assemblies). It will also harvest any subdirectories. Please be aware that harvesting a project may not always yield the exact results you want, but may be useful for simple projects, or in early product development releases.\n\n## Building\n\nTo build this solution, you'll need:\n\n1. [Microsoft Visual Studio](https://www.visualstudio.com)\n2. [Windows Installer XML 3.0](https://wixtoolset.org/releases)\n3. [WiX Toolset Extension](https://marketplace.visualstudio.com/search?term=wix\u0026target=VS\u0026sortBy=Relevance) appropriate for your Visual Studio version.\n\nOpen the solution and build.\n\n## License\n\nThis project is licensed under the MIT license. See [LICENSE.txt](LICENSE.txt) for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fwixsampleapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheaths%2Fwixsampleapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheaths%2Fwixsampleapp/lists"}