2

I am creating a setup file for a C# application, and I am successful in that. I set the default location property, [ProgramFilesFolder][Manufacturer]\[ProductName], to

[ProgramFilesFolder]\[ProductName]

While installing it it installs into C:\Programfiles\Myapplication. My problem is that I do not want to install in the Programfiles folder. I want it to install in C:\myapplication.

I can change this at the time of installation, but my client requirement is that he can directly install without any changes by him.

How do I set this path in the setup application itself?

7
  • Did you even try removing the [ProgramFilesFolder]? What else did you try? Commented Aug 24, 2011 at 9:33
  • 1
    @user703526-Do you see ? people start talking about your problem. Commented Aug 24, 2011 at 9:34
  • Why do you want to install it directly under C:? I hate programs that do that Commented Aug 24, 2011 at 10:14
  • @Oskar he wrote "my client requirement..." Commented Aug 24, 2011 at 10:21
  • @Reniuz Yeah, I saw that. But still, why? Commented Aug 24, 2011 at 10:23

1 Answer 1

3

Replace [ProgramFilesFolder] with C::

C:\[ProductName]
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.