2006-11-23 08:40:23 UTC
I am very newbie to this Delphi world, specially i don't have much
knowledge about working with Windows API in Delphi Application.
I want to automate .bpl installer process from my application.
In Delpi win32 application, i am refering certain package (say
Pkg1).While running this delphi application, user has access to
chage/modify in package.So tht from application itself i want to
genrate modified .bpl file of tht package Pkg1 and also replace the
older with this new.All this shud happen from application.
So, for this i tried Dos Command uses dcc32.exe
Executing this command from cmd prompt externally, works well,replaces
older .bpl and .dcp file too.
Now to operate this dos command from application, I tried
CreateProcess( all params .....),
gives me Fatal error 'rtl' not found.
Somewhere read about use of batch or .cfg file may work.
But i don't know where and how to create and incorporate such files in
same error appears in outside cmd prompt also, if i m in running
mode.AS i closes application, file gets reload, but CreateProcess( )
doesn't creates/replaces older .bpl.
Also i thought to write one console application tht executes Dos
Command, and execute this appliation from (Delphi Win32 VCL ) my
I am very sorry, but i m not able to do this.
Kindly give ur valuable time to solve my query.
Looking forward for quick response.