Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Seeking help form .NET Programmer (https://www.warriorforum.com/programming/265290-seeking-help-form-net-programmer.html)

mystarter 25th September 2010 09:07 PM

Seeking help form .NET Programmer
 
Hello,

This thread is dedicated to those who are good in .NET application and like to help others.

My situation is i have desktop tool built on .NET by paid coder.

I got all the application and source codes with me.

I've tested it on my computer and it works well.

However, when i give it to other people, they can't run it on their computer. There is error mentioning that some files are missing (or something like that).

Actually the folder that i give to other users just containing few files (application files) excluding source codes.

So, i'm looking for some one who can help me to look into this problem and if possible, recompile those required files into a folder (from all files) so that other users can run the tool on their computer.

Please fell free to PM me if you have any further questions.

Thanks in advance.

bgmacaw 25th September 2010 10:03 PM

Re: Seeking help form .NET Programmer
 
You needed to have your developer build an install package (aka [program name].msi and setup.ext) which would include all of the required files. In some cases, an updated .NET Framework might need to be downloaded and this package would handle this as well.

mystarter 26th September 2010 03:17 AM

Re: Seeking help form .NET Programmer
 
The tool can be run straight away from .exe file. Nothing to be installed. It's just a small application.

The weird things is it can be run and works very well on my three different computers with the same files (packages) that i give to users.

bgmacaw 26th September 2010 12:16 PM

Re: Seeking help form .NET Programmer
 
Quote:

Originally Posted by mystarter (Post 2648164)
The tool can be run straight away from .exe file. Nothing to be installed. It's just a small application.

The weird things is it can be run and works very well on my three different computers with the same files (packages) that i give to users.

The target system has to have the correct version of the .NET Framework installed. Most, but not all, XP SP2 and Vista systems will have up through .NET 2.0 Framework installed but not necessarily .NET 3.0, 3.5 or 4.0. It depends on the service packs installed. There also can be other supporting files involved depending on how it was coded that might require an install for some systems.

Another thing to watch out for in Vista and 7 is the security that the application is being run under. If the program needs admin level access it may run OK in XP but not in Vista or 7.

Do you know which version of .NET Visual Studio your developer used to create the app? What operating systems have you tested it with? What error message does it get, if any, when someone tries to run it and it doesn't work?

mystarter 29th September 2010 08:03 PM

Re: Seeking help form .NET Programmer
 
This is the error appears on user's screen

TechSmith | Screencast.com, online video sharing, ksterror

I got some advices from fellow friend telling about recoding the application to avoid this issue, but i'm looking for other alternative solutions.

Please suggest me what help you can offer.

Thanks

iamjohnbrown 30th September 2010 01:35 AM

Re: Seeking help form .NET Programmer
 
Quote:

Originally Posted by mystarter (Post 2647518)
However, when i give it to other people, they can't run it on their computer. There is error mentioning that some files are missing (or something like that).

Think you must put the necessary files in the same folder as the executable is else you can also use the GAC to install the assemblies on the client computer. The necessary files must be some DLL which are referenced for the coding purpose.

skyzero 30th September 2010 09:07 AM

Re: Seeking help form .NET Programmer
 
Hi mystarter,
Unfortunately the previous poster is right, you need an install package.

The good news is that MSIs are not the only package at your disposal.

You can EITHER do a traditional MSI install project or you can do a "Click Once" type of install that runs in a security restricted environment that non-administrative users can use. This can install directly from your website.

I would suggest going this route if you do not want to do a full install package.

I WOULD NOT suggest manually copying files to the user's computer like the mshtml assemblies you require in the error page you posted. That is what an INSTALLER does and you make it a one way process if you don't use one.

In your current example though, the person would probably need to have updated .net files and assemblies to use click-once, but you wont know until you try it.

Here is some info on click-once:
ClickOnce Deployment Overview

IF you are using VS2005 (I.E. .net 2.0) you might be able to make the clickonce files YOURSELF.

Instructions:
How to: Publish a ClickOnce Application

I hope this helps.

bgmacaw 30th September 2010 09:55 AM

Re: Seeking help form .NET Programmer
 
I agree that the app needs to be re-coded using a more recent, and distributed, assembly. The one being used, mshtml, is outdated and may not be present on all systems unless you distribute it via your install package or have the end user copy this file over too (not the best course of action).

skyzero 5th October 2010 04:21 PM

Re: Seeking help form .NET Programmer
 
Hi Mystarter,
Just sent over the files with the setup project and package.

Let me know how it goes.

Also the project was not using an outdated version of VS, it was using 2010, the problem was just simply many missing dependencies.

TrafficMystic 5th October 2010 05:51 PM

Re: Seeking help form .NET Programmer
 
it sounds like you just need a setup and deployment package created for it..

download the express edition of vs2010 and you should be able to create your own..

mystarter 6th October 2010 07:14 AM

Re: Seeking help form .NET Programmer
 
Skyzero,

Thanks for creating setup file for me.

Now i'm looking for someone who can edit my codes to make it work with new Adword interface.

Any of you interested?


All times are GMT -6. The time now is 08:02 AM.