Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 21st, 2008, 07:28 AM
Authorized User
 
Join Date: Aug 2008
Location: Pune, , India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to run a .NET .exe on a remote PC

How to run a .NET .exe on a remote PC without having to copy it to each one locally? The exe could reside on either the server or any other machine on the LAN.

Initially it was throwing the error related to the digital signature.
Digital signature error was resolved changing some local security policy under Administrative Tools.







Reply With Quote
  #2 (permalink)  
Old August 21st, 2008, 07:45 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

As from .Net 3.5 SP 1 you can now run .Net applications from Network Shares without security warnings.

Prior to this there are a number of options, the first being as you have already done, adding the digital signature to the permissible list, allowing them to run as full trust applications.

The other option is to set up the application as a ClickOnce application.

/- Sam Judson : Wrox Technical Editor -/
Reply With Quote
  #3 (permalink)  
Old August 22nd, 2008, 07:07 AM
Authorized User
 
Join Date: Aug 2008
Location: Pune, , India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i guess "creating a ClickOnce application" would be a different and tedious task. (referred http://visualbasic.about.com/od/usin...oneSBS01_7.htm)

I have created the application on Windows server 2003, office 2003.
also i am using .net framework 2.0

I am unable to get the answer, please suggest some way.

thanks,
vikas

Reply With Quote
  #4 (permalink)  
Old August 22nd, 2008, 07:18 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

Well you already have the step by step instructions for creating a ClickOnce deployment - and no, its not difficult or tedious in my opinion. Those 9 steps are all quite easy, and its built right into Visual Studio, so very assessable.

/- Sam Judson : Wrox Technical Editor -/
Reply With Quote
  #5 (permalink)  
Old August 26th, 2008, 12:53 AM
Authorized User
 
Join Date: Aug 2008
Location: Pune, , India.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

what you said is right...
actually i have developed a Window Application in C#.net
that's whay i asked "why should i create ClickOnce Application".
as my application has already build.

thanks for reply
Vikas

Reply With Quote
  #6 (permalink)  
Old August 26th, 2008, 01:52 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

ClickOnce is a deployment technology for windows applications, so I don't see why you are confused.

You can also deploy to a fileshare, and the application can be run directly from there (see Step 3 in the link above, where you can enter a web address or a file parth as the location for the deployment).

/- Sam Judson : Wrox Technical Editor -/
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run exe from VB .NET windows program iconsult Pro VB.NET 2002/2003 5 September 18th, 2011 08:15 AM
Run CrystalReport.NET app in a remote server hpallavi Crystal Reports 0 February 24th, 2006 05:11 PM
.NET EXE won't run right in SHELL from VBS Ron Howerton General .NET 1 December 20th, 2004 05:49 PM
How to run a client-side .exe in the ASP.NET frame Martyn ADO.NET 1 July 17th, 2004 12:12 AM
how can i run ildasm.exe in vs.net csc820203 VS.NET 2002/2003 0 April 30th, 2004 08:38 PM



All times are GMT -4. The time now is 08:14 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.