application distribution without component install

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
marcodes
Posts: 3
Joined: Sun Dec 07, 2008 5:12 pm

application distribution without component install

Post by marcodes » Sun Dec 07, 2008 5:55 pm

Is it possible to distribuite application without install component (SFTPFTPLib.exe)?

For example in vb.net 2005 can i simply copy in a folder:
myApp.exe
sfFTPLib.dll

to make application to start ok?

I've seen some commercial applicatin having:

application.exe
otherlib.dll
.....
.....
.....
and also sfFTPLib.dll....

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: application distribution without component install

Post by mb » Mon Dec 08, 2008 1:35 pm

Yes this is possible. Use a manifest in your executable. There is an article in the help file (side by side execution aka SxS) on how to do it.

Regards,
Mat

marcodes
Posts: 3
Joined: Sun Dec 07, 2008 5:12 pm

Re: application distribution without component install

Post by marcodes » Thu Dec 11, 2008 6:28 pm

Thanks.

Tested. OK

Yes this is possible. Use a manifest in your executable. There is an article in the help file (side by side execution aka SxS) on how to do it.

Regards,
Mat

marcodes
Posts: 3
Joined: Sun Dec 07, 2008 5:12 pm

Re: application distribution without component install

Post by marcodes » Thu Dec 11, 2008 7:07 pm

Just a question:

from Microsoft site:
"Windows Vista, Windows XP, or Windows Server 2003 is required to use side-by-side assemblies and manifests to isolate applications and to use the Activation Context API. On Windows 2000, corporate administrators can partially isolate applications by using .local files and DLL/COM redirection"

In fact on Windows 2000 my application does not function in side-by-side. it returns:
Unhandled Exception: System.TypeInitializationException: The type initializer for 'myapp.test' threw an exception. ---> System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {52D6E699-9256-414F-8FCD-F38FDF6AC8EE} failed due to the following error: 80040154.

How can i use ".local files and DLL/COM redirection" like Microsoft says?

Thanks in advance.

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: application distribution without component install

Post by mb » Thu Dec 11, 2008 7:16 pm

I don't know but maybe Microsoft Support can help you with that.

Post Reply