Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancelar
Mostrando los resultados de 
Mostrar  solo  | Buscar en lugar de 
Quiere decir: 

Parameters for C++ Prereq being seen as missing files

2 RESPUESTAS 2
Responder
Mensaje 1 de 3
brian.leeson
304 Vistas, 2 Respuestas

Parameters for C++ Prereq being seen as missing files

Our newer Revit distributions have an issue where the install will fail unless C++ Redist x86 for 2015-20XX is already installed. We could tell the Revit installer's attempt to install the included 2015-2019 Redist was not working, so pre-install would skip that hiccup.

 

I looked deeper today and found what seems to be the issue in the installer log.

[ PluginManager::PerformOperation ] Starting Installation of [GUID] name: Microsoft Visual C++ 2015-2019 Redistributable (x86) )
[ CommandHandler::Install ] Command Handler Install called...
[ Autodesk::DDAUtils::FileUtils::IsExecutable ] File: /q doesn't exists
[ Autodesk::DDAUtils::FileUtils::IsExecutable ] File: /norestart doesn't exists
[ CommandHandler::HandleRequest ] Executing package install command: "[NETWORKLOCATION]\image\RVT_2022_en-US\3rdParty\x86\VCRedist\2019\vcredist_x86.exe" /q /norestart
[ PluginManager::PerformOperation ] Fail when performing Installation of [GUID] name: Microsoft Visual C++ 2015-2019 Redistributable (x86) )

Source of the issue seems obvious now, its reading the parameters as missing files instead. But I cannot find where the issue is coming from for certain.

 

Within pkg.vcredist2019x86.xml, it shows as

<InstallFile type="EXE" contents="File" installParams="/q /norestart" file="3rdParty/x86/VCRedist/2019/vcredist_x86.exe">

Within setup.ini, it shows as

[VCREDIST2019X86]
PLATFORM=ALL
PRODUCT_NAME=Microsoft Visual C++ 2015-2019 Redistributable (x86)
EXE_PATH=3rdParty\x86\VCRedist\2019\vc_redist.x86.exe
EXE_PARAM=/install /quiet /norestart /log %tmp%\vcredist_x86_2019.log
IGNORE_FAILURE=YES
VC_FUNC=VCRedistCheckx86
VC_SOURCE=Setup\SetupUi.dll
VC_SOURCE_II=AdAppMgrSetup.dll
VC_PARAM=14.0;27702

Based on the error, it looks to be pulling parameters from the PKG file. But the formatting within that file looks correct and mirrors the parameters seen in other PKG XML files.

 

Is there somewhere else that this error or typo might be hiding? Or is there something I might be missing in the XML that could lead to the package install command being executed incorrectly?

Etiquetas (1)
2 RESPUESTAS 2
Mensaje 2 de 3
natasha.l
en respuesta a: brian.leeson

Hello @brian.leeson,

 

Thank you for posting. I would try to install the perquisites on to the machine, take a look at Revit cannot be launched when DLL file is not loaded or try a different download package. 

 

Please "Accept Solution" if a reply or replies have helped resolve the issue or answered your question, to help others in the community.

 

 

Mensaje 3 de 3
brian.leeson
en respuesta a: natasha.l

We have been doing that as a workaround for a while. If we preinstall any version of C++ 2015-2019 or C++ 2015-2022, the Revit installer skips that step and does not fail the Revit installation. 

 

We are hoping to find a way to fix what the installer is doing so this workaround is not necessary for every install.

¿No encontraste lo que buscabas? Pregúntale a la comunidad o comparte tus conocimientos.

Publicar en los foros  

Administrator Productivity


Autodesk Design & Make Report