Batch file not running with new Autodesk deployment

Comments

11 comments

  • Robert Johnson

    Could you paste here what command you're trying to run for the installer? Or a screenshot of your PDQ step?

    0
    Comment actions Permalink
  • Andrew MacMillan

    "\\[server]\shares\Software\_PDQ Deployments\Autodesk\3DS Max 2021\2021_2\image\Installer.exe" -i deploy -q --offline_mode -o "\\[server]\shares\Software\_PDQ Deployments\Autodesk\3DS Max 2021\2021_2\image\Deployment.xml" --manifest "\\[server]\shares\Software\_PDQ Deployments\Autodesk\3DS Max 2021\2021_2\image\{[redacted]}\setup.xml"

    0
    Comment actions Permalink
  • Russell Tammany

    I'm also experiencing this with Autodesk Revit 2021 with their new web deployment download... I haven't messed around with it enough yet but so far just running the command with the -q doesn't work via PDQ it launches the installer.exe but never actually does anything, nothing gets created in %temp% etc...

    0
    Comment actions Permalink
  • Andrew MacMillan

    So far the only way I found this to work was "including the entire directory" when specifying the batch file. Kind of defeats the purpose, but still works!

    1
    Comment actions Permalink
  • Russell Tammany

    Hmm, thanks for that tip, I'll work on it more tomorrow but that implies it may be an issue with the working/current directory, or some reference back to the directory for reading or writing something... Will update here if I figure it out but that helps at least get it deployed which is easier than logging into hundreds of systems to run it that way.  Thanks :)

    0
    Comment actions Permalink
  • Adam Gould

    did you guys ever find a solution to this? I am dealing with the same problem 

    0
    Comment actions Permalink
  • Perenia, Joseph

    I'm also dealing with this issue with their new online Custom Deployment.  It works if you run the batch file locally, but not if you're running it through PDQ Deploy.  I still haven't figured it out, but I've been working on it for the past week.

    Anyone have a fix for this yet?

    0
    Comment actions Permalink
  • Adam Gould

    Hi Joseph, 

    I got mine working by copy and pasting the script it creates into a command step, it didn't seem to like it if you use the insert batch button. Set your user to Deploy User (interactive) and it seems to be working for me. I did have to use a GPO to ensure file sharing was enabled on PCs to accept the package as well. 

     

    0
    Comment actions Permalink
  • Rick Bernstein

    I wonder if there's any more information about this. I'm looking to deploy Revit to 40 workstations soon. I have a .bat file that was created with their online deployment.

    Any help would be wildly appreciated, I'll help little old ladies cross streets for a month!!!

    Here's the contents:

     

    chcp 65001

     

    rem ========== Install the deployment with basic UI ==========

    "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\Installer.exe" -i deploy --offline_mode --ui_mode basic -o "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\Collection.xml" --installer_version "1.21.0.24"

     

    rem ========== Install the deployment silently ==========

    rem "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\Installer.exe" -i deploy --offline_mode -q -o "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\Collection.xml" --installer_version "1.21.0.24"

     

    rem ========== Uninstall the individual product ==========

     

    rem ========== Uninstall Autodesk Revit 2022

    rem "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\Installer.exe" -i uninstall -q --manifest "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\RVT_2022_en-US\setup.xml" --extension_manifest "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\RVT_2022_en-US\setup_ext.xml"

     

    rem "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\Installer.exe" -i uninstall -q --manifest "\\myVM-vs-005\myVM_software\Revit Install\2022 Revit Deployment\image\ODIS\setup.xml"

    0
    Comment actions Permalink
  • Perenia, Joseph

    Hi Rick,

    I made my own batch file based on the one provided to get my software installed.  It doesn't like running the installer off a network share and prefers to be run locally it seems.

     

    echo Copy folder to local
    xcopy "%serverPath%\Maya 2020.4" "C:\Autodesk\Maya 2020.4\" /Y /S /Q

    echo Run Maya 2020.4 Installer
    chcp 65001
    call "%localPath%\Maya 2020.4\image\Installer.exe" -i deploy --offline_mode -q -o "%localPath%\Maya 2020.4\image\Collection.xml" --installer_version "1.18.0.25"

    echo Delete folder
    RD /S /Q "C:\Autodesk\Maya 2020.4"

    0
    Comment actions Permalink
  • Rick Bernstein

    Thanks Joseph. Did you try to deploy Maya from the server with PDQ set to pull? I  didn't have to copy files to the local machine.

    I spoke to my autodesk dealer tech person, and followed his advice.

    I opened the batch file in Notepad++, there was only one line that was NOT remarked out. I copied that line into a copy of my 2020 PDQ deployment, pasted it into a command step, seems to have succeeded just fine. I'll test it today, if I find any problems I'll stop back and let everyone know.

    FYI, here's my notes from the original 2020 deployment:

    MAKE SURE YOU CHANGE TO A PULL (properties--options)

    Grab the path from the deployment shortcut.

    The only trick is that I added the slash W parameter (note: I did NOT do this for 2022)

    Error codes: 0,1641,3010

    0
    Comment actions Permalink

Please sign in to leave a comment.