CAB file containing an executable 
Author Message
 CAB file containing an executable

Hi guys,

Maybe somebody can help me with the following problem:

I need to distribute a setup.exe over the Internet. This setup.exe is
packaged in a cab file.
When the HTML page is opened containing this cab file, the file setup.exe
starts running automatically.
Now I want to prevent this setup.exe from running every time the page is
opened. In other words, I want to run the setup.exe only once.

While installing .DDL and .OCX files you can register them in the registry.
But that isn't possible with a .EXE file.

Is there another way to let Internet Explorer handle this?

Regards,

Maurice



Tue, 01 Oct 2002 03:00:00 GMT  
 CAB file containing an executable


Quote:
>Hi guys,

>Maybe somebody can help me with the following problem:

>I need to distribute a setup.exe over the Internet. This setup.exe is
>packaged in a cab file.
>When the HTML page is opened containing this cab file, the file setup.exe
>starts running automatically.
>Now I want to prevent this setup.exe from running every time the page is
>opened. In other words, I want to run the setup.exe only once.

>While installing .DDL and .OCX files you can register them in the registry.
>But that isn't possible with a .EXE file.

>Is there another way to let Internet Explorer handle this?

>Regards,

>Maurice

Just a thought, but can you make the setup.exe an ActiveX EXE?  I'm not sure if IE will
recognize that it's already been run before...again, just a thought.

You could always have your DLL or OCX run the file if it hasn't been run before.  Of
course, this would depend on whether or not your DLL or OCX requires that file to run in
the first place...

Regards,

Gregory Silvano
http://www.codehound.com
Free Internet Search Engine for VB Developers



Tue, 01 Oct 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. How to use an ocx in VB contained within a Cab file

2. VB5 to create cab file and extract files from cab

3. CABS Containing Controls...

4. VB 4.0 Self Contained Executable

5. VB 4.0 Self Contained Executable

6. How to extract a file including folder using setup.lst from xxx.cab file

7. How to create and extract files from a CAB file

8. Number of files included in a CAB file

9. How to create and extract files from a CAB file

10. Where are the cabinets Asycfilt.cab , Msvbvm50.cab , ...

11. Where is Msvbvm50.cab and Asycfilt.cab?

12. msvbvm50.cab and asycfilt.cab -- Found!!

 

 
Powered by phpBB® Forum Software