HIRS/HIRS_Provisioner.NET/hirs/Resources/Product.wxs
iadgovuser62 e9f5d7245c
Xfer HIRS_Provisioner.NET to main (#663)
* Moving HIRS_Provisioner.NET and dotnet_provisioner_unit_tests.yml into main branch

* Adding fixed dotnet provisioner workflow

* Updated files to match updated master branch, including hirs.sln, Directory.Build.targets, HIRS_Provisioner.NET.csproj, and hirsTest.csproj
2024-01-22 16:18:01 -05:00

35 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="$(var.SetupProductName)" Manufacturer="$(var.SetupProductManufacturer)" Language="$(var.SetupProductLanguage)" Version="$(var.SetupProductVersion)">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<!--
Because we don't have a way (yet) to create unique product codes, we can't include the MajorUpgrade element, either
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
-->
<MediaTemplate EmbedCab="yes" />
<Feature Id="$(var.SetupFeatureId)" Title="$(var.SetupFeatureName)" Level="1">
<ComponentGroupRef Id="ProductComponents" />
<Component Directory='INSTALLFOLDER'>
<RegistryValue Root='HKLM' Key='Software\HIRS' Name='InstallFolder' Value='[INSTALLFOLDER]' Type='string' />
<Environment Id='UpdatePath' Name='PATH' Action='set' System='yes' Part='last' Value='[INSTALLFOLDER]' />
</Component>
</Feature>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="$(var.SetupInstallFolderName)" />
</Directory>
</Directory>
</Fragment>
<Fragment>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<ComponentGroupRef Id="SourceComponentGroup" />
</ComponentGroup>
</Fragment>
</Wix>