473,756 Members | 5,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Deployment and Setup

I have a setup project and I am adding registry entries in my setup.
For one of my regitry entries I need to assing the value of the [Application
Folder] path.
When I put the value of my registry as [Application Folder]\mypage.htm
when I install my app, the value is simply set as "\mypage.ht m" without the
path of the application folder.

If I also need to run a batch file as one of the Custom Action, my main
problem is ... within my batch file I need to register my dll, so I need to
give the path of my [Application Folder] where the dll will be copied during
installation.
How do I achieve this in my batch file.

Is there a dedicated newsgroup for "Setup and Deployment" ?
Thank you in advance.
Nov 16 '05 #1
1 1558
I believe by Application folder you are looking for the folder where your
app gets installed to. This is exposed by the [TARGETDIR] property, case
sensitive. If you are looking for the Program Files Folder it is exposed
by [ProgramFilesFol der].
You can also pass this to your batch file through the custom action
arguments property.

Todd Derksen
--------------------
Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "source" <so***********@ hotmail.com>
Subject: Deployment and Setup

I have a setup project and I am adding registry entries in my setup.
For one of my regitry entries I need to assing the value of the [ApplicationFolder] path.
When I put the value of my registry as [Application Folder]\mypage.htm
when I install my app, the value is simply set as "\mypage.ht m" without the
path of the application folder.

If I also need to run a batch file as one of the Custom Action, my main
problem is ... within my batch file I need to register my dll, so I need to
give the path of my [Application Folder] where the dll will be copied duringinstallation .
How do I achieve this in my batch file.

Is there a dedicated newsgroup for "Setup and Deployment" ?
Thank you in advance.


Nov 16 '05 #2

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

Similar topics

2
1688
by: Scanner2001 | last post by:
This may not be the best group to post to, so if there are any suggestions as to a different group, please let me know. Here is what we are doing, we have a couple of dlls that are shared (i.e. used by a number of other dlls and applications). These dlls have their own setup process, built with VS2003 setup and deployment package. They are strongly named and have keys. We specify to deploy to the GAC only on the target production server....
4
3536
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
1
3202
by: Mika M | last post by:
I have made Setup and Deployment Project for my application. This application uses couble of Crysral Report .rpt -files, so I included following into Setup and Deployment Project ... - Crystal_Database_Access2003.msm - Crystal_Database_Access2003_enu.msm - Crystal_Managed2003.msm - Crystal_regwiz2003.msm ....and suddenly my <MyApplication>.msi - file was quite big, about 10MB!
1
1766
by: Wendy Elizabeth | last post by:
I need to deploy a service that will run on a production server. I am not certain what category of deployment directions that I should follow from the MSDN site. The service is written is Visual Basic.NET version 1.1. The service is scheduled to run once an hour. The service is suppose to take data from a sql server database (where the information was obtained from users via a web page) and send the data to a HP mainframe by using xml and...
7
2837
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the EXE in the Custom Actions area of the Setup and Deployment project. Unfortunately when the EXE is launched it causes the setup program to stay open until the EXE has been exited. Anyone have any ideas how to launch the EXE and get the setup...
0
5203
by: blkwebman | last post by:
I'm trying to create a "standalone" install package (without any of the dialog boxes that a standard setup package would have). I think I understand how to do it in VB6 (using PDCmdLn.exe); I have already researched this subject in the MSDN for VB6. Here is the problem: I'm trying to execute a batch file containing this command and I'm running into a couple of errors. Here is the contents of the batch file: ...
6
4069
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
2
373
by: Miro | last post by:
Reading the help file it says in step 2 to click on "other project types" and then click on "Setup and Deployment projects".( see below ) I am using vb2005 express. Im assuming this is not an express option? I do not have that option available. All I have is: -Windows Application -Class Library -Consol Applicaotin -My Movie Colleciton -Screen Saver Starter Kit
3
4479
by: fniles | last post by:
I am not sure if I post this issue at the correct newgroup. If I need to post it somewhere else, please let me know what is the correct newsgroup for this. I am using VB.NET 2005 and I create a "setup and deployment" project. When I use this installation to install on a user's machine, how can I merge some registry settings into the user's machine ? Thank you
0
9454
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9271
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
9868
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...
0
9707
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...
1
7242
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6533
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();...
1
3804
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
2
3352
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2664
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.