Deploying to Azure with Pre-Reqs... RRS feed

  • Question

  • My LightSwitch app uses a third party dll that, in turn, depends on the Microsoft Visual C++ 2010 Redistributable Package (x64)...

    When I deploy my app to Azure, I have to then RDP to the compute instance and install the VC runtime.  After a while, it seems, Azure moves my app to a different instance and the VC runtime is no longer available.

    How do I deploy the LS app with the pre-req so that if Azure decides to move my app, the pre-req moves with it?



    Wednesday, September 26, 2012 7:37 PM

All replies

  • You can address this by Azure VM custom extension which will run your specified PowerShell script after a VM is deployed. What you need to do is then automate your requirements with PowerShell, followed by specifying it as a custom extension in your deployment script. Or you can interactively specify the script during deploying an Azure VM from Gallery with Azure Management Deployment Portal as shown below. HTH.

    • Proposed as answer by yung_chou Friday, October 9, 2015 10:05 PM
    Friday, October 9, 2015 10:05 PM