github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/contrib/msi/podman.wxs (about) 1 <?xml version="1.0" encoding="utf-8"?> 2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> 3 4 <?ifndef var.VERSION?> 5 <?error VERSION must be defined via command line argument?> 6 <?endif?> 7 8 <?ifndef var.ManSourceDir?> 9 <?define ManSourceDir = "bin/windows" ?> 10 <?endif?> 11 12 <Product Name="Podman $(var.VERSION)" Id="*" UpgradeCode="696BAB5D-CA1F-4B05-B123-320F245B8D6D" Version="$(var.VERSION)" Language="1033" Manufacturer="Red Hat Inc."> 13 14 <Package Id="*" Keywords="Installer" Description="Red Hat's Podman $(var.VERSION) Installer" Comments="Apache 2.0 License" Manufacturer="Red Hat Inc." InstallScope="perMachine" InstallerVersion="100" Compressed="yes"/> 15 <Media Id="1" Cabinet="Podman.cab" EmbedCab="yes"/> 16 <Property Id="DiskPrompt" Value="Red Hat's Podman $(var.VERSION) Installation"/> 17 18 <Directory Id="TARGETDIR" Name="SourceDir"> 19 20 <Directory Id="ProgramFilesFolder" Name="PFiles"> 21 <Directory Id="RedHatPFiles" Name="RedHat"> 22 <Directory Id="INSTALLDIR" Name="Podman"> 23 <Component Id="INSTALLDIR_Component" Guid="14B310C4-9B5D-4DA5-ADF9-B9D008E4CD82"> 24 <CreateFolder/> 25 </Component> 26 <Component Id="MainExecutable" Guid="73752F94-6589-4C7B-ABED-39D655A19714"> 27 <File Id="520C6E17-77A2-4F41-9611-30FA763A0702" Name="podman-remote-windows.exe" Source="bin/podman-remote-windows.exe"/> 28 <File Id="A14218A0-4180-44AC-B109-7C63B3099DCA" Name="podman.bat" Source="podman.bat" KeyPath="yes"/> 29 </Component> 30 </Directory> 31 </Directory> 32 </Directory> 33 </Directory> 34 35 <Property Id="setx" Value="setx.exe"/> 36 <CustomAction Id="ChangePath" ExeCommand="PATH "%PATH%;[INSTALLDIR] "" Property="setx" Execute="deferred" Impersonate="yes" Return="check"/> 37 38 <Feature Id="Complete" Level="1"> 39 <ComponentRef Id="INSTALLDIR_Component"/> 40 <ComponentRef Id="MainExecutable"/> 41 <ComponentGroupRef Id="ManFiles"/> 42 </Feature> 43 44 <Icon Id="podman.ico" SourceFile="contrib/msi/podman-logo.ico"/> 45 <Property Id="ARPPRODUCTICON" Value="podman.ico"/> 46 47 <InstallExecuteSequence> 48 <RemoveExistingProducts Before="InstallInitialize"/> 49 <Custom Action="ChangePath" After="InstallServices">NOT Installed</Custom> 50 </InstallExecuteSequence> 51 52 </Product> 53 </Wix>