Autor Beitrag
mohfa
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: So 13.11.05 22:30 
hi every body :
i have developped my component so it need some files are resources ok i have finished all these files . but what is my question :
how could i include all these files ( that are needed by this component ) in one install program , so that when the user installs my component he will not see or explore these files i mean only my component but not its files like *.bpl files and he can not see its pas files .

thank you
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: So 13.11.05 23:28 
In normal cases I don't have any problems with understanding what an english text wants to tell me; but yours is causing some trouble ... Could you please tell a bit clearer what you want to do?

Is it that you want to create a setup program that installs your component into the Delphi IDE, press 1.
Is it that you want to install a BPL (Borland Package Library) file without shipping its pas files, press 2.
Is it that you want to do something else, explain yourself a bit clearer.

Thanks in Advance.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
mohfa Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17



BeitragVerfasst: Mo 14.11.05 00:24 
Ok , i am sorry i was very tired after 2 months of developping this component , so today is the last day at the end i have finished it.
here is the question :

my component needs some files ( as recource files ) to work , and i don't want the end-user to be able to explore these files when installing my component, nor the component pas file.
so :
should i include these files in the component package to be installed if so, will the end-user be able to explore theme ?

all what i need is that the end-user can only use my component but not explore or see its pas file or its resource files .

thank you
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 14.11.05 11:15 
Now it's much clearer ;-)

k, if you want to hide the component source from the user you'll have to distribute the following files:

*.BPL (Your Package)
*.DCU (The compiled Sources)
*.DCR (The IDE-Ressources)

IDK for sure if the *.RES files are required by Delphi, but IIRC they are. So they have to be distributed too. The *.PAS files are not required by the end-user as long as your VCL Sources remained untouched\unchanged. Otherwise Delphi would cry to get the sources for your components.

Even if you won't share the *.RES\*.DCR files they could be generated quite easily, if you had the right tools to do so. So there's no protection of this files possible in a direct way.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.