Delphi 2007 not compiling runtimes into exe
-
Hi Guys, I've not had this problem before but since I re-installed the OS on both my laptop and desktop I've been unable to compile properly. My laptop is running 32bit XP Pro and my desktop Win7 Pro. Delphi has been set up on both after a clean install of both OS's. I have used the default installation for Delphi 2007 on both systems and the same components have been installed on both. Everything seems to compile ok and I have the "Build with runtime packages" ticked and have tried it unticked as well. When I try to run my app on other PC's it keeps looking for various BPL files. it starts by looking for rtl100.bpl but when I move that into the systems path then it looks for another bpl and another etc.. They are supposed to be embedded into the app but no matter what I do it just won't happen. Has anyone else experienced this? Could it be a registry problem?
Jerbear! A Delphi Dabbler!
-
Hi Guys, I've not had this problem before but since I re-installed the OS on both my laptop and desktop I've been unable to compile properly. My laptop is running 32bit XP Pro and my desktop Win7 Pro. Delphi has been set up on both after a clean install of both OS's. I have used the default installation for Delphi 2007 on both systems and the same components have been installed on both. Everything seems to compile ok and I have the "Build with runtime packages" ticked and have tried it unticked as well. When I try to run my app on other PC's it keeps looking for various BPL files. it starts by looking for rtl100.bpl but when I move that into the systems path then it looks for another bpl and another etc.. They are supposed to be embedded into the app but no matter what I do it just won't happen. Has anyone else experienced this? Could it be a registry problem?
Jerbear! A Delphi Dabbler!
If you are building the project on your Win7 box, make sure that you are running Delphi as administrator. I had issues before with the security features in Win7 that gave me endless hassles until I did that. Hope that helps m8
Cheers, Glen Vlotman "You cannot code for stupidity"
-
If you are building the project on your Win7 box, make sure that you are running Delphi as administrator. I had issues before with the security features in Win7 that gave me endless hassles until I did that. Hope that helps m8
Cheers, Glen Vlotman "You cannot code for stupidity"
Thanks for replying Glen. I'll give that a try but somehow I don't think that's the problem. I have exactly the same setup on my XP Pro laptop and it's giving the same problem.
-
Hi Guys, I've not had this problem before but since I re-installed the OS on both my laptop and desktop I've been unable to compile properly. My laptop is running 32bit XP Pro and my desktop Win7 Pro. Delphi has been set up on both after a clean install of both OS's. I have used the default installation for Delphi 2007 on both systems and the same components have been installed on both. Everything seems to compile ok and I have the "Build with runtime packages" ticked and have tried it unticked as well. When I try to run my app on other PC's it keeps looking for various BPL files. it starts by looking for rtl100.bpl but when I move that into the systems path then it looks for another bpl and another etc.. They are supposed to be embedded into the app but no matter what I do it just won't happen. Has anyone else experienced this? Could it be a registry problem?
Jerbear! A Delphi Dabbler!
I use Delphi 2009 and never have this kind of issue. But yeah, with "Build with runtime packages" unchecked, Delphi should have embedded all needed packages into you app, and there is no dynamic link required. Did you try creating a simple Form Application where there is only a plain Form, with "Build with runtime package" unchecked? (it worth trying even though, as you mentioned, it seems to compile OK with your codes) By the way, do you use customized BPLs or purchased BPLs inside the codes?
-
I use Delphi 2009 and never have this kind of issue. But yeah, with "Build with runtime packages" unchecked, Delphi should have embedded all needed packages into you app, and there is no dynamic link required. Did you try creating a simple Form Application where there is only a plain Form, with "Build with runtime package" unchecked? (it worth trying even though, as you mentioned, it seems to compile OK with your codes) By the way, do you use customized BPLs or purchased BPLs inside the codes?
Hi Smags13, Well it seems the problem relates to TMS Component Pack. I've had quite a few problems with this component pack since I purchased them a couple of years ago. Had trouble installing on Delphi 5, 7, 2005 and now 2007. They never seem to install correctly first time. I'm going to have to uninstall, clean out all references to them and re-install them again. All BPL's are purchased....
-
Hi Smags13, Well it seems the problem relates to TMS Component Pack. I've had quite a few problems with this component pack since I purchased them a couple of years ago. Had trouble installing on Delphi 5, 7, 2005 and now 2007. They never seem to install correctly first time. I'm going to have to uninstall, clean out all references to them and re-install them again. All BPL's are purchased....
-
Hi Smags13, Well it seems the problem relates to TMS Component Pack. I've had quite a few problems with this component pack since I purchased them a couple of years ago. Had trouble installing on Delphi 5, 7, 2005 and now 2007. They never seem to install correctly first time. I'm going to have to uninstall, clean out all references to them and re-install them again. All BPL's are purchased....