0

I been working on a application that I am planing on distributing. For some reason I am not able to install it on other computers. first let me show you my deployment settings maybe I am doing something wrong in there (I left all the defaults).

Deployment settings:

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

after doing that I get the following files:

enter image description here

So far everything looks great! Let me show you what happens when I try installing this app on several computers:

.

Computer 1: (Running windows 7 with Service Pack 1)

application installs in a matter of seconds and it works fine. I am able to uninstall it as: enter image description here

THE APPLICATION WORKS GREAT!

.

Computer 2: (Running windows vista with service pack)

IT DOES NOT INSTALL:

enter image description here

when I click on install I get the following error:

enter image description here

so as you can see I was not able to install it on that machine. I tried uninstalling it then installing it again and I get the same problem.

.

.

computer 3: (running windows xp with service pack 2)

when I ran the setup.exe file it took a while to download and install whatever requirements it needed. It took 1 hour to install what I believe was the:

enter image description here

and when that part finished at the end I got an error saying: "you do not have enough disk space" and I have 50GB of free disk space on my c drive.

SO IT DID NOT WORK WITH THIS COMPUTER EATHER.

.

.

Computer 4: (windows xp with service pack 2)

I get the following error:

enter image description here

. . . . .

.

why is it so difficult to deploy an application. this application works great in all the computers that have visual studio installed. Should I try to downgrade to .Net 3.0 or maybe .Net 2.0?


Edit

Could this be because I might not be able to publish applications? I got visual studio for free because my university gave it to me. I know there are student versions where you can try and also that they expire every six months. I been using visual studio ultimate edition for about 1 year know and every time I launch visual studio it does NOT say for evaluation purposes only like on my laptop. My splash screen actually comes out as:

enter image description here

1 Answer 1

1

You selected in your prerequisites the "Microsoft .NET Framework 4 Client Profile", but is that what your application is targeting? Check your application properties -> Application tab. Usually a WPF application will target the full .Net framework.

Sign up to request clarification or add additional context in comments.

3 Comments

I have that because that was the default. should I add the prerequisite that you are mentioning?
Yes, you want to require the full .net framework installation; the client profile is a smaller subset of the .net framework and will be missing import DLL's that your application probably relies on.
I also had to install windows imaging component (WIC) on the xp machines. microsoft.com/download/en/details.aspx?displaylang=en&id=32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.