Changing Where [ProgramFilesFolder] Points To

  • Thread starter Thread starter Phil Galey
  • Start date Start date
P

Phil Galey

Is there a way of getting [ProgramFilesFolder] to point to D:\Program Files
rather than C:\Program Files? If I try replacing [ProgramFilesFolder] with
D:\Program Files, I get an invalid character error. Thanks.
 
No, actually, I'm referring to the
[ProgramFilesFolder][Manufacturer][ProductName] string that appears by
default in the DefaultLocation property when you highlight the Application
Folder in the installation project. Our software is used internally only
and all the target machines have both a C and D drive and we always install
software on the D drive. So as things are, we always have to go through the
extra step during the installation of changing the C to a D.

How can we get the drive letter to come up by default as D instead of C when
installing VB.NET apps?
 
Phil,
Is there a way of getting [ProgramFilesFolder] to point to D:\Program
Files
rather than C:\Program Files? If I try replacing [ProgramFilesFolder]
with
D:\Program Files, I get an invalid character error. Thanks.
I asssume that you are looking to the special folders in the environment
class
http://msdn.microsoft.com/library/default.asp?url=/library/en->>us/cpref/html/frlrfsystemenvironmentspecialfolderclasstopic.asp
No, actually, I'm referring to the
[ProgramFilesFolder][Manufacturer][ProductName] string that appears by
default in the DefaultLocation property when you highlight the Application
Folder in the installation project. Our software is used internally only
and all the target machines have both a C and D drive and we always
install
software on the D drive. So as things are, we always have to go through
the
extra step during the installation of changing the C to a D.

Yes there is a way to do that.

Cor
 
Cor,

I clicked on the link but the resulting web page says I'm not authorized to
access it.

Phil
 
Phil,

If you have access to internet than you should be able to open it, it is a
very old and completely open page.

I tried it again.

Cor
 

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

Back
Top