Require help on self extracting .exe and cab file
-
Hello all, My reqirement is to download .CAB file containing OCX, EXE, INF files over net from specified URL. Having been downloaded .CAB file, it shold be self extracted and in turn call .exe on client machine That is, it should be autorun. If my OCX and exe is already there on remote machine then it should not download again and run existing one. Please help me out. Any help is highly appreciated. Thanks & Regards, Hemang
-
Hello all, My reqirement is to download .CAB file containing OCX, EXE, INF files over net from specified URL. Having been downloaded .CAB file, it shold be self extracted and in turn call .exe on client machine That is, it should be autorun. If my OCX and exe is already there on remote machine then it should not download again and run existing one. Please help me out. Any help is highly appreciated. Thanks & Regards, Hemang
What are you struggling with? I assume you've done some work already. Can you download files? Can you extract files from CABs? Can you use CreateProcess? etc. You're question needs to be broken into bite size chunks. Good luck, Iain.
Iain Clarke appearing in spite of being begged not to by CPallini.
-
What are you struggling with? I assume you've done some work already. Can you download files? Can you extract files from CABs? Can you use CreateProcess? etc. You're question needs to be broken into bite size chunks. Good luck, Iain.
Iain Clarke appearing in spite of being begged not to by CPallini.
I want to download exe and run that exe from decided/desired default directory(C:\Windows). But i am not able to download it. I also require WSOCK.dll for my EXE. I am attaching my INF file code snippet to make things clear. I hope that from this code snippet you will be able to understand and help me out. [version] signature="$CHICAGO$" AdvancedINF=2.0 [Add.Code] CaptureActivex.ocx = CaptureActivex.ocx // My OCX msvcrt.dll=msvcrt.dll mfc80.dll=mfc80.dll olepro32.dll=olepro32.dll [CaptureActivex.ocx] file-win32-x86=thiscab clsid={C3525B97-002E-4062-8CBE-2A3B06FD39FE} FileVersion=1,0,0,1 RegisterServer=yes [msvcrt.dll] FileVersion=7,0,3790,3959 hook=mfc80installer [mfc80.dll] FileVersion=8,0,50727,762 hook=mfc80installer [olepro32.dll] FileVersion=5,2,3790,3959 hook=mfc80installer [mfc80installer] file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cab run=%EXTRACT_DIR%\mfc42.exe Thanks & Regards, Hemang
-
I want to download exe and run that exe from decided/desired default directory(C:\Windows). But i am not able to download it. I also require WSOCK.dll for my EXE. I am attaching my INF file code snippet to make things clear. I hope that from this code snippet you will be able to understand and help me out. [version] signature="$CHICAGO$" AdvancedINF=2.0 [Add.Code] CaptureActivex.ocx = CaptureActivex.ocx // My OCX msvcrt.dll=msvcrt.dll mfc80.dll=mfc80.dll olepro32.dll=olepro32.dll [CaptureActivex.ocx] file-win32-x86=thiscab clsid={C3525B97-002E-4062-8CBE-2A3B06FD39FE} FileVersion=1,0,0,1 RegisterServer=yes [msvcrt.dll] FileVersion=7,0,3790,3959 hook=mfc80installer [mfc80.dll] FileVersion=8,0,50727,762 hook=mfc80installer [olepro32.dll] FileVersion=5,2,3790,3959 hook=mfc80installer [mfc80installer] file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cab run=%EXTRACT_DIR%\mfc42.exe Thanks & Regards, Hemang
Hemang Raval wrote:
I want to download exe and run that exe from decided/desired default directory(C:\Windows). But i am not able to download it.
Perhaps you could show us what you have already tried to code, from there we may be able to point you in the right direction.
Waldermort
-
Hemang Raval wrote:
I want to download exe and run that exe from decided/desired default directory(C:\Windows). But i am not able to download it.
Perhaps you could show us what you have already tried to code, from there we may be able to point you in the right direction.
Waldermort
I have made an Activex control using MFC Activex Dll. Then I tried to call an EXE from that ActiveX. For that I made cab file containing my OCX, EXE, dll, and INF files. Then after i tried to download an active control by using HTMl file located on some web server. This should extract cab file and in turn install and run EXE to and from desired location which i set from INF file. It is most probably C:\Windows. now can you tell whether i am folllowing correct path or not. Thanks & Regards Hemang
-
I want to download exe and run that exe from decided/desired default directory(C:\Windows). But i am not able to download it. I also require WSOCK.dll for my EXE. I am attaching my INF file code snippet to make things clear. I hope that from this code snippet you will be able to understand and help me out. [version] signature="$CHICAGO$" AdvancedINF=2.0 [Add.Code] CaptureActivex.ocx = CaptureActivex.ocx // My OCX msvcrt.dll=msvcrt.dll mfc80.dll=mfc80.dll olepro32.dll=olepro32.dll [CaptureActivex.ocx] file-win32-x86=thiscab clsid={C3525B97-002E-4062-8CBE-2A3B06FD39FE} FileVersion=1,0,0,1 RegisterServer=yes [msvcrt.dll] FileVersion=7,0,3790,3959 hook=mfc80installer [mfc80.dll] FileVersion=8,0,50727,762 hook=mfc80installer [olepro32.dll] FileVersion=5,2,3790,3959 hook=mfc80installer [mfc80installer] file-win32-x86=http://activex.microsoft.com/controls/vc/mfc42.cab run=%EXTRACT_DIR%\mfc42.exe Thanks & Regards, Hemang
Hemang Raval wrote:
But i am not able to download it.
So why bother with anything else until you get this one piece figured out? Don't intentionally over-complicate things.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne