mirror of https://github.com/dapr/cli.git
MSI Installer Fixes (#1081)
This commit is contained in:
parent
1d92a12aac
commit
8bdd4893d3
|
|
@ -2,7 +2,7 @@
|
|||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
|
||||
|
||||
<!-- Product IDs are autogenerated (*) at every build-->
|
||||
<Product Name='CLI' Id='*' UpgradeCode='ed31d74d-b958-4db2-910f-de85c0a9cea0' Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='Dapr'>
|
||||
<Product Name='Dapr CLI' Id='*' UpgradeCode='ed31d74d-b958-4db2-910f-de85c0a9cea0' Language='1033' Codepage='1252' Version='$(var.Version)' Manufacturer='Dapr'>
|
||||
|
||||
<!-- Installer Package-->
|
||||
<Package Id='*' Keywords='Installer' Description="Dapr CLI Installer" InstallerVersion='400' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
|
||||
|
|
@ -20,7 +20,8 @@
|
|||
|
||||
<!-- Directory Structure -->
|
||||
<Directory Id='TARGETDIR' Name='SourceDir'>
|
||||
<Directory Id='INSTALLDIR'>
|
||||
<Directory Id='INSTALLDIR' Name = 'dapr'>
|
||||
<!-- Default Installation Directory set to $env:SystemDrive\dapr -->
|
||||
|
||||
<!-- Dapr EXE Component -->
|
||||
<Component Id='DaprEXE_Comp' Guid='83363a24-2323-489c-b9b7-a3fd7f0dacd1'>
|
||||
|
|
@ -28,14 +29,29 @@
|
|||
</File>
|
||||
</Component>
|
||||
|
||||
<!-- Update PATH Environment Variable -->
|
||||
<Component Id='UpdatePATH_Comp' Guid='0198647e-bae8-47e6-b9ff-01881ee540ae'>
|
||||
<CreateFolder />
|
||||
<Environment Id='Dapr_Path' Name="PATH" Action="set" System="no" Part="last" Value="[INSTALLDIR]" />
|
||||
</Component>
|
||||
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<!-- Default Install Location is 'C:\dapr'-->
|
||||
<SetDirectory Id='INSTALLDIR' Value='[WindowsVolume]dapr' />
|
||||
<!-- Set Root Installation Directory to System Drive(C:\) -->
|
||||
<CustomAction Id="SetTARGETDIR" Property="TARGETDIR" Value="[WindowsVolume]" Return="check" />
|
||||
|
||||
<InstallUISequence>
|
||||
<Custom Action="SetTARGETDIR" Sequence = '1' />
|
||||
</InstallUISequence>
|
||||
|
||||
<InstallExecuteSequence>
|
||||
<Custom Action="SetTARGETDIR" Sequence = '1' />
|
||||
</InstallExecuteSequence>
|
||||
|
||||
<Feature Id='Complete' Level='1'>
|
||||
<ComponentRef Id='DaprEXE_Comp' />
|
||||
<ComponentRef Id='UpdatePATH_Comp' />
|
||||
</Feature>
|
||||
|
||||
<!-- Dialog to let the user choose a directory where the product will be installed-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue