-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Fragment> | ||
<ComponentGroup Id="Console" Directory="CONSOLE_INSTALLFOLDER"> | ||
<Component Id="ConsoleExecutable" Bitness="always64"> | ||
<File Id="Elzik.FmSync.Console.exe" | ||
Check failure on line 5 in Publish/Elzik.FmSync.WindowsInstaller/ConsoleComponentGroup.wxs GitHub Actions / build (windows-latest)
Check failure on line 5 in Publish/Elzik.FmSync.WindowsInstaller/ConsoleComponentGroup.wxs GitHub Actions / build (windows-latest)
Check failure on line 5 in Publish/Elzik.FmSync.WindowsInstaller/ConsoleComponentGroup.wxs GitHub Actions / build (windows-latest)
Check failure on line 5 in Publish/Elzik.FmSync.WindowsInstaller/ConsoleComponentGroup.wxs GitHub Actions / build (windows-latest)
|
||
Source="$(var.SolutionDir)Publish\output\Elzik.FmSync.Console\win-x64\fmsync.exe" | ||
KeyPath="true" /> | ||
<Environment Id="Path" | ||
Name="PATH" | ||
Value="[CONSOLE_INSTALLFOLDER]" | ||
Permanent="no" | ||
Part="last" | ||
Action="set" | ||
System="yes" /> | ||
<RemoveFile Id="ALL_CONSOLE_EXECUTABLES" Name="*.exe" On="both" /> | ||
</Component> | ||
<Component Id="ConsoleConfig" Permanent="true"> | ||
<File Id="console.appSettings.json" | ||
Check failure on line 18 in Publish/Elzik.FmSync.WindowsInstaller/ConsoleComponentGroup.wxs GitHub Actions / build (windows-latest)
Check failure on line 18 in Publish/Elzik.FmSync.WindowsInstaller/ConsoleComponentGroup.wxs GitHub Actions / build (windows-latest)
Check failure on line 18 in Publish/Elzik.FmSync.WindowsInstaller/ConsoleComponentGroup.wxs GitHub Actions / build (windows-latest)
Check failure on line 18 in Publish/Elzik.FmSync.WindowsInstaller/ConsoleComponentGroup.wxs GitHub Actions / build (windows-latest)
|
||
Source="$(var.SolutionDir)Publish\output\Elzik.FmSync.Console\win-x64\appSettings.json" | ||
KeyPath="true" /> | ||
</Component> | ||
</ComponentGroup> | ||
</Fragment> | ||
</Wix> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<Project Sdk="WixToolset.Sdk/4.0.0"> | ||
<ItemGroup> | ||
<None Include="LICENSE.rtf" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="WixToolset.UI.wixext" Version="4.0.2" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\src\Elzik.FmSync.Worker\Elzik.FmSync.Worker.csproj" /> | ||
</ItemGroup> | ||
</Project> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?define Manufacturer = "Elzik" ?> | ||
<?define Name = "fmsync" ?> | ||
|
||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<Fragment> | ||
<StandardDirectory Id="ProgramFiles6432Folder"> | ||
<Directory Id="ELZIK_INSTALLFOLDER" Name="$(var.Manufacturer)"> | ||
<Directory Id="FMSYNC_INSTALLFOLDER" Name="$(var.Name)"> | ||
<Directory Id="WORKER_INSTALLFOLDER" Name="Service" /> | ||
<Directory Id="CONSOLE_INSTALLFOLDER" Name="CommandLine" /> | ||
</Directory> | ||
</Directory> | ||
</StandardDirectory> | ||
</Fragment> | ||
</Wix> |