Fix. Msi, error 5 on uninstall (#7690)
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
5322332c5d
commit
48da00eb66
@ -34,7 +34,7 @@
|
|||||||
<Custom Action="AddFirewallRules.SetParam" Before="InstallFinalize" Condition="NOT Installed"/>
|
<Custom Action="AddFirewallRules.SetParam" Before="InstallFinalize" Condition="NOT Installed"/>
|
||||||
<Custom Action="AddFirewallRules" After="AddFirewallRules.SetParam"/>
|
<Custom Action="AddFirewallRules" After="AddFirewallRules.SetParam"/>
|
||||||
|
|
||||||
<Custom Action="RemoveInstallFolder.SetParam" After="RemoveFiles"/>
|
<Custom Action="RemoveInstallFolder.SetParam" After="RemoveFiles" Condition="Installed AND UPGRADINGPRODUCTCODE" />
|
||||||
<Custom Action="RemoveInstallFolder" After="RemoveInstallFolder.SetParam"/>
|
<Custom Action="RemoveInstallFolder" After="RemoveInstallFolder.SetParam"/>
|
||||||
<Custom Action="RemoveFirewallRules.SetParam" Before="RemoveFiles"/>
|
<Custom Action="RemoveFirewallRules.SetParam" Before="RemoveFiles"/>
|
||||||
<Custom Action="RemoveFirewallRules" After="RemoveFirewallRules.SetParam"/>
|
<Custom Action="RemoveFirewallRules" After="RemoveFirewallRules.SetParam"/>
|
||||||
@ -75,16 +75,16 @@
|
|||||||
</Component>
|
</Component>
|
||||||
</StandardDirectory>
|
</StandardDirectory>
|
||||||
|
|
||||||
<DirectoryRef Id="INSTALLFOLDER">
|
<!--<DirectoryRef Id="INSTALLFOLDER">
|
||||||
<Component Id="App.UninstallShortcut" Guid="FB0F2AC7-2AE5-4C54-B860-5E472620B6B1">
|
<Component Id="App.UninstallShortcut" Guid="FB0F2AC7-2AE5-4C54-B860-5E472620B6B1">
|
||||||
<Shortcut Id="App.UninstallShortcut" Name="!(loc.SC_Uninstall)" Description="!(loc.SC_Uninstall_Desc)" Target="[System6432Folder]msiexec.exe" Arguments="/x [ProductCode]" IconIndex="0" />
|
<Shortcut Id="App.UninstallShortcut" Name="!(loc.SC_Uninstall)" Description="!(loc.SC_Uninstall_Desc)" Target="[System6432Folder]msiexec.exe" Arguments="/x [ProductCode]" Icon="AppIcon" />
|
||||||
</Component>
|
</Component>
|
||||||
</DirectoryRef>
|
</DirectoryRef>-->
|
||||||
|
|
||||||
<ComponentGroup Id="Components" Directory="INSTALLFOLDER">
|
<ComponentGroup Id="Components" Directory="INSTALLFOLDER">
|
||||||
<ComponentRef Id="RustDesk.exe" />
|
<ComponentRef Id="RustDesk.exe" />
|
||||||
<ComponentRef Id="App.Desktop.Shortcut" />
|
<ComponentRef Id="App.Desktop.Shortcut" />
|
||||||
<ComponentRef Id="App.UninstallShortcut" />
|
<!--<ComponentRef Id="App.UninstallShortcut" />-->
|
||||||
<ComponentRef Id="App.StartMenu.Shortcut" />
|
<ComponentRef Id="App.StartMenu.Shortcut" />
|
||||||
<ComponentRef Id="App.StartMenu.ShortcutTray" />
|
<ComponentRef Id="App.StartMenu.ShortcutTray" />
|
||||||
<ComponentRef Id="App.StartMenu.ShortcutUninstall" />
|
<ComponentRef Id="App.StartMenu.ShortcutUninstall" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user