I normally use admin install images but I can't get it to work with 2019 SP4.0
The install window pops up and then disappears right away without making any progress. No error and no install log in the admin image directory, despite debug logging being enabled on the admin image. If I pull the local log it doesn't seem to have any actionable data.
I don't know where to begin troubleshooting without a proper error message.
I have it set to run as a user with admin rights so that the installer can be run by my users at their leisure.
LOG SNIPS:
SolidworksAdministration[E 0 1 Utilities.cpp(6053) 09:41:18] INTERNAL ERROR in RunCmd: Failed in call to CreateProcess: GetLastError returned 2
[I 0 1 AdminDirector.cpp(3447) 09:41:18] {ID #30514} Initiated Run As User (***).
The application will relaunch itself shortly under this user account.
[I 0 1 WorkerThr..nager.cpp(17129) 09:41:18] The IM is being run from an admin image directory: {0: ***}
[I 72 1 WorkerThr..nager.cpp(17132) 09:41:18] \\\$S09:41:18 Info MachineInfo 72 0 "The IM is being run from an admin image directory: {0: ***}"[I 0 1 WorkerThr..nager.cpp(16559) 09:41:18] INTERNAL ERROR: FAILED TO INIT ADMIN CLIENT
[I 0 1 WorkerThr..nager.cpp(8497) 09:41:18] Worker TransitionToState(2, 16); app context = 513
[I 0 1 WorkerThr..nager.cpp(8593) 09:41:18] WORKER THREAD IS DYING
[I 0 1 Applicati..nager.cpp(1289) 09:41:18] ==> APP STATE CHANGED From Init(1) to Finished(32) [back=0; 2last=0; stack=0]

See S-054350 in the Knowledge Base.
Summary:
"Generally this error occurs when there is a problem accessing or copying files to specific location. This can be figured out from Installation Manger logs. This can happen if using mapped drives in the administrative image options for registry settings and batch files."
Is your admin image on a mapped drive? If so, it can lead to problems.
First workaround idea was to pull the downloaded installation files from the network to my C: drive, and create the Admin Image locally. (No installs, just build the image.)
My thought was to then move the entire Admin Image folder to the network location, and start tweaking the settings.
I would finish with a test Admin Image Install on my computer.
I swear that this has worked before, but that was 10+ years ago, and I could be thinking of something else.
My gut is telling me that there are going to be permissions issues with this method.
Any thoughts?
thanks,
t
I'm seeing the same thing here with 2019 SP5 - Cannot go to 2020 yet, starting to test some workarounds . . .
Did they seriously release SP5 without fixing this issue? What shit is that? They already have a fix planned and they just shipped a broken product again?
No it's literally just solidoworks folders:
SR# (Service Request): 1-21690484306
SPR#: 1112425
Description: SOLIDWORKS 2019 Administrative Image, 'Administrative Options' > 'Run the installation as a different user' option with local admin user account does not work, when launching 'StartSWInstall.hta' with a non-admin account
Status: Implemented.
Version: 2020 SP0
This is the last communication I have received about this. Known issue that is broken. Fix in 2020 Sp0. We instead used the Automatic Deployment tool with some success.
I'm having the same issue,
The admin image is set to install as userx which has full access to the install folder & share, and is local admin, this fails
IF i do runas /user:userx starthear.hta the installation is successful double checked the password and account details. I think its GPO related, as I have had this issue since before 2019 SP4
The security event log shows the account being used successfully.
We are seeing the exact same issue with 2019 Sp4. This is what our VAR sent us this morning.
SPR 1112425 - 'SOLIDWORKS 2019 Administrative Image, 'Administrative Options' > 'Run the installation as a different user' option with local administrator user account does not work, when launching 'StartSWInstall.hta' with a non-admin account'.
Is the UNC path to the admin image unusually long? Does it contain any unusual characters?
The error code 2 returned by CreateProcess indicates a file not found error.
No. It's on a share that has never been mapped. We access it via full UNC path. I have performed 2017-2018 and all service packs using this same location and this is the first problem like this I have seen. I can perform manual install from the source setup.exe I used to make the admin image. It's only the admin image for 2019 SP4 that fails.