By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,991 Members | 1,742 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,991 IT Pros & Developers. It's quick & easy.

Deployment and Setup

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.