Difference between revisions of "Anydesk"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 31: Line 31:
 
     <install cmd='%comspec% /c del /q %WINDIR%\AnyDesk.msi'><exit code="any" /></install>
 
     <install cmd='%comspec% /c del /q %WINDIR%\AnyDesk.msi'><exit code="any" /></install>
  
 +
    <upgrade include="remove" />
 
     <upgrade include="install" />
 
     <upgrade include="install" />
  

Revision as of 08:39, 11 May 2018

AnyDesk is the fastest remote desktop software on the market.
It allows for new usage scenarios and applications that have not been possible with current remote desktop software.

You need a Professional license to get access to the MSI File. To make it working, just modify the variables "AD-uniqueid" & "AD-password". The AD-uniqueid can be found in the Anydesk directory name after installing it once on a computer. It's located into the "Program Files (x86)" directory.

<?xml version="1.0" encoding="utf-8" ?>
<packages>

  <package
    id='Anydesk'
        name='Anydesk Remote Desktop'
        revision="%version%"
        reboot="false"
        priority="70">

    <variable name="version" value="3.6.2" />
    <variable name="AD-uniqueid" value="7eddaa00" />
    <variable name="AD-password" value="Your-Password" />
    <variable name="progfile" value="%PROGRAMFILES%" />
    <variable name="progfile" value="%PROGRAMFILES(x86)%" architecture="x64" />

    <check type="uninstall" condition="exists" path="AnyDesk .+" value="%version%" />

    <install cmd='%comspec% /c copy %SOFTWARE%\Anydesk\AnyDesk.msi %WINDIR%' />
    <install cmd='msiexec /qn /norestart /i %WINDIR%\AnyDesk.msi' />
    <install cmd='%comspec% /c echo %AD-password% | "%progfile%\AnyDesk-%AD-uniqueid%\AnyDesk-%AD-uniqueid%.exe" --set-password' />
    <install cmd='%comspec% /c del /q %WINDIR%\AnyDesk.msi'><exit code="any" /></install>

    <upgrade include="remove" />
    <upgrade include="install" />

    <downgrade include="remove" />
    <downgrade include="install" />

    <remove  cmd='wmic product where "name like &apos;Anydesk%%&apos;" call uninstall' />

  </package>


</packages>