Running VB App from a CD 
Author Message
 Running VB App from a CD

Hi,

I am writing a VB application designed to run from a CD. Can this be
done without having to install all the DLLs and OCXs to the
Windows\System directory but instead accessing them directly from the
CD. My guess is having to create temporary registry entries to point to
the files or something like that. Any help would be appreciated.

Peter.



Sat, 08 Sep 2001 03:00:00 GMT  
 Running VB App from a CD
Hi Peter,

No, it doesn't. You have to copy these files. Just make a Batch routine
autostart, which copys the files into the Windows\System Directory.

BTW: There are Logical Names for the Windows Directory, so that you don't
have to put the name (f.e.: C:\WINDOWS) hardcoded in your program.

Regards,
    Freddy
BTW: It's a pitty, that I can't write German to you. But this newsgroup is
in English. Never Mind...     (Servus, Freddy)
__


Quote:
>Hi,

>I am writing a VB application designed to run from a CD. Can this be
>done without having to install all the DLLs and OCXs to the
>Windows\System directory but instead accessing them directly from the
>CD. My guess is having to create temporary registry entries to point to
>the files or something like that. Any help would be appreciated.

>Peter.



Sat, 08 Sep 2001 03:00:00 GMT  
 Running VB App from a CD
AAAAAAAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!

You give hints to overwrite my new DLLs with older ones when I would
start this program!

Seems, you are one of these who make me reinstall my complete machine.
Thanks.

A VB Setup program can be launched silent from commandline.
Batch file which copies the files without checking version of existing
files can definitely destroy system functionality!

Silent Install in VB5:

Setup /s <Logfile>

Silent UnInstall in VB5:

St5unst -n "<app program dir>\St5unst.log" -f -q

See Setup.lst created with SetupWizard for default installation
directory.


Quote:

>Hi Peter,

>No, it doesn't. You have to copy these files. Just make a Batch routine
>autostart, which copys the files into the Windows\System Directory.

>BTW: There are Logical Names for the Windows Directory, so that you don't
>have to put the name (f.e.: C:\WINDOWS) hardcoded in your program.

>Regards,
>    Freddy
>BTW: It's a pitty, that I can't write German to you. But this newsgroup is
>in English. Never Mind...     (Servus, Freddy)
>__



>>Hi,

>>I am writing a VB application designed to run from a CD. Can this be
>>done without having to install all the DLLs and OCXs to the
>>Windows\System directory but instead accessing them directly from the
>>CD. My guess is having to create temporary registry entries to point to
>>the files or something like that. Any help would be appreciated.

>>Peter.

_______________________________________
Martin Wildam

MAY Computer GmbH & Co KG
Microsoft Solution Provider
Galvanigasse 2
A-1210 Vienna / Austria
Tel.: +43/1/278 20 80/32 Fax: +43/1/278 20 80 /22

http://www.may.co.at/



Sat, 08 Sep 2001 03:00:00 GMT  
 Running VB App from a CD
Do run a VB program from CD, you have to copy all activeX controls,activeX
exes and activeX dll's into a temporary directory, and register them prior
to starting the real executable. After closing you executable you have to
unregister those activeX components and remove the temporary directory.
Further, you have to supply ALL needed dll (not activeX dlls) in the same
directory as the program executable.

It is a little complex, but it should work.

Theo

Quote:

> Hi,

> I am writing a VB application designed to run from a CD. Can this be
> done without having to install all the DLLs and OCXs to the
> Windows\System directory but instead accessing them directly from the
> CD. My guess is having to create temporary registry entries to point to
> the files or something like that. Any help would be appreciated.

> Peter.



Sat, 08 Sep 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Run VB app directly from CD without running setup

2. Running VB App from a CD

3. Run VB app directly from CD w/o Setup?

4. Running VB App from CD

5. running a VB app from a CD?

6. Making a VB app to run in a CD-Rom

7. Run an App from CD

8. Setup to run app from CD after install.

9. Running app from CD-ROM

10. how can i run VB5 apps with libraries on cd not HD

11. Standalone app to run from CD

12. VB4 16bit App runs from CD without installing components into windows\system

 

 
Powered by phpBB® Forum Software