Deployment and Setup

S

source

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

Todd Derksen [MSFT]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top