This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
Hi
I am trying to create a choco package to install CCS on a windows docker image. to be used by the buildserver buildimage creation and for developers to install theee same version.
As in the linked question i found the options for the new CCS 10 installer, but my problem is that the unattended installer will detach from the powershell that launched the installer, thus my script have no clue when the instalation is actually done
Simplified ps1 script
-------------------
fetch CCS10.0.0.00010_win64.zip
unzip
ccs_setup_10.0.0.00010.exe --mode unattended ...
cleanup
---------------------
Problem: ccs_setup_10.0.0.00010.exe exits almost immediately while leaving the installer running in the background, making the script jump to next line that is cleanup. Cleanup will start deleting the downloaded and also the unziped files needed by the installer, so it will fail.
How can i either stop the installer from detaching from the shell or detect when the background process is done?
Hi,
Please call the installer using "start /W " in your batch script.
e.g.
fetch CCS10.0.0.00010_win64.zip
unzip
start /W ccs_setup_10.0.0.00010.exe --mode unattended ...
cleanup
Danish