Skip to content

Commit

Permalink
Configured installer
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsgrill committed Aug 20, 2024
1 parent b6f83e7 commit b5138bf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ jobs:
with:
dotnet-version: 5.x
- name: Install wix
run: dotnet tool install --global wix
run: |
dotnet tool install --global wix
- name: Create installer
run: wix build PotatoDrive.wxs
run: wix build PotatoDrive.wxs -arch x64
- uses: actions/upload-artifact@v4
with:
name: PotatoDrive.msi
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
potatodrive.exe
PotatoDrive.msi
PotatoDrive.wixpdb
PotatoDrive.wixpdb
.wix
12 changes: 9 additions & 3 deletions PotatoDrive.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,20 @@
Language="1033"
Manufacturer="Balázs Grill"
Name="PotatoDrive"
Version="1.0.0.0">

Version="0.1.0.0"
Scope="perMachine"
InstallerVersion="200">

<Icon Id="potato.ico" SourceFile="potato.ico"/>
<Property Id="ARPPRODUCTICON" Value="potato.ico" />
<Property Id="ARPNOREPAIR" Value="yes" Secure="yes" />
<Property Id="ARPNOMODIFY" Value="yes" Secure="yes" />
<MediaTemplate EmbedCab="yes" />
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed." />

<StandardDirectory Id="ProgramFiles64Folder">
<Directory Id="INSTALLFOLDER" Name="PotatoDrive">
<Component Id="PotatoDrive" Guid="5384ae16-4fe0-4fc0-820d-e27b95344479">
<Component Id="PotatoDrive" Guid="5384ae16-4fe0-4fc0-820d-e27b95344479" Bitness="always64">
<File Source="potatodrive.exe"></File>
<File Source="potato.ico"></File>
</Component>
Expand Down

0 comments on commit b5138bf

Please sign in to comment.