Jump to content

creating setup file using visual studio

- - - - -

  • Please log in to reply
4 replies to this topic

#1
tazo333

tazo333

    Newbie

  • Members
  • Pip
  • 5 posts
I've started creating a project in C#, using visual studio 2005, and finished the same project in visual studio 2010 and now I don't know how to create a setup file so I can use that program on computers that don't have any visual studios installed.. Can somebody help, it's quite urgent?

#2
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
In your project, click build (top menu) than publish
It's the basic setup file, the user will not be able to modify the path where it will be installed, but it work just fine

#3
tazo333

tazo333

    Newbie

  • Members
  • Pip
  • 5 posts
I've tried what you said, and I get the file publish in the application folder, but when I install it, none of the pictures nor .txt files I used in the project work...It simply cannot find the path I specified in the debug folder.

#4
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
Do you use relative or absolute path?

#5
tazo333

tazo333

    Newbie

  • Members
  • Pip
  • 5 posts
well. i'm not sure what you mean as relative... I use on ex, if i want a picture in the form, i write the code pictureBox1.Image=Image.FromFile("pic.jpg"); and put that picture in the bin/debug folder..




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users