in my CI/CD process, i change the required version number in the *.aip file to the version that is available on the CI/CD system. To achieve this, I use the following command lines:
Code: Select all
advinst /edit ..\DBM_Setup.aip /UpdatePrerequisite "Visual C++ Redistributable for Visual Studio 2015-2022 x86" -minversion 14.42.34433 -prereq_path ..\Prerequisites\Visual_C++_Redistributable_for_Visual_Studio_2015-2022\VC_redist.x86.exe -search_type RegValue -search_path "HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\14.0\RuntimeMinimum\Version"
advinst /edit "C:\Src\hsc\DBM\DBM_Setup.aip" /UpdatePrerequisite "Visual C++ Redistributable for Visual Studio 2015-2022 x86" -minversion 14.42.34433 -prereq_path "C:\Src\hsc\DBM\Prerequisites\Visual_C++_Redistributable_for_Visual_Studio_2015-2022\VC_redist.x86.exe" -search_type FileVersion -search_path "[SystemFolder]vcruntime140.dll"
Any help would be appreciated.
Thanks
Hans