Exe file to be placed in the custom script extension and use it across VMSS

sns 9,251 Reputation points
2023-08-02T08:51:23.04+00:00

I want to use below in the custom script extension and make it availabel to across VMSS or VM

Please let me know how should I place this .exe file in the custom script extensions.

User's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 26,846 Reputation points Microsoft Employee Moderator
    2023-08-08T01:53:18.5233333+00:00

    Hello, @sns !

    How do I install an .exe in my virtual machine or virtual machine scale set?

    You have a separate thread dedicated to executing Custom Script Extension which goes through the script process in detail and Azure VM Image Builder is a viable solution but it sounds like you'd like to avoid the overhead of creating and managing a script.

    In that case, my recommendation would be to look at VM Applications which separates the application installation from the VM image. These are the instructions for an .exe installation:

    https://learn.microsoft.com/en-us/azure/virtual-machines/vm-applications?tabs=ubuntu#exe-installer

    User's image


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.