Announcement

Collapse
No announcement yet.

Installation an EXE file (CrowdStrike) with parameters from a G Drive download link

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Installation an EXE file (CrowdStrike) with parameters from a G Drive download link

    Hi everybody,

    I need to download an EXE file from a URL link (Google Drive such as "https://drive.google.com/file/d/jasd8fs8df9a8sfdas9f8/view?usp=sharing") and execute it "Run as administrator" with the following parameters : <installer_filename> /install /quiet /norestart CID=<CCID>.

    I can provide the URL in private if needed.

    Thank you in advance.

  • #2
    Hi, there are several scripts that should work for you, try this one first, as quoted from scripts forum.

    Originally posted by DevoteamEndpointSecurity View Post

    Hi Cronus


    The following script from the repository is working fine for us:

    Download and install any application from the URL
    https://scripts.itarian.com/frontend...n-from-the-url

    We just clone the script and modify the parameters as many times as we need. It works with both EXE and MSI installers, you only have to enter the necessary parameters for running the installer silently.

    Hope this will work for you, too.

    Have a nice day!

    -- Javier Llorente
    Endpoint Security - Devoteam

    Always check the url however as various links at times require tweaking, I use sharepoint and onedrive often need modifying the end to actually download not just the web link, google much the same but I do not use very often.

    eg
    https://drive.google.com/file/d/xxxxx/view?usp=sharing

    may need to be

    https://drive.google.com/uc?export=download&id=xxxxxx

    sharepont

    https://xxxxmysite.sharepoint.com/:u...xxxmYHJHGA?e=9 gGpc0&download=1

    Comment


    • #3
      Hello mcfproservices and Infinite New1,


      We use this little tool for converting the Google Drive URL from the sharing dialogue to a direct-download URL:

      Google Drive Direct Link Generator
      https://sites.google.com/site/gdocs2direct/home

      However, take into account that Google Drive has some restrictions with file sizes and types that might block some direct downloads, so remember to always check your links before using them in the download and install procedure: if a link does not allow you to directly download the installation file, the procedure won't work.

      My two cents. Have a nice day!
      -- Javier Llorente
      Endpoint Security - Devoteam

      Comment


      • #4
        Hello mcfproservices and DevoteamEndpointSecurity,

        Thank you for your input, it's really helpful.

        I tried to tweak my Google Drive file link to download directly as mentioned or with the Google Drive Direct Link Generator but there's another problem on top... The fact that is a EXE of 49 MB always prompt the "Google Drive can't scan this file for viruses." :

        Click image for larger version  Name:	image_7961.png Views:	5 Size:	15.2 KB ID:	72811

        So I'm always ending up with no direct link... Any other idea?

        Thank you in advance.
        Last edited by Infinite New1; 11-23-2021, 05:20 AM.

        Comment


        • #5
          Hi Infinite New1,


          The last restrictions in Google Drive have made it very complicated to use it for direct download. I'm not sure, but I think that OneDrive can still be used.


          I've found this video with instructions, it might be worth to check:
          https://www.youtube.com/watch?v=CxO4NsVYeLc

          Same info in text format:
          https://bydik.com/onedrive-direct-link/

          Hope this will help!

          Regards,
          -- Javier Llorente
          Endpoint Security - Devoteam

          Comment


          • #6
            Hi DevoteamEndpointSecurity,

            I did some searches just after my post (was exhausted to search to overcome Google links behaviors) and it turned out that I found exactly the same text format instructions URL that you mentioned before you answered! Worked the 1st time without an issue.

            Thank you and have a nice day!
            Last edited by Infinite New1; 11-23-2021, 03:58 PM.

            Comment

            Working...
            X