AutoCAD 2025.0.1 - Silent Installation Error

AutoCAD 2025.0.1 - Silent Installation Error

gndmnlc11
Contributor Contributor
15,848 Views
22 Replies
Message 1 of 23

AutoCAD 2025.0.1 - Silent Installation Error

gndmnlc11
Contributor
Contributor

hi there,

in my school i want to install the newest version of autocad for my lab. so i downloaded the newest version of autocad (2025.0.1) and now im trying to make a silent installation. i'm using the command in the bat-file

"Serverpath\AutoCAD\2025.0.1\image\Installer.exe" -i deploy --offline_mode -q -o "Serverpath\AutoCAD\2025.0.1\image\Collection.xml" --installer_version "2.7.0.10"

 

the logfile shows this error (see attached file):

...
2024-07-03T10:04:38.990 [Deployment: 5812, single] [WIN10-X64 INFO] Installing: Identity Manager 1.0 1.11.9 English-US 64-Bit (Windows)
2024-07-03T10:04:38.993 [Deployment: 5812, single] [WIN10-X64 INFO] Installing: Autodesk CER Service 7.0.1
2024-07-03T10:06:19.101 [Deployment: 5812, single] [WIN10-X64 ERROR] {8680B22C-713C-3417-9539-7D06D0ABC274} : 1
2024-07-03T10:06:19.101 [Deployment: 5812, single] [WIN10-X64 ERROR] Deployment failed!
2024-07-03T10:06:19.101 [Deployment: 5812, single] [WIN10-X64 INFO] Please explore possible solution from: https://www.autodesk.de/support/technical/search?p=AutoCAD&qt=Error%201&mktvar002=xxx-xxxxxxxx%7CEML

Eventviewe: Error 5704 cer.msi

 

after a reboot of the client the installation restarts and get's all installed. so my question is why do i need a reboot? if i manually install the software with the same command i got no error and the installation is fine.

 

i need a silent script to install the software on more then 100 clients (windows 10 22h2).

15,849 Views
22 Replies
Replies (22)
Message 2 of 23

gndmnlc11
Contributor
Contributor

Here the log file.

0 Likes
Message 3 of 23

Simon_Weel
Mentor
Mentor

The first installation attempt seems to choke on the CER service. After a reboot, it continues the installation with the Material Library and a few lines further in the log, it installs Autodesk CER Service 7.0.1 without issue. Could it be the CER-service is already running when you start the installation? If so, try ending the service before starting the installation.

Some info about the CER service: Autodesk Customer Error Reporting Service Troubleshooting Reference

0 Likes
Message 4 of 23

gndmnlc11
Contributor
Contributor

hi,

no the cer service isn't running. it isn't even installed. no other autodesk product is installed.

0 Likes
Message 5 of 23

m_latz
Advisor
Advisor

The "cer.msi" msi installer should create also a msi log file in the %temp% folder. Can you please upload it here.

 

regards

 

Markus

0 Likes
Message 6 of 23

gndmnlc11
Contributor
Contributor

hi,

the installation is a silent script (cmd) which is launched at the startup (windows server gpo startup).

so i can't find a log file.

0 Likes
Message 7 of 23

Simon_Weel
Mentor
Mentor

The "cer.msi" msi installer should create also a msi log file in the %temp% folder. Can you please upload it here.

I searched my deployments for cer.msi but it's not there? Checked Collection.xml but it's not mentioned either. There is a map CER in the Setup-folder, but no setup program. So I wonder how CER is installed in the first place? 

0 Likes
Message 8 of 23

gndmnlc11
Contributor
Contributor

For reference here my collection.xml (attached).

 

0 Likes
Message 9 of 23

m_latz
Advisor
Advisor

The msi logs are created in the %temp% folder of the user which installs the msi package.

 

If you use some management tools to install your software / deployments it is possible the this is a "special" user. Sometimes it is the "system" user and then the log files are placed in "C:\Windows\Temp"

 

regards

 

Markus

0 Likes
Message 10 of 23

gndmnlc11
Contributor
Contributor

thx for the info. i didn't know that. here the logfiles.

0 Likes
Message 11 of 23

Simon_Weel
Mentor
Mentor

How exactly do you run the installer? You mention windows server gpo startup - is this the Domain Startup script?

 

This is what I found when installing from a GPO:

Application installs via MSI when opened directly but fails through GPO - Windows - Spiceworks Commu...

 

0 Likes
Message 12 of 23

gndmnlc11
Contributor
Contributor

exactly. we are running a windows 2022 domain. for the autocad deployment we created a specific gpo.

the gpo run's the install.cmd (see attached file).

"computer configuration - policies - windows settings - scripts (startup/shutdown) - startup"

0 Likes
Message 13 of 23

m_latz
Advisor
Advisor

Okay the error from the msi log:

 

MSI (s) (00:BC) [09:57:20:655]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2

 

MSI error 1402 means "Could not open key"

 

The question is now, why he could not open the key at the "1st run" but after a reboot.

 

I will try with a virtual machine ...

 

regards

 

Markus

0 Likes
Message 14 of 23

m_latz
Advisor
Advisor

For testing purpose, can you try to make a "reg query" to the following key in your cmd script:

 

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

 

if that works, then the msi package has a problem, if not, then your environment has a problem.

 

regards

 

Markus

0 Likes
Message 15 of 23

gndmnlc11
Contributor
Contributor

hi m_latz,

i made a modification into the installation script (reg query before and after the installation).

i started the computer 3x times

  1. client without autocad. installation begins and fails like before.
  2. after a reboot the installation is completed successfully.
  3. after a reboot no more installation is needed.

as you can see from the logfiles before autocad is successfully installed the reg query command doesn't find the indicated key. then it does.

 

for test purposes i downloaded the 2024 version of autocad. i used the same install.cmd for the 2024 as for the 2025 version (slightly modified for the different version number). autocad 2024 is installed perfectly on the first run. autocad 2025 needs a reboot to complete the installation.

0 Likes
Message 16 of 23

Simon_Weel
Mentor
Mentor

autocad 2024 is installed perfectly on the first run

Can you check if there's a cer.msi file among the 2024-installation files? I bet there's none....

 

To me, the problem seems to be permission-related; either for files or registry. The Startup-script runs under the System account. That should be enough to install just about anything. If the installation fails at first, you would expect it to fail as well on subsequent attempts....

 

Edit: what if you install cer.msi before running the AutoCAD installation script?

0 Likes
Message 17 of 23

gndmnlc11
Contributor
Contributor

hi simon_weel,

i checked as you suggested. no "cer.msi" file found. i attached the autocad 2024 log.

0 Likes
Message 18 of 23

m_latz
Advisor
Advisor

This is a good idea from @Simon_Weel , can you try to "pre-install" explicit the cer.msi from your cmd script.

 

msiexec /i "<your full unc path>\cer.msi" MSIFASTINSTALL=7 ARPSYSTEMCOMPONENT=1 INSTALLDIR="C:\Program Files\Autodesk " REBOOT=ReallySuppress ADSK_ODIS_SETUP=1 CLIENTUILEVEL=3 MSICLIENTUSESEXTERNALUI=1 /qn

 

regards

 

Markus

0 Likes
Message 19 of 23

gndmnlc11
Contributor
Contributor

hi m_lutz and simon_weel,

i modfied my install script to install the "cer.msi" before running the silent installation but it doesn't work.

i you look at the logfiles you see that the msi is installed correctly but the silent installer performs a uninstall (why????). then on the second boot the "cer.msi" got installed again and the silent installation of autocad got finished.

i tried this a couple of times to be sure.

0 Likes
Message 20 of 23

m_latz
Advisor
Advisor

Interesting, I will test that... 

0 Likes