1+ <Wix xmlns =" http://wixtoolset.org/schemas/v4/wxs" >
2+ <Package Name =" Bunkr Downloader Portable GUI" Language =" 1033" Version =" 1.2.0" Manufacturer =" ZeroHackz" UpgradeCode =" f25e950d-edce-4c1c-a175-c296a196897c" InstallerVersion =" 200" >
3+ <MajorUpgrade DowngradeErrorMessage =" A newer version of Bunkr Downloader Portable GUI is already installed." />
4+ <MediaTemplate EmbedCab =" yes" />
5+
6+ <Feature Id =" ProductFeature" Title =" BunkrDownloader" Level =" 1" >
7+ <ComponentGroupRef Id =" ProductComponents" />
8+ <ComponentRef Id =" ApplicationShortcut" />
9+ </Feature >
10+
11+ <Icon Id =" icon.ico" SourceFile =" misc\gui\icons\icon.ico" />
12+ <Property Id =" ARPPRODUCTICON" Value =" icon.ico" />
13+
14+
15+
16+ <DirectoryRef Id =" ApplicationProgramsFolder" >
17+ <Component Id =" ApplicationShortcut" >
18+ <Shortcut Id =" ApplicationStartMenuShortcut" Name =" Bunkr Downloader" Description =" Bunkr Downloader GUI" Target =" [INSTALLFOLDER]BunkrDownloaderPortableGUI.exe" WorkingDirectory =" INSTALLFOLDER" Icon =" icon.ico" />
19+ <RemoveFolder Id =" ApplicationProgramsFolder" On =" uninstall" />
20+ <RegistryValue Root =" HKCU" Key =" Software\ZeroHackz\BunkrDownloaderPortableGUI" Name =" installed" Type =" integer" Value =" 1" KeyPath =" yes" />
21+ </Component >
22+ </DirectoryRef >
23+
24+ <ComponentGroup Id =" ProductComponents" Directory =" INSTALLFOLDER" >
25+ <!-- This is where you add all the files from your 'dist' folder -->
26+ <Component >
27+ <File Id =" BunkrDownloaderPortableGUI.exe" Source =" dist\BunkrDownloaderPortableGUI.exe" />
28+ </Component >
29+ <!-- If your 'dist' folder has other files or folders, you need to add them here too -->
30+ </ComponentGroup >
31+
32+ <StandardDirectory Id =" ProgramFilesFolder" >
33+ <Directory Id =" INSTALLFOLDER" Name =" BunkrDownloaderPortableGUI" />
34+ </StandardDirectory >
35+ <StandardDirectory Id =" ProgramMenuFolder" >
36+ <Directory Id =" ApplicationProgramsFolder" Name =" Bunkr Downloader Portable GUI" />
37+ </StandardDirectory >
38+ </Package >
39+ </Wix >
0 commit comments