installer: remove repair option (#2243)

This commit is contained in:
Jan-Otto Kröpke
2025-11-02 18:40:39 +01:00
committed by GitHub
parent 8fe118bff9
commit cd088325ef
2 changed files with 8 additions and 3 deletions

BIN
installer/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

View File

@@ -71,11 +71,16 @@
<Property Id="TEXTFILE_DIRS" Secure="yes" /> <Property Id="TEXTFILE_DIRS" Secure="yes" />
<SetProperty Id="TextfileDirsFlag" After="InstallFiles" Sequence="execute" Value="--collector.textfile.directories=&quot;[TEXTFILE_DIRS]&quot;" Condition="TEXTFILE_DIRS" /> <SetProperty Id="TextfileDirsFlag" After="InstallFiles" Sequence="execute" Value="--collector.textfile.directories=&quot;[TEXTFILE_DIRS]&quot;" Condition="TEXTFILE_DIRS" />
<!-- Configuration for how the installer shows in Add/Remove Programs. -->
<Icon Id="icon.ico" SourceFile=".\icon.ico"/>
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
<Property Id="ARPHELPLINK" Value="https://github.com/prometheus-community/windows_exporter/issues" /> <Property Id="ARPHELPLINK" Value="https://github.com/prometheus-community/windows_exporter/issues" />
<Property Id="ARPSIZE" Value="9000" />
<Property Id="ARPURLINFOABOUT" Value="https://github.com/prometheus-community/windows_exporter" /> <Property Id="ARPURLINFOABOUT" Value="https://github.com/prometheus-community/windows_exporter" />
<!--<Property Id="ARPNOMODIFY" Value="0" />--> <Property Id="ARPCOMMENTS" Value="Prometheus exporter for Windows machines" />
<!--<Property Id="ARPNOREPAIR" Value="1" />--> <!-- Disable the repair option; the functionality is available through Change instead. -->
<Property Id="ARPNOREPAIR" Value="1" />
<Property Id="ARPSIZE" Value="10000" />
<Property Id="START_MENU_FOLDER" Value="0" /> <Property Id="START_MENU_FOLDER" Value="0" />
<Property Id="NOSTART" Value="0" /> <Property Id="NOSTART" Value="0" />