Deploy Dell CCTK (Log file gets deleted after deployment)

Comments

8 comments

  • Shane Corellian

    That would depend on where the Dell CCTK generates any log files. Are you using PDQ Deploy to push this out? I'm sorry for my ignorance. I haven't used the CCTK before. Many log files are stored in the %TEMP% directory. This is usually the %TEMP% directory of the user that installed the application. If you are using PDQ Deploy then look in the C:\Users\<deploy user>\AppData\Local\Temp directory.

    0
    Comment actions Permalink
  • Shane Corellian

    I forgot to mention... I am speaking about the %temp% directory on the target machines, not on the PDQ Deploy console system.

    0
    Comment actions Permalink
  • Joshua A. Pirog

    Well the exe actually creates the file wherever the application is at, so wherever PDQ puts the exe, is where the log will be as well.

    0
    Comment actions Permalink
  • Shane Corellian

    Just to make sure I understand... this log file is automatically placed in the same directory that holds the installation file. If there is no other way for you to tell the log file where to be written then you will probably need to modify the step where you call the exe. Create a batch file and place it in the same directory as the Dell  CCTK install file. This batch file can have two lines. Let's say the you want to call setup.exe and pass it the /q parameter. The log file that is generated is LogFile.xml and you want to copy it to the Windows\Temp directory. Your .bat file could look something like this

    setup.exe /q
    IF EXIST LogFile.xml COPY LogFile.xml %WINDIR%\Temp\ /Y

    Just make sure that you check the Include Entire Directory in your install step (the step that calls the bat file). This way the setup.exe file would be copied down along with the batch file.

    The installation directory exists in the Windows\PDQDeployRunner folder. The exact location holding the install files is usually

    C:\Windows\PDQDeployRunner\1\exec

    Sometimes it won't be a subdirectory called 1 but it will in 2 or 3 etc. Here is an article explaining how PDQ Deploy performs the deployments.

    http://support.adminarsenal.com/entries/21532386-Under-The-Hood-How-PDQ-Deploy-Installs-Software-to-Remote-Computers

    0
    Comment actions Permalink
  • Joshua A. Pirog

    Ok great, I'll give this a try. Thanks.

    0
    Comment actions Permalink
  • Shane Corellian

    Cool. Please let us know how it goes.

    0
    Comment actions Permalink
  • Joshua A. Pirog

    Some results:

    Since this was a custom exe package using the CCTK (updated version DCCU), I wasn't sure if there was going to be custom flags for it. But I did want to try the file.exe /q flag to see if would do anything. It failed, but it did show the help after executing.

    There is a custom flag to let me change the directory of the log file to somewhere I want it to be.

    All in all, I was able to change PDQ Deploy for this package to look like this:

    BIOSSettings.exe /l="C:\Users\Public\BIOSSettings.txt"

    Everything after /l is in the parameters field of course.

     

    Thank you for all the help

    0
    Comment actions Permalink
  • Shane Corellian

    Thanks for the update. I renamed this topic to help others trying to deploy the Dell CCTK.

    0
    Comment actions Permalink

Please sign in to leave a comment.