Uploaded image for project: 'NPanday'
  1. NPanday
  2. NPANDAY-488 Packaging for Web Applications (also Azure Web Roles)
  3. NPANDAY-489

Implement path location for MSDeploy.exe (using Executable Plugins)

    XMLWordPrintableJSON

Details

    Description

      Location of MSDeployPath should be implemented in a way that is reusable for other plugins. Thinking a small DSL where we can query the system somehow to find the correct path.

      from Microsoft.Web.Publishing.targets
        <PropertyGroup>
          <!--Unless specified otherwise, the tools will go to HKLM\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\1 to get the installpath for msdeploy.exe.-->
          <MSDeployPath Condition="'$(MSDeployPath)'==''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\3@InstallPath)</MSDeployPath>
          <MSDeployPath Condition="'$(MSDeployPath)'==''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\2@InstallPath)</MSDeployPath>
          <MSDeployPath Condition="'$(MSDeployPath)'==''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\1@InstallPath)</MSDeployPath>
        </PropertyGroup>
      

      Attachments

        Activity

          People

            lcorneliussen Lars Corneliussen
            lcorneliussen Lars Corneliussen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: