Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8651603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:06:44+00:00 2026-06-12T14:06:44+00:00

How do I get the runCommand provider to work in the Manifest.xml of a

  • 0

How do I get the runCommand provider to work in the Manifest.xml
of a MS Deploy package when installed via the Web Platform Installer?

I’m trying to build a simple test MS Web Deploy package installable by
the Web Platform Installer via a custom feed. I’m trying to use
the runCommand provider in the Manifest.xml file:

<?xml version="1.0" encoding="utf-8" ?>
<msDeploy.iisApp>
  <iisApp path="IISWSGISampleApp" />
  <runCommand path="set" />
</msDeploy.iisApp>

The set is used just to output the environment the command is run
under, but it doesn’t work for any number of different path
values. When I install the package via the Web Platform Installer with any path attribute
I get the same error:

[13:54:312]Source runCommand (set) does not match destination (set) differing in attributes (isSource). Update pending.
[13:54:315]Updating runCommand (set).
    Details:
    operationType: Update
    providerName: runCommand
    path: set
EXCEPTION: System.IO.FileNotFoundException: Could not find file '\\?\C:\Users\rpatterson\Documents\My Web Sites\IISWSGISampleApp'.
File name: '\\?\C:\Users\rpatterson\Documents\My Web Sites\IISWSGISampleApp'
...

It installs just fine if I remove the <runCommand> element from the Manifest.xml. I have also confirmed that the C:\Users\rpatterson\Documents\My Web Sites\IISWSGISampleApp does exist when WebPI shows the error. Also, I found out that the \\?\ style paths are for safely referencing long paths in Windows, so it may be that some part of long path support is broken.

I’m doing all this under Windows 7 Professional, Web Platform
Installer 4.0, and Web Matrix 2.0 RC whose about dialog says:

Version 2.0 RC
WebMatrix: 7.1.1587.0
IIS Express: 8.0.8298.0
.NET Framework: 4.0.30319.17379 built by: FXBETAREL
Web Deploy: 7.1.1516.0
SQL Server Compact: 4.0.8854.1
Web Platform Installer: 7.1.1586.1
ASP.NET Web Pages: 2.0.20505.0
ASP.NET Web Pages: 1.0.20105.407

The code behind all this is in IISWSGI on GitHub, use this commit to test. To reproduce the
environment I’m using, see the IISWSGI documentation.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T14:06:45+00:00Added an answer on June 12, 2026 at 2:06 pm

    I was once able to use runCommand without error after having been able to reproduce the error having done nothing but some combination machine reboot and using WebPI to install the app in between. After further testing, I can now reproduce the error by:

    • reboot the machine
    • use WebPI to install the app
    • exit WebPI
    • use WebPI to install the app again (without rebooting)

    Then if I reboot the machine I can use WebPI to install the app again. IOW, it appears that WebPI has a bug where it can’t be launched twice without rebooting the machine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Web Deploy to package and deploy web sites for my product.
I have been trying for months to get numpy installed for Python 3 but
So I'm trying to get MySQL setup with python. I run sudo easy_install mysql-python
I've installed Python3.2 for Komodo Edit 7 but can't get KE to recognise it.
Im am trying to get MSDeploy to execute a PowerShell script on a remote
im trying to get the next number in the autonumber sequence for the primary
I am trying to run a crontab on Ubuntu, I think I get the
We have some nightly build machines that have the cuda libraries installed, but which
I am trying to perform a map reduce directly into Mongo to get the
I am trying to connect to mongodb and insert GET parameters, using G-WAN and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.