Newbie Question: VS Project Installation: Registry Editor

B

Blue Streak

Hi, Folks!!

If you are setting up an installation file (MSI) and you are adding
some system registry settings can you use the $(TargetDir) variable
where the installer would expand it out to "C:\Program Files\<Co name>
\<Proj. name>"?

e.g.
HKRC
- <filetype>
- shell
- run
- command
- (Default), "$(TargetDir)\<proj>.exe" "%1"

Thx.
 
B

Blue Streak

Hi, Folks!!

If you are setting up an installation file (MSI) and you are adding
some system registry settings can you use the $(TargetDir) variable
where the installer would expand it out to "C:\Program Files\<Co name>
\<Proj. name>"?

e.g.
HKRC
- <filetype>
- shell
- run
- command
- (Default), "$(TargetDir)\<proj>.exe" "%1"

Thx.

Never mind.

Found it.

You use [TARGETDIR] instead of $(TargetDir).
 

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