Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 21st, 2008, 07:28 AM
Authorized User
 
Join Date: Aug 2008
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.







 
Old August 21st, 2008, 07:45 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
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 -/
 
Old August 22nd, 2008, 07:07 AM
Authorized User
 
Join Date: Aug 2008
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

 
Old August 22nd, 2008, 07:18 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
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 -/
 
Old August 26th, 2008, 12:53 AM
Authorized User
 
Join Date: Aug 2008
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

 
Old August 26th, 2008, 01:52 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
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 -/





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





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