How to use Octopus Deploy to make custom Install packages

So far your system looks very promising. I would like to Create a package similar to Octopus.Tentacle.1.4.0.1589.nupkg.
Where I have a directory containing an executable and associated files and then a directory that contains a payload.

So I would have
Deployment.exe
Deployment.exe.config
manifest.exe
Deploy.ps1
Payload

Deploy.ps1 calls Deployment.exe which uses the Payload directory to install a program on the system.
I have the entire directory laid out after our TeamCity build runs. How do I create a package out of this structure.

Thanks Richard

Hi Richard,

If you already have the directory structure, and just need to package it up, you only need to add a NuSpec file and then call nuget.exe pack. Since you are using TeamCity, you can use the TeamCity inbuilt “NuGet Pack” runner to do this for you.

Paul

Paul,
I am making a lot of progress using octopus however I found something
strange.
I have a powershell script that calls a program to set up my web site.
After I run my script I see the following message

site named ‘ProviderPortal’ has had its path updated to:
'C:\Octopus\Applications\Integration
ProviderPortal\ProviderPortal\3.11.17.32382\ProviderPortal\wwwroot’
2013-03-14 01:30:37 DEBUG Looking for PowerShell scripts named
PostDeploy.ps1
2013-03-14 01:30:37 DEBUG No scripts with a .ps1 extension were found.

This total blows away what I have done in my program.
Why is this and how can I stop it

On 3/5/13 6:43 PM, "Paul Stovell"
tender2+d6fa7815ea6242068df9dea4fc1ffb57e507f7d9f@tenderapp.com wrote:

// Add your reply above here

From: Paul Stovell
Subject: How to use Octopus Deploy to make custom Install packages

Hi Richard,

If you already have the directory structure, and just need to package it
up, you only need to add a NuSpec file and then call nuget.exe pack.
Since you are using TeamCity, you can use the TeamCity inbuilt “NuGet
Pack” runner to do this for you.

Paul

View this Discussion online:
http://help.octopusdeploy.com/discussions/questions/564-how-to-use-octopus
-deploy-to-make-custom-install-packages

To unsubscribe and stop receiving emails from
http://help.octopusdeploy.com, visit
http://help.octopusdeploy.com/unsubscribe/880c7c71d6e9c2569432abdfd970b6e4
4849cf35

securemail.caresource.com” made the following annotations.

Confidentiality Statement: This electronic mail transmission and any attached document(s) may contain information from CareSource that is confidential. This information is intended only for the individual(s) named on this electronic mail. If you are not an intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this electronic mail is strictly prohibited. If you have received this electronic mail transmission in error, please notify us so that we can arrange that the electronic mail transmission be directed to the correct recipient(s). Please destroy all copies that were sent to you in error. Any views or opinions expressed are solely those of the author and do not necessarily represent those of CareSource Management Group Company and its affiliated entities. Thank you.

Hi Richard,

This is our automatic IIS configuration feature.

You can disable it by setting a special variable named "OctopusNotAWebSite"
with the value “true” in your project. This will prevent Octopus from
trying to configure IIS for you.

Regards,

Paul Stovell
Octopus Deploy
W: octopusdeploy.com | T: @octopusdeploy http://twitter.com/octopusdeploy

You are a God Sir,
You meant add this as a project variable right.
Another question is how do you delete a release or rebase it with new
variables and steps.

Also there seems to be a small bug in the teamcity plugin for deploy to
servers text says you can leave it blank to skip however it’s a required
field.

Thanks again

On 3/13/13 10:15 PM, "Paul Stovell"
tender2+d6fa7815ea6242068df9dea4fc1ffb57e507f7d9f@tenderapp.com wrote:

// Add your reply above here

From: Paul Stovell
Subject: How to use Octopus Deploy to make custom Install packages

Hi Richard,

This is our automatic IIS configuration feature.

http://octopusdeploy.com/documentation/features/iis

You can disable it by setting a special variable named
"OctopusNotAWebSite"
with the value “true” in your project. This will prevent Octopus from
trying to configure IIS for you.

Regards,

Paul Stovell
Octopus Deploy
W: octopusdeploy.com | T: @octopusdeploy
http://twitter.com/octopusdeploy

View this Discussion online:
http://help.octopusdeploy.com/discussions/questions/564-how-to-use-octopus
-deploy-to-make-custom-install-packages

To unsubscribe and stop receiving emails from
http://help.octopusdeploy.com, visit
http://help.octopusdeploy.com/unsubscribe/880c7c71d6e9c2569432abdfd970b6e4
4849cf35

securemail.caresource.com” made the following annotations.

Confidentiality Statement: This electronic mail transmission and any attached document(s) may contain information from CareSource that is confidential. This information is intended only for the individual(s) named on this electronic mail. If you are not an intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on the contents of this electronic mail is strictly prohibited. If you have received this electronic mail transmission in error, please notify us so that we can arrange that the electronic mail transmission be directed to the correct recipient(s). Please destroy all copies that were sent to you in error. Any views or opinions expressed are solely those of the author and do not necessarily represent those of CareSource Management Group Company and its affiliated entities. Thank you.

Hi Richard,

Yes, add it as a project variable. You have two options:

  1. If you are using the 1.4 version of Octopus, go to the release page,
    expand the variables section, and click “update”
  2. Otherwise, edit the release to change the version number (e.g.,
    1.0.0-failed), then create a new release.

Thanks, I’ll work out that TeamCity bug.

Regards,

Paul Stovell
Octopus Deploy
W: octopusdeploy.com | T: @octopusdeploy http://twitter.com/octopusdeploy