Deploying Files with an Application in SCCM 2012

10,184

You could also send the files out as an Application (script install deployment) with the main Ultra VNC app as a dependency.

In fact you can set them both up in the same "Application", we do something similar to deploy Foxit Reader's install along with some extra files (the XML files for Foxit MUIs in our case).

Just set the script that deploys the settings file up as the priority 1 Deployment Type, and set VNC install as the Priority 2 Deployment Type in the Application:

Script deployment type as priority one, and the actual app as priority 2

And then set the main installer for VNC to be a dependency for the settings file. This should then install them both:

script deployment with the main install as a dependency

Share:
10,184

Related videos on Youtube

Joe Taylor
Author by

Joe Taylor

Updated on September 18, 2022

Comments

  • Joe Taylor
    Joe Taylor over 1 year

    We have created an application deployment using SCCM 2012 for Ultra VNC. however we also want to deploy the settings file.
    We have created a package for this that when run deploys the settings file correctly.
    Is there a way of forcing this package to be deployed when the application is run forcing the settings file over as well?

    • weberik
      weberik almost 11 years
      do you want to force the file do be deployed when the sccm application is run or do you mean when ultra vnc is run?
    • Joe Taylor
      Joe Taylor almost 11 years
      @weberik When Ultra VNC is deployed onto the client machine I want the settings file to be deployed also. Kind of like a 2 for 1 deal
    • Bad Dos
      Bad Dos over 10 years
      Sidenote - I'm curious which feature Ultra VNC is providing you that SCCM2012 Remote Control Viewer doesn't.
    • Joe Taylor
      Joe Taylor over 10 years
      @BadDos - none, we were doing things just because we always had. A bad habit. UVNC no longer exists on our systems. Cheers for the nudge in the right direction.
  • Tobias
    Tobias about 8 years
    Could you please Post the command you use for the copy deployment type? I tried 'copy %~dpfilename.txt "C:\Program Files (x86)\Foldername"', did not work. I also tried it without the %~dp, but the File does not appear in the folder...
  • GAThrawn
    GAThrawn about 8 years
    If your files are in the folder that your Deployment Type's (or Package's) Content source points to then there's no need to worry about the absolute path to the files, so need to bother with %dp, SCCM will sort that out for you. So just a standard copy command like: copy *.bin "%programfiles%\Application\Folder\" /y should do it. If the files are in a sub-directory of the Deployment Type's source location, then just include that as a relative folder, eg: copy SupportFiles\*.bin "%programfiles%\App Name\Folder\" /y. Xcopy works too: xcopy lang\*.* "%programfiles%\Program\lang" /S /I /Q /Y