Install Adobe Creative Cloud Via Script While User Is Logged Off
So I have created a batch file that Uninstalls CS6 Wesign and Web Premiem and then installs our Adobe Creative Cloud Package. It works great as a scripted installation (well as great as anyone can do anything with Adobe products) when the user is logged on. However, It takes a good 2 and a half hours to complete, so I would rather have it run at nights when nobody is logged on. When I try to run it on a computer with no active use, nothing happens. Below is the script and the settings in the installation. Does anyone have an idea why it woun't work?
@ECHO OFF
CLS
REM ---------------------------------------------------------------------------------
ECHO Kill running proccesses
CALL TASKKILL /im iexplore.exe /f
CALL TASKKILL /im firefox.exe /f
CALL TASKKILL /im acrord32.exe /f
CALL TASKKILL /im acrobat.exe /f
CALL TASKKILL /im photoshop.exe /f
CALL TASKKILL /im msiexec.exe /f
REM ---------------------------------------------------------------------------------
ECHO Map a drvie letter to software installer
NET USE Y: "\\SERVERNAME\e$\Adobe CC\CC ALL 64\CC ALL 64" /user:USERNAME PASSWORD
REM ---------------------------------------------------------------------------------
ECHO Copy files needed
XCOPY Y:\*.* C:\Adobe_Install\ /E /Q /Y
REM ---------------------------------------------------------------------------------
ECHO Uninstall Adobe CS6 Design & Web Premium
"C:\Adobe_Install\Setup.exe" --mode=Silent --deploymentFile="C:\Adobe_Install\uninstall-en_US.xml"
REM ---------------------------------------------------------------------------------
ECHO Install Full Adobe CC (x64)
CALL msiexec /i "C:\Adobe_Install\build\CC ALL 64.msi" /qn
REM ---------------------------------------------------------------------------------
ECHO Remove Drive mapping
NET USE Y: /d
RD /Q /S ""C:\Adobe_Install"
QUIT
Answers (0)
Be the first to answer this question
Also, if you open a command prompt as system can you run your batch script? Sometimes there are commands that don't work well when run as system. It's possible that your drive mapping is failing even though you are specifying the username and password in the net use command. - chucksteel 10 years ago
I created a managed install and it works sometimes but not others. I can't find any correlation as to why. All the machines that I have tried it on have not had users logged on, are Windows 7 64 bit, it has worked across different domains, but has succeeded and failed on computers in the same department with the same GPs.
Would you mind sharing how you do yours? I am more than ready to be done with this project. - codyjbates 10 years ago