Hi,
I asked this question about a month ago, but it still says that it is "awaiting moderation." Anyway...
I am deploying an MSI using the AppVeyor Deployment Agent, however I can't figure out how to use before-deploy.ps1 and deploy.ps1. The documentation seems geared toward the zip file deployment, as it says it has to be "in the root of application folder". I'm not sure where that would be for an MSI deployment.

#1 Posted by Feodor Fitsner Support staff on 13 May, 2016 03:55 AM
Well, it's not supposed to work with MSI as there is no easy way to extract
before-deploy.ps1from it.However, as a workaround you can have two additional packages deployed as "Windows application". One package with
before-deploy.ps1inside and another withdeploy.ps1- put any logic inside those packages.Set correct
deploy_orderfor three packages.#2 Posted by mjonker on 13 May, 2016 01:15 PM
Thanks, Feodor. I actually put together this exact solution after I posted my question.
It might be helpful to mention it in the documentation. The placement of the script abilities directly below the MSI deployment instructions seems, to me, to indicate they would be available. Also, the MSI deployment section doesn't mention a deploy_order property, but it has worked for me.
#3 Posted by Feodor Fitsner Support staff on 13 May, 2016 04:28 PM
Sounds great, thanks for the update!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:06 AM.