Updated Utility: WebDeploy

WebDeploy has been updated. Please visit here for more information.

WebDeploy has hit v0.8 with some new features that have been requested since the last version, as well as some fixes to bugs that existed previously.  The user interface hasn't changed much, so no pictures are to come.  But alas, everyone's always interested in what has been changed, fixed or added... so, drumroll please...

  • Added support for visual studio projects as a source.
  • Added button to change the name of a file in the files to copy dialog.
  • Added ability to exclude folders.
  • Fixed error when copying over files when Read Only attribute is set.
  • Fixed settings bitmap to be transparent.
  • Fixed problem updating ftp profiles.
  • Modified to only allow one instance to be running at a time.
  • Modified storage of previously used source & destination locations.

Like always, WebDeploy is freeware, and the source code is not available. If you have any further suggestions/comments/ideas/problems, please do not hesitate to contact me or post them on this blog post.

If you wish to download WebDeploy, click here. You will need the .NET framework 1.1.4322 to run WebDeploy.

25 Comments

  • After finding your tool and realizing what I needed was to import a VS.NET project file, I decided to write my own little "deployer". It's definately not as cool as your's.



    Then I saw this post. YAY!!



    But, then I run it only to have it crash on me by just pressing the VS project browse button. BOO!!! ;)



    Somebody isn't check boundaries.



    Here's the exception.



    System.ArgumentOutOfRangeException: Length cannot be less than zero.

    Parameter name: length

    at System.String.Substring(Int32 startIndex, Int32 length)

    at eWorld.Apps.WebDeploy.210ff09a2516b1a7.e66da26517d259bf(Object e0292b9ed559da7d, EventArgs fbf34718e704c6bc)

  • And another thing. Do you really name your classes and methods like that? Or is that the work of some obfusicator?

  • Obfuscator...I'll get a fix up for that later today, I have an idea on what it is.

  • I downloaded the new version and now I get "Strong name validation failed" errors in WebDeploy-GUI.exe. Unfortunately I lost my old version. Is there a link to the old zip file somewhere?

  • Arr - I forgot to resign the assemblies...too much things going on this weekend. I removed the file at 10:15 PM CST, and I'll get it back up (and working) first thing Monday morning.

  • Okay - everything should be good again.

  • Works great now. thanks!

  • just downloaded... I am using correct version of .net, Windows XP Pro.



    System.InvalidOperationException in WEbDeploy-gui.exe



    I rebooted, uninstalled, downloadeda again... same thing.

  • Brian - shoot me an email through my contact.

  • One other issue. At least once I've received an exception in the profile configuration. I was unable to duplicate it. Also, on several occasions when I shut down the application, the window closes but the process stays running in memory.

  • I'll look into them, keep the bugs coming!

  • You didn't answer my question :)



    Where is the "Exclude Folders" option? I can't find it.

  • You'll need to configure your profile.

  • I did configure the profile, I can't find any setting for excluding folders. On what dialog should it appear?

  • It should be with all the other checkboxes on the first profile config screen. Are you sure you're running 1.8 or 1.8.1 ?

  • Ahh.. Ok, I think I misunderstood the feature. I thought you meant that you could configure which folders to include and persist that.



    The Show Folders To Include dialog allows you to unselect foldres, but this doesn't seem to persist.

  • Nope, it sure doesn't. Mainly because you can change your source from time to time.

  • Great utility! I use a different web.config file locally to what I use on the production server, it would be great if I could pick a .config file for a profile and have it automatically renamed to web.config when it's deployed.

  • William,



    You can inheritely do this -



    1. Modify your profile to show the files to be copied prior to copying them.

    2. Add a extension that you use for your common config files.

    3. Start deployment, and a new window will be opened up where you can choose which files you want to include. At this point, de-select which config files you don't want to be copied. Also at this point, you can rename the 1 config file that you wish to be copied to Web.Config.

    4. Continue with the transfer process and the appropriate config file is written as web.config



    :)

  • Love the deploy tool. We had been using something similar here at work that we built but I'm giving yours a try for a while.



    One thing I find useful that we have incorporated, is the ability to only deploy files that have been updated since a date/time. Makes a nice quick deploy to customers when I'm working through a slow VPN.



  • Don't fret Richard, thats available on a per profile basis :)

  • Hi MAtt



    Love the tool... one thing... though I put a path into the FTP profile, it chooses to dump it in the FTP root... Using .81, and specified dir as www/thedir or www\thedir

  • Nice!

    A little bug with the command line version:

    The /s switch does not work if it ends with a backslash. VS.NET post build event macros, $(ProjectDir) for an example, ends with a backslash.



    v0.8.1.0, and I'm not specifying a profile (/p)



    I hardcoded the paths, as a workaround.

  • First of all a great thanks for this wonderful program. I just dowloaded it yesteday and found it very nice.

    Now a few suggestions / requests:

    - When you start deploying (click Deploy) there no way to cancel the action. If you close the window by clicking the X it just continues. I think a cancel button is needed here



    - Exclude files/folder. While you can just deselect the files and folders you don't want to deploy it would be very nice if this feature could be a part of the profile, as the file extensions are. If not the automation is very hard because you don't have control over what files/folder exclude.



    - That last one is just to make the perfect tool. Provide a help file both form UI and unatended versions.



    Thanks again

  • Steve Celius,



    I just got around to testing your submission, and it seems to be a problem with how arguments are determined. It's passing in a double quote because of \" in the string. Could this be a problem with .NET or the console, probably, but it is (unfortunately) something I cannot handle.

Comments have been disabled for this content.