473,320 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Publishing VB.net application and adding to PATH

md
Hi all,

I have a simple VB.net application, which I create and publish using
VB 2005 Express.

When I install it on the target computer, this application needs to be
run both from the Start menu and from a command prompt. While the
Start menu is simple enough, the command prompt is a problem as the VB
publisher can only install the executable in the insanely stupid
location such as:
C:\Documents and Settings\user\Local Settings\Apps\2.0\H2WYMNKQ.
1L7\W05B2WV4.VHO\proc..tion_1bc75b8b345864bf_0001. 0000_0fbebd11f4b7d20a
\MyScript.exe

So, since the VB publisher can not change the default install
location, is it possible to automatically add that path to the PATH
environment variable at install time?

I have tried creating the project as a "Console Application", but that
seems equally incapable of setting the PATH variable - what's point of
a console application if it is only to be run from a menu? Or am I
missing something obvious?

Thanks for any help!

Apr 5 '07 #1
0 4203

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Doc | last post by:
I'm trying to get to the bottom of a problem I've been having with publishing a freebie website. I'm using a program called WebEasy. Using a very simple site upload as an example, in this case a...
8
by: A P | last post by:
Hi! I'm using ASP.Net Web Matrix on my PC and wanting to publish the files to our server. I try to copy (thru explorer) the files but it didn't work! I receive Runtime Error: Server Error...
3
by: Steve Teeples | last post by:
I have a simple application built with several DLLs that access XML files for information. My local setup works just fine. As defined in my Install folder, the files are copied to the...
5
by: Greg Smith | last post by:
I am making the step from windows to web. The final destination is our production server running Server 2003 Web Edition. I am having problems using the BUILD | PUBLISH WEB SITE option. What...
2
by: dani kotlar | last post by:
I have two questions concerning publishing and installation: 1. I used the publish wizard to publish an application. The application gets installed on the target computer in some obscure folder. My...
2
by: loga123 | last post by:
Hi All, I have 2 web applications running on the same IIS server with different roots. Suppose, application A can be run using --http://localhost/A application B can be run using...
2
by: Max2006 | last post by:
Hi, After I right-click on my web application project file and choose "Publish ." and do the publishing, the result publishable files does not include the *.ashx files. Is it by design? How...
3
by: fudge | last post by:
hello, i am very new to publishing applications.can some one help me with it..as i am facing an error after publishing path not valid..i went through many sites and forum for and found many articles...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hi all, I have a publishing Click Once of my application. Now I want create new version of my application for modify some files, like app.config.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.