Archive: Help me !!!


Help me !!!
This is how i regist my dll and ocx

RegDll "$SYSDIR\VB6STKIT.DLL"
RegDll "$SYSDIR\COMCAT.DLL"
RegDll "$SYSDIR\STDOLE2.TLB"
RegDll "$SYSDIR\ASYCFILT.DLL"
RegDll "$SYSDIR\OLEPRO32.DLL"
RegDll "$SYSDIR\OLEAUT32.DLL"
RegDll "$SYSDIR\MSWINSCK.OCX"
RegDll "$SYSDIR\MSINET.OCX"
RegDll "$SYSDIR\mscomct2.ocx"
RegDll "$SYSDIR\comdlg32.ocx"
RegDll "$SYSDIR\COMCTL32.OCX"

;Autre pour corriger bug

RegDll "$SYSDIR\CMCTLFR.DLL"
RegDll "$SYSDIR\DAO360.DLL"
RegDll "$SYSDIR\FM20.DLL"
RegDll "$SYSDIR\INETFR.DLL"
RegDll "$SYSDIR\MMDTC.DLL"
RegDll "$SYSDIR\msadodc.ocx"
RegDll "$SYSDIR\MSCC2FR.dll"
RegDll "$SYSDIR\MSCMCFR.dll"
RegDll "$SYSDIR\MSCMCFR.dll"
RegDll "$SYSDIR\mscomctl.ocx"
RegDll "$SYSDIR\MSHFLXGD.OCX"
RegDll "$SYSDIR\msjet40.dll"
RegDll "$SYSDIR\msjro.dll"
RegDll "$SYSDIR\MSSTDFMT.DLL"
RegDll "$SYSDIR\MSVBVM60.DLL"
RegDll "$SYSDIR\MSVCRT.DLL"
RegDll "$SYSDIR\msxml3.dll"
RegDll "$SYSDIR\odbcconf.dll"
RegDll "$SYSDIR\ODESTKIT.DLL"
RegDll "$SYSDIR\scrrnfr.dll"
RegDll "$SYSDIR\scrrun.dll"
RegDll "$SYSDIR\TLBINF32.DLL"
RegDll "$SYSDIR\TsiCompact.dll"
RegDll "$SYSDIR\vb6fr.dll"
RegDll "$SYSDIR\VB6STKIT.DLL"
RegDll "$SYSDIR\vbajet32.dll"
RegDll "$SYSDIR\WINSKFR.dll"


It is correct ??? the fiale are alreadu present in the system folder

thx


the fiale are alreadu present in the system folder
Well... I think it says The file are already present in the system folder
That's your awnser... you are trying register a file that already exists...
Try use IfFileExists instruction to detect presented files.