• (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4

Deploying a C# application (Visual Studio Setup Project) How to deploy a C# application using Visual Studio Setup Project.

#16 Guest_davy123*


Reputation:

Posted 25 February 2010 - 09:00 PM

Thanks
Very nice and clean article....
Was This Post Helpful? 0

#17 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Posted 26 February 2010 - 01:48 PM

@BrianIreland It does the same thing. All depends on personal preferences in this case.
Was This Post Helpful? 0
  • +
  • -

#18 Guest_Wanderer*


Reputation:

Posted 03 March 2010 - 11:50 AM

Good afternoon.

I followed your tutorial, by adding a setup wizard to a project that I had built the other day. (NA27 Logger Pro)
It all went well during the tutorial until I built the solution of the setup wizard.
When I do this, I got the following error:
Error 1 Unable to update the dependencies of the project. The dependencies for the object 'Primary output from NA27 Logger Pro (Active)' cannot be determined.

When I click on the dependencies of the the NA27 Logger Pro (Active), I see that it depends on the .NET framework and in the .dll I talked earlier. I don't understand why he is complaining about this dependencies, because the .dll is automatically detected by the setup wizard project and it appears on File System of The Target Machine\Application Folder

If anyone could give me some help, I would really appreciate it.

Thanks a lot in advance.
Was This Post Helpful? 0

#19 Guest_Manish Jaiswal*


Reputation:

Posted 09 March 2010 - 06:01 AM

Can we add the files to these folders programmatically or by any means?
Was This Post Helpful? 0

#20 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Posted 09 March 2010 - 06:47 AM

@Wanderer Check out this article: http://dotnetslacker...Studio_IDE.aspx

It is describing the issue you are having and the possible fixes for it.

@Manish Jaiswal You cannot add files programatically. Once you are working on a setup project, you can easily customize the installation by adding files directly from the IDE (not through code).
Was This Post Helpful? 1
  • +
  • -

#21 Guest_Sw2agat*


Reputation:

Posted 19 March 2010 - 12:23 AM

This is exactly what I was looking for. Thanks a lot. But I have 1 question. How can i make my progam a 30 day trial version?
Was This Post Helpful? 0

#22 rrue  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 18-June 08

Posted 05 April 2010 - 12:49 PM

Is there a way to tie the version number to the version number of the application i.e.

System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();

I'm using this to set the text of a label on my "about" form but would also like it to build into my installer automatically...
Was This Post Helpful? 0
  • +
  • -

#23 Guest_P0*


Reputation:

Posted 21 April 2010 - 10:53 PM

Hey, nice tutorial. It helps a lot. There is just one problem but not in this tutoiral: When i press build the Setup Project there is something wrong with it:
ERROR: Could not create the file 'C:\Users\User\AppData\Local\Temp\VSIBF1.tmp' 'Access is denied.'

Did u have any idea how to fix this?
Was This Post Helpful? 0

#24 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Posted 25 April 2010 - 01:36 PM

Are you running as an Administrator? It might be caused by the absence of needed user privileges to write to the specified folder.
Was This Post Helpful? 0
  • +
  • -

#25 Guest_Bilal*


Reputation:

Posted 26 April 2010 - 10:47 AM

Hi

I really liked the tutorial.. the thing that just making trouble is how to publish it???
setup is build but when i published the project it remains the same no installer shows... plz help me with this..

thanx in advance
Was This Post Helpful? 0

#26 Guest_itsme*


Reputation:

Posted 04 May 2010 - 07:43 AM

:bigsmile:
Thanks
Was This Post Helpful? 0

#27 Core  Icon User is offline

  • using System.Linq;
  • member icon

Reputation: 774
  • View blog
  • Posts: 5,097
  • Joined: 08-December 08

Posted 09 May 2010 - 08:44 AM

@Bilal check the project folder for binaries. You need the MSI package along with the rest of the components.
Was This Post Helpful? 0
  • +
  • -

#28 plejer_adam  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 90
  • Joined: 17-May 10

Posted 17 May 2010 - 11:28 AM

hi guys , i am from croatia :)

i just started to do some programs with c# and access database, and i did everything and it works , but when i do this tutorial , i start the setup and program is being installed , but when i want to start it , it says ''program stopped working'' !!!

its the same thing if i do with publish option...

please help , thanks
Was This Post Helpful? 0
  • +
  • -

#29 plejer_adam  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 90
  • Joined: 17-May 10

Posted 18 May 2010 - 02:53 PM

everything is ok , it works !
Was This Post Helpful? 0
  • +
  • -

#30 Guest_wayelheyel*


Reputation:

Posted 24 May 2010 - 06:55 AM

HI,

nice tutorial !!!!
I want to create a setup for my application in c#.but I dont know how to change the path of my database in the setup.

thanks.
Was This Post Helpful? 0

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • 4