Question Regarding Creation of a Windows Installer Package

I have a setup project in my solution. Everything 'works' okay, but I would like to get rid of a kink.

Apparently something in our company's policy defaults the installation folder to:
  C:\Program Files\CompanyName - For Internal Use Only\ProjectName\

Can I set the default location in the setup project to a specific name. 99.999% of the time, C:\Program Files\ProjectName\ will be a valid installation path, so can that be somehow hardcoded?
LVL 15
dbbishopAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jorge PaulinoIT Pro/DeveloperCommented:
You can choose the default location when you create the distribution package.

C:\Program Files\ProjectName\ Is the path that you like ?
0
dbbishopAuthor Commented:
How? I don't see any property that lets you specify a default installation path.
0
Jorge PaulinoIT Pro/DeveloperCommented:
Are you using the VS Setup Project ?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

dbbishopAuthor Commented:
Yes. VS 2005
0
Jorge PaulinoIT Pro/DeveloperCommented:
If you select the Application Folder on the File system on Target Machine you will see on the properties the DefaultLocation. You just have to change there.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dbbishopAuthor Commented:
I'm home. I will check tomorrow. Thanks.

Doug
0
dbbishopAuthor Commented:
That worked. Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.