Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: FTP support
gau

From: mymbau, India
Posts: 5
Member Since: 04/25/06
posted April 25, 2006 2:27 PM

I have a beginners question. if i code my sofware in VB6 using the Powertcp ftp tool, would i be able to run this program on someone elses machine or i would also have to supply them with the required dart dll's??

I mean with winsock i dont really have to send any dll's..would i have to with this tool??

information ont his would be most appreciated

Thanks
AMAB

From: Karlstad, Sweden
Posts: 19
Member Since: 04/25/06
posted April 26, 2006 10:36 AM

Yes the users would need the DLLs installed. But that's easy to solve with an install file. The instlal file must call


Here's an install script for InnoSetup

; -- CodeDlg.iss --
;
; This script shows how to insert custom wizard pages into Setup and how to handle
; these pages. Furthermore it shows how to 'communicate' between the [Code] section
; and the regular Inno Setup sections using {code:...} constants. Finally it shows
; how to customize the settings text on the 'Ready To Install' page.

[Setup]
AppName=Intelligent Backup System, Beta Version, Release
AppVerName=Intelligent Backup System, Beta Version, Release
DefaultDirName={pf}\iBack
;DisableProgramGroupPage=yes
UninstallDisplayIcon={app}\UninstalliBack.exe
SourceDir=D:\Prg\FTPBackup\Runimage
password=foofighter
OutputDir=D:\Prg\FTPBackup\Runimage\Releases
OutputBaseFilename=iback-setup
AlwaysRestart=yes
DefaultGroupName=iBack

[Files]
Source: "Zipper.exe"; DestDir: "{app}"; Flags: restartreplace
Source: "ZipperTest.exe"; DestDir: "{app}"; Flags: restartreplace
Source: "Zipper.log"; DestDir: "{app}"; Flags: restartreplace
Source: "error.txt"; DestDir: "{app}"
Source: "iBackCtrl.exe"; DestDir: "{app}"
Source: "dll\DartSock.dll"; DestDir: "{sys}"; Flags: restartreplace
Source: "dll\DartFtp.dll"; DestDir: "{sys}"; Flags: restartreplace

[Tasks]
Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:"
Name: "quicklaunchicon"; Description: "Create a &Quick Launch icon"; GroupDescription: "Additional icons:"; Flags: unchecked

[Icons]
Name: "{group}\iBack System";     Filename: "{app}\iBackCtrl.exe";  WorkingDir: "{app}"
Name: "{userdesktop}\iBack System";     Filename: "{app}\iBackCtrl.exe";  WorkingDir: "{app}"; Tasks: desktopicon
;Name: "{userappdata}\iBack"; Filename: "{app}\Zipper.exe";  WorkingDir: "{app}"; Tasks: quicklaunchicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\iBack System"; Filename: "{app}\iBackCtrl.exe"; WorkingDir: "{app}"; Tasks: quicklaunchicon

[Run]
Filename: "{sys}\regsvr32.exe"; Parameters: "/s ""{sys}\DartFtp.dll"""
Filename: "{sys}\regsvr32.exe"; Parameters: "/s ""{sys}\DartSock.dll"""

[UninstallRun]
Filename: "{sys}\regsvr32.exe"; Parameters: "/u /s ""{sys}\DartFtp.dll"""
Filename: "{sys}\regsvr32.exe"; Parameters: "/u /s ""{sys}\DartSock.dll"""
Raj

From: Rome, NY, USA
Posts: 389
Member Since: 02/01/06
posted April 26, 2006 10:37 AM

All dependent DLLs need to be distributed along with your application, and COM Registered on target machines using Regsvr32.exe.
For list of dependent DLLs please refer Help File, Distribution section.

DartFtp.dll is dependent on:
1) DartSock.dll,
2) DartZip.dll

To make distribution simple, you may want to create a package, and an installer (using Setup and Package).
Which will eliminate the need to distribute dependent Dlls and COM Register those Dlls on Target machine.

Regards,
Raj
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX