Deploying a Winform application

Automated deployment for web applications and databases

Deploying a Winform application

Postby Wolrabs » Mon Feb 10, 2014 12:52 pm


I am a complete noob at this and need a bit of help. I want to use DM to move a winform application to a specific location on a UAT server.

When I run the deploy on DM, my app is created as a web app, which is not required. The app is deployed to C:\\ProgramData\\Red Gate\\DeploymentAgent\\Applications\\Testing\\zzzzz\\BuildNo\\.

I am trying to work through powershell programming but am having no luck. Can anyone provide with the powershell script to do this?


Posts: 1
Joined: Mon Feb 10, 2014 12:46 pm

Postby Mike Upton » Tue Feb 11, 2014 7:52 am

Hi Sean,

If you're just trying to copy the files to a specific location, you can set the RedGatePackageDirectoryPath project variable to that location. You'll probably also want to set the RedGateNotAWebSite variable to true to stop Deployment Manager trying to configure the application as a website.

This documentation page gives you more information about the variables you can use to control deployments.

Hope that helps,
Mike Upton

Project Manager - SQL Compare|Data Compare|Comparison SDK
Redgate Software Ltd.
Mike Upton
Posts: 209
Joined: Wed May 11, 2011 7:04 am
Location: Redgate

Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests