github.com/kubeshop/testkube@v1.17.23/build/installer/windows/testkube.wxs (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
     3  	<Product Id="*" Name="Testkube" Language="1033" Version="0.11.0" Manufacturer="Kubeshop" UpgradeCode="b910c0a2-3dd0-4763-9632-7b1c560a850c">
     4  		<Package Id="*" InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
     5  
     6  		<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
     7  		<MediaTemplate EmbedCab="yes"/>
     8  		
     9  		<Feature Id="ProductFeature" Title="Testkube" Level="1">
    10  			<ComponentGroupRef Id="ProductComponents" />
    11  		</Feature>
    12  	</Product>
    13  
    14  	<Fragment>
    15  		<Directory Id="TARGETDIR" Name="SourceDir">
    16  			<Directory Id="ProgramFilesFolder">
    17  				<Directory Id="INSTALLFOLDER" Name="Testkube" />
    18  			</Directory>
    19  		</Directory>
    20  	</Fragment>
    21  
    22  	<Fragment>
    23  		<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
    24  			<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
    25  			<Component Id="ProductComponent" Guid="932900c1-a727-40c0-a5b6-95c8024b2d3d">
    26  				<!-- TODO: Insert files, registry keys, and other resources here. -->
    27  				<File Id='TeskubeEXE' Name='kubectl-testkube.exe' DiskId='1' Source='kubectl-testkube.exe' KeyPath='yes' Vital='yes'/>
    28  				<File Id='TeskubeALIAS' Name='tk.bat' DiskId='1' Source='tk.bat' Vital='yes'/>
    29  				<File Id='TeskubeALIASFULL' Name='testkube.bat' DiskId='1' Source='testkube.bat' Vital='yes'/>
    30  				<Environment Id='UpdatePath' Name='PATH' Action='set' Permanent='yes' System='yes' Part='last' Value='[INSTALLFOLDER]' />
    31  			</Component>
    32  		</ComponentGroup>
    33  	</Fragment>
    34  </Wix>