dependency files?

wtbonnell
06-11-2003, 11:38 AM
I created a "Demo.exe" that uses a MSFlexGrid. Therefore, I created a dependency file "Demo.dep" to include the MSFlexGrid.ocx file.

My questions is: Do I have to send both files together to other users (on different machines) to ensure that they can see the MSFlexGrid or do I have to create a standard package that will create a setup.exe (and they can install the MSFlexGrid.ocx file)?

I would rather not have the user install anything, so if sending the .dep and .exe together is enough then I will do that...any advice?

Thanks...

lebb
06-11-2003, 11:50 AM
No, that is not enough. All the .dep file is for is to tell an install package what files are required by your app -- it does not do anything about actually including those files. In general, it is a bad idea to try to deploy VB apps without an install package, just because with various platforms and versions of dependency files, it is very easy to miss something. However, if an install is not an option, you will either need to include all required dll's, ocx's, and tlb's and manually register them on the target machine (using regsvr32 and regtlib); or consider an all-in-one .exe builder such as the one provided by BitFusion (I believe there's a link to this in the Installation FAQ thread at the top of this forum).

wtbonnell
06-11-2003, 12:25 PM
thanks! I'll just go ahead and right a standard package (setup.exe)


No, that is not enough. All the .dep file is for is to tell an install package what files are required by your app -- it does not do anything about actually including those files. In general, it is a bad idea to try to deploy VB apps without an install package, just because with various platforms and versions of dependency files, it is very easy to miss something. However, if an install is not an option, you will either need to include all required dll's, ocx's, and tlb's and manually register them on the target machine (using regsvr32 and regtlib); or consider an all-in-one .exe builder such as the one provided by BitFusion (I believe there's a link to this in the Installation FAQ thread at the top of this forum).

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum