-2

Due to the administrative privilege of the application, I need to install my program including .exe and .dll in C:\DestFolder\SubFolder\ but I keep getting C:\Program Files\\[Manufacturer]\\[Product Name]\ where the placeholders are specified in the properties window.

I tried this article but no good.

Please don't give me answer like try changing the defaultlocation to C:\Destination\ of the Application Folder as I have already tried. Also I don't want solution like just change the installation destination path manually during the installation.

muneeb_ahmed
  • 364
  • 5
  • 16
Vkl125
  • 140
  • 1
  • 9

1 Answers1

0

I have found the answer from this article:

"[ProgramFilesFolder] is built in, and correctly leads to the Program Files directory on the target machine, no matter how customized the setup of Window is..."

There might be tools out there that allow installing outside of Program Files.

[Edit] Infact I've found out this great extension for VS 2017 community called Wix. There's a guy who did a fabulous tutorial on it.

Community
  • 1
  • 1
Vkl125
  • 140
  • 1
  • 9
  • It's not clear how the question "how to install to C:\Destfolder" is answered by "I found out how to install to the Program Files folder". – PhilDW Jan 19 '18 at 17:50
  • The answer doesn't say I found out how to install to the Program Files folder. It explains how to install to C:\Destfolder. – Vkl125 Jan 19 '18 at 18:36