472,778 Members | 2,514 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

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.htm" 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 1501
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 [ProgramFilesFolder].
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.htm" 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
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....
4
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...
1
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 ... -...
1
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...
7
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...
0
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...
6
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...
2
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...
3
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...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.