updated icons and main.wxs
59
main.wxs
@ -74,7 +74,7 @@
|
||||
Execute="deferred"
|
||||
Impersonate="no"
|
||||
Return="ignore"
|
||||
ExeCommand="Invoke-WebRequest -Uri 'https://npcap.com/dist/npcap-1.75.exe' -OutFile '$env:TEMP\npcap_installer.exe'; Start-Process -FilePath '$env:TEMP\npcap_installer.exe' -ArgumentList '/S' -Wait;"
|
||||
ExeCommand="Invoke-WebRequest -Uri 'https://npcap.com/dist/npcap-1.60.exe' -OutFile '$env:TEMP\npcap_installer.exe'; Start-Process -FilePath '$env:TEMP\npcap_installer.exe' -ArgumentList '/S' -Wait;"
|
||||
/>
|
||||
|
||||
<InstallExecuteSequence>
|
||||
@ -96,6 +96,8 @@
|
||||
Schedule='afterInstallInitialize'
|
||||
DowngradeErrorMessage='A newer version of [ProductName] is already installed. Setup will now exit.'/>
|
||||
|
||||
<Icon Id='SetupIcon' SourceFile='resources\icons\sniffnet-windows.ico'/>
|
||||
|
||||
<Media Id='1' Cabinet='media1.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1'/>
|
||||
<Property Id='DiskPrompt' Value='sniffnet Installation'/>
|
||||
|
||||
@ -138,14 +140,45 @@
|
||||
Id='exe0'
|
||||
Name='sniffnet.exe'
|
||||
DiskId='1'
|
||||
Source='$(var.CargoTargetBinDir)/sniffnet.exe'
|
||||
Source='$(var.CargoTargetBinDir)\sniffnet.exe'
|
||||
KeyPath='yes'/>
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
<Directory Id="ProgramMenuFolder">
|
||||
<Directory Id="ApplicationProgramsFolder" Name="Sniffnet"/>
|
||||
</Directory>
|
||||
<Directory Id="DesktopFolder" Name="Desktop">
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<DirectoryRef Id="ApplicationProgramsFolder">
|
||||
<Component Id="AppStart" Guid="d5886d8d-009d-4468-9db3-1ebc72f7c201">
|
||||
<Shortcut Id="AppStartShortcut"
|
||||
Name="Sniffet"
|
||||
Description="Application to comfortably monitor your network traffic"
|
||||
Target="[APPLICATIONFOLDER]bin\sniffnet.exe"
|
||||
WorkingDirectory="APPLICATIONROOTDIRECTORY"
|
||||
Icon="SetupIcon"/>
|
||||
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
||||
<RegistryValue Root="HKCU" Key="Software\gyulyvgc\sniffnet" Name="StartShortcut" Type="integer" Value="1" KeyPath="yes"/>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
|
||||
<DirectoryRef Id="DesktopFolder">
|
||||
<Component Id="AppDesk" Guid="e7261bca-c8c3-4f7f-be81-eb3a7470bc7d">
|
||||
<Shortcut Id="AppDeskShortcut"
|
||||
Name="Sniffnet"
|
||||
Description="Application to comfortably monitor your network traffic"
|
||||
Target="[APPLICATIONFOLDER]bin\sniffnet.exe"
|
||||
WorkingDirectory="APPLICATIONROOTDIRECTORY"
|
||||
Icon="SetupIcon"/>
|
||||
<RemoveFolder Id="DesktopFolder" On="uninstall"/>
|
||||
<RegistryValue Root="HKCU" Key="Software\gyulyvgc\sniffnet" Name="DeskShortcut" Type="integer" Value="1" KeyPath="yes"/>
|
||||
</Component>
|
||||
</DirectoryRef>
|
||||
|
||||
<Feature
|
||||
Id='Binaries'
|
||||
Title='Application'
|
||||
@ -174,6 +207,28 @@
|
||||
</Feature>
|
||||
</Feature>
|
||||
|
||||
<Feature
|
||||
Id='StartShort'
|
||||
Title='Start menu shortcut'
|
||||
Description='Add a shortcut to the start menu'
|
||||
Level='1'
|
||||
AllowAdvertise='no'
|
||||
Display='expand'
|
||||
Absent='disallow'>
|
||||
<ComponentRef Id="AppStart" />
|
||||
</Feature>
|
||||
|
||||
<Feature
|
||||
Id='DeskShort'
|
||||
Title='Desktop shortcut'
|
||||
Description='Add a shortcut to the desktop'
|
||||
Level='1'
|
||||
AllowAdvertise='no'
|
||||
Display='expand'
|
||||
Absent='disallow'>
|
||||
<ComponentRef Id="AppDesk" />
|
||||
</Feature>
|
||||
|
||||
<SetProperty Id='ARPINSTALLLOCATION' Value='[APPLICATIONFOLDER]' After='CostFinalize'/>
|
||||
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 395 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 46 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 5.4 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 583 B After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 8.5 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 401 KiB |
|
Before Width: | Height: | Size: 242 KiB After Width: | Height: | Size: 123 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |