Lazarus98 Posted October 28, 2014 Share Posted October 28, 2014 I use a batch file to install remotely. CC-1.bat: psexec @COMP.txt -c -d -f -s CC-2.batpause CC-2.bat: \\server\INSTALLS\CCleaner\ccsetup.exe /SDEL "%SystemDrive%\Users\Public\Desktop\CCleaner.lnk"DEL "C:\Documents and Settings\All Users\Desktop\CCleaner.lnk" /F /QRMDIR /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 Link to comment Share on other sites More sharing options...
Lazarus98 Posted October 28, 2014 Author Share Posted October 28, 2014 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.batpause CC-2.bat: DEL "%SystemDrive%\Users\Public\Desktop\CCleaner.lnk"DEL "C:\Documents and Settings\All Users\Desktop\CCleaner.lnk" /F /QRMDIR /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" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now