Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[TARGETDIR] in the Registry table

0 views
Skip to first unread message

Jim Brown

unread,
Oct 16, 2008, 5:39:54 PM10/16/08
to
Hi,

I created an MSI install project in VS 2005. I need to specify some folder
locations as registry values, so I have some keys with the value as

[TARGETDIR]\subFolder

When I run the installer, it creates registry values that look like
[TARGETDIR]\\subFolder - notice the double backslash. In Orca, I can see
that TARGETDIR is defined without a trailing backslash, so I don't know the
reason for the double backslash in the registry value.

I edited the Registry entries to look like [TARGETDIR]subFolder and this
works, but I don't understand why this happened in the first place. Can
someone educate this poor noob?

Thanks,
-Jim

Stefan Krueger [MVP]

unread,
Oct 19, 2008, 10:57:24 AM10/19/08
to
During costaing the directory tree is built. That's where all directory
properties get their trailing backslash.

--
Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)


"Jim Brown" <noS...@noMail.com> schrieb im Newsbeitrag
news:udE8gf9L...@TK2MSFTNGP03.phx.gbl...

0 new messages