Jump to content

Lazarus98

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Lazarus98

  1. So after reworking the batch files a tad, I have a work around, but it doesn't make a lot of sense as to why the issue is there to begin with, but what I did was break up the batch as below:

     

    CC-1.bat:

    psexec @COMP.txt -c -d -f -s \\server\INSTALLS\CCleaner\ccsetup.exe /S

    psexec @COMP.txt -c -d -f -s CC-2.bat
    pause

     

    CC-2.bat:

    DEL "%SystemDrive%\Users\Public\Desktop\CCleaner.lnk"
    DEL "C:\Documents and Settings\All Users\Desktop\CCleaner.lnk" /F /Q
    RMDIR /S /Q "%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\CCleaner"
    RMDIR /S /Q "C:\Documents and Settings\All Users\Start Menu\Programs\CCleaner"
    COPY /y "\\server\INSTALLS\CC\ccleaner.ini" "C:\Program Files\CCleaner"

  2. I use a batch file to install remotely.

     

    CC-1.bat:

    psexec @COMP.txt -c -d -f -s CC-2.bat
    pause

     

    CC-2.bat:

    \\server\INSTALLS\CCleaner\ccsetup.exe /S
    DEL "%SystemDrive%\Users\Public\Desktop\CCleaner.lnk"
    DEL "C:\Documents and Settings\All Users\Desktop\CCleaner.lnk" /F /Q
    RMDIR /S /Q "%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu\Programs\CCleaner"
    RMDIR /S /Q "C:\Documents and Settings\All Users\Start Menu\Programs\CCleaner"
    COPY /y "\\server\INSTALLS\CC\ccleaner.ini" "C:\Program Files\CCleaner"

     

    This used to work fine last install was 4.18, but 4.19 will no longer work this way. Any ideas or fixes

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.