473,796 Members | 2,712 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Package & Deployment questsion:

I am working on the setup project of my small vb.net program. I don't want
to give the user (the person who will install my program) an option where
(s)he wants to install the program/utility. For example it should only be
installed only in C:\NEWPROGRAM directory. Please tell me in simple steps..

Thanks in advance!
Nov 20 '05 #1
6 1004
* "I_AM_DON_AND_Y OU?" <us**@domain.co m> scripsit:
I am working on the setup project of my small vb.net program. I don't want
to give the user (the person who will install my program) an option where
(s)he wants to install the program/utility. For example it should only be
installed only in C:\NEWPROGRAM directory. Please tell me in simple steps..


Why not? I would not install a program like this...

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
Cor
Hi Herfried,
That is probably easy to answer even for me.
Because probably Don has made a hard coded reference to is.
So I give Don an answer not knowing if that is right.

Hi Don,
It is easy to find the program-files directory, maybe you can use that in
your program, so there is no need for hardcoding the program directory.
And now I in doubt which it is :-)
\\\\
Environment.Get FolderPath(Envi ronment.Special Folder.ProgramF iles)
Environment.Get FolderPath(Envi ronment.Special Folder.Programs )
////
But I think that is easy to find for yourself which one if you know the
trick?

Cor

Nov 20 '05 #3
* "Cor" <no*@non.com> scripsit:
That is probably easy to answer even for me.
Because probably Don has made a hard coded reference to is.
So I give Don an answer not knowing if that is right.


That's why I asked.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
Cor
HI Herfried,
Of course
I did not doubt on that
:-)
Cor
That's why I asked.

Nov 20 '05 #5
* "Cor" <no*@non.com> scripsit:
Of course
I did not doubt on that
:-)
Cor
That's why I asked.


Zzz...

;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
As others have pointed out, not giving the user a choice of where it goes
is not recommended and violates Windows Logo. However, if you really want
to do it... you can change the DefaultLocation property of the Application
Folder in the setup project, change it to C:\NEWPROGRAM. Then, go to the
UI editor, and delete the "Installati on Folder" dialog, that's the one that
asks the user where to install it to.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "I_AM_DON_AND_Y OU?" <us**@domain.co m>
Subject: Package & Deployment questsion:
Date: Wed, 15 Oct 2003 00:52:32 -0700
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Message-ID: <et************ *@TK2MSFTNGP11. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.langua ges.vb
NNTP-Posting-Host: ppp-67-125-114-206.dialup.irvn ca.pacbell.net 67.125.114.206Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP11.phx.g bl
Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.vb:146806
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.vb

I am working on the setup project of my small vb.net program. I don't want
to give the user (the person who will install my program) an option where
(s)he wants to install the program/utility. For example it should only be
installed only in C:\NEWPROGRAM directory. Please tell me in simple steps..

Thanks in advance!


Nov 20 '05 #7

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

Similar topics

13
2669
by: Adrian Parker | last post by:
I wrote a VB program on my Windows XP machine. It does multi table queries, you can add/delete and edit records, it all worked very beautifully. I was very careful to validate data, and on my machine it works very well. I compiled it, and sent the executable, which works fine on my machine, to a business elsewhere. They also have a Windows XP machine. When they run my executable, using the same database I use, the program opens and...
5
11167
by: Geri Reshef | last post by:
In the VB6 I used the "Package & Deployment Wizard" to create an installation package. I didn't find the VB.Net equivalent. Does anybody knows where or what is it?
1
1767
by: SKarnis | last post by:
I have created a simple ASP.NET Web Service with VB on Win XP Pro SP2, IIS 5.1, .NET 1.1. Service works in Visual Studio environment. Created an deployment package. Tried running the deployment package in VS using Install - get the following error. The specified path 'http://development/WebServerSetup' is unavailable. The Internet Information Server might not be running or the path exists and is redirected to another machine. Please...
1
2691
by: Maklar | last post by:
Greetings, When I launch the PDW, I select the project that I wish to package and deploy, and go through the various steps in the wizard to reference files and such. When I reach the end of the wizard and am prompted to click the Finish button, I click it and then the wizard dialog disappears without the package being generated. No files within the \Package or \Package\Support folders. Nothing. Its as if the PDW has lost the ability to...
0
1086
by: riazhassan | last post by:
Hi guys, I have been deployed 3, 4 applications with the package and deployment wizard. I have never faced this kind of problem but now I am having problem with my client setup. When I run the setup and after completion I restart the machine, it does not load the Norton Antivirus and Norton Internet Security and also I can not enable them or load them explicitly. Could you plz help me in solving this issue. I would be greatfull to you.
20
10052
by: Joe | last post by:
Is any one charting packing considered to be the "best"? We've used ChartFX but wasn't too happy about the way data had to be populated along with some other issues which slip my mind right now and Dundas has bugs and doesn't do a good enough job displaying axis labels and is very slow to paint large numbers of series and data points. We're currently evaluating ProEssentials which we are happy with but it's not a native .NET package. ...
1
2611
by: RandomElle | last post by:
Can anyone help me out with locating & using the package and deployment wizard for Access 2003? I have searched for HOURS and cannot find the Package & Deployment wizard for Access2003 anywhere on my machine. It's supposed to be under Program Files/Microsoft Office/Package & Deployment.... It's not there and I don't have a folder with anything even close on my machine. I have installed: * MS Office Pro 2003 with Biz contact Mgr , *...
3
6444
by: Steve | last post by:
Hi All I downloaded Sql server 2005 express SP2 and attempted to modify the Bootstrapper package files as I did with SP1 When i try to install SQL server as part of my VS 2005 deployment app I get an error at the end of the SQL server install phase 'Invalid endpoint'. (Note SQL server express gets installed OK) If I run SQL server express SP2 setup directly it I don't get the error
2
1062
by: askvb6 | last post by:
while installing a package developed in Package & deployment wizard, I get the following error message "Some system files are out of date whether you want to continue installing" If we say yes it is exiting. Even if we say no the setup exits. Pl.solve this problem
0
9524
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10449
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9047
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.