Similitran
Posts: 4
Joined: Fri Mar 22, 2024 5:03 pm

Add file to 3rd Party "Program Files" Folder

I'm building an installer which also installs Grafana Server as a prerequisites. Later during my installer I need to add a custom config file to the grafana root/config folder.
Grafana gets installed to the Program Files folder (for x64), where as my application gets installed to the program files (x86) folder.

In the Files and Folders Tab I put my isntallation files into the "Application Folder" Where as I put the Grafana config file into one of the Program files folder (Program Files or Program Files 64) In both cases the files gets installed in the x86 folder instead of the "Program Files" folder for the x64 installation on the target machine. How can I achieve that the grafana file gets installed under the correct path und the x64 program files folder?
Thanks for any help
Simon
Catalin
Posts: 6727
Joined: Wed Jun 13, 2018 7:49 am

Re: Add file to 3rd Party "Program Files" Folder

Hello Simon and welcome to our forums,

In order for the file to be installed in the 64-bit Program Files folder, here's how you could proceed:

- go to "Files and Folders" page

- right click on your file --> "Go to Component"

- mark the component as 64-bit

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Similitran
Posts: 4
Joined: Fri Mar 22, 2024 5:03 pm

Re: Add file to 3rd Party "Program Files" Folder

OK that helped. Thanks a lot!
Catalin
Posts: 6727
Joined: Wed Jun 13, 2018 7:49 am

Re: Add file to 3rd Party "Program Files" Folder

You are always welcome, glad to hear it helped.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”