How to Deploy Window Application
Sandeep Gupta
Posts: 56
Can i deploy the Window Application with .msi extension on the agent server on the common folder and folder is in zip format?
Thanks
Sandeep Gupta
Sandeep Gupta
Comments
If however, you want the msi to be run on the Agent, as part of the deployment, you will need to write some Powershell. Deployment Manager runs powershell scripts before, during and after the deployment. You will need to generate a NuGet package containing the msi and a script called 'Deploy.ps1'. This powershell command will run the installer silently, during deployment, on the Deployment Agent:
I would recommend reading information here about powershell scripts: http://documentation.red-gate.com/displ ... eployment#
If you would like more help about how to create a NuGet package, please have a look at this page: http://documentation.red-gate.com/displ ... lications#
Hope this helps!
Thanks!
Software Engineer - Deployment Manager
Red Gate
Sandeep Gupta
Sandeep Gupta
Sandeep Gupta
So how to use transformation while i m creating msi of window application?
Sandeep Gupta
Deployment Manager can apply transforms to app.config files, but not if they are inside an MSI. So another option would be to replace the MSI installation with e.g. a folder copy run from PowerShell and then Deployment Manager could do the app.config transforms.
Sandeep Gupta
For e.g. how to use RadGateWebsiteName using PowerShell Command?
Sandeep Gupta
$RedGateWebsiteName