1
votes

I migrated a package from Delphi 6 to Delphi 10.2 and the package built successfully. But when I try to install the package it gives error BDS.INI missing. I tried to remove some .pas files until the error goes away and then it installed successfully. I cannot find anything related to BDS.INI in the pas file that causes the problem. There is Delphi 6 and Delphi 10.2 installed on the same system. Any help would be appreciated.

image

1
Sounds like you started debugging this and cutting down to a minimal reproducible example. Keep going. Make that minimal reproducible example and then we can help. - David Heffernan
Look for Application.Exename or ParamStr(0) in combination with "ini" in the package code. - Uwe Raabe

1 Answers

-1
votes

If UpperCase(ExtractFileName(system.paramStr(0))) = 'DELPHI32.EXE' Then Begin There were some instances of this code. I changed 'DELPHI32.EXE' to 'BDS.EXE' and the package installed successfully. Thanks for the hint @UweRaabe