469,641 Members | 1,534 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,641 developers. It's quick & easy.

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 1400
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.

Similar topics

2 posts views Thread by Scanner2001 | last post: by
1 post views Thread by Mika M | last post: by
1 post views Thread by Wendy Elizabeth | last post: by
7 posts views Thread by dhussong | last post: by
6 posts views Thread by andrewbb | last post: by
2 posts views Thread by Miro | last post: by
3 posts views Thread by fniles | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.