How to add settings and make then be built into an existing exe file in Delphi -
lets have program, modifying registry in windows. user can chose keys changed. after click "generate" create new exe file job depending on user choices. how can achieve "exe generating" clicking generate?
first need have 2 exes. 1 main app, , second app changes registry. have append data copy of secondary app using main app , append data specifies keys change. 1 way use resources. use main app append required data resources target exe (the compiled to-be-generated exe). target exe file should check , load data resource own executable file , retrieve required data.
you might find these links useful: how attach resource file existing executable file?
and how retrieve resource in target exe: http://delphi.about.com/od/objectpascalide/a/embed_resources_2.htm
Comments
Post a Comment