Skip to content

Commit

Permalink
add ForceDeleteOnUninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
Ying Chen committed Apr 16, 2024
1 parent 3d394b9 commit a1590ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/installer/windows/product.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
<Icon Id="PromptflowServiceIcon" SourceFile="$(var.ProductResources)logo32.ico" />
</Shortcut>
<RemoveFile Id="CleanUpShortCut" Directory="StartupFolder" Name="Prompt flow service" On="uninstall"/>
<RegistryKey Root="HKCU" Key="Software\Microsoft\$(var.ProductName)" Action="createAndRemoveOnUninstall">
<RegistryKey Root="HKCU" Key="Software\Microsoft\$(var.ProductName)" Action="createAndRemoveOnUninstall" ForceDeleteOnUninstall="yes">
<RegistryValue Name="installed" Type="integer" Value="1" />
<RegistryValue Name="version" Type="string" Value="$(var.ProductVersion)" KeyPath="yes"/>
</RegistryKey>
Expand Down

0 comments on commit a1590ae

Please sign in to comment.