Amin-egn
Posts: 9
Joined: Wed Nov 03, 2021 12:23 pm

How to set APPNAME to end of the installation path

Thu Dec 02, 2021 10:56 am

Hello,
I'm trying to compile an exe application, In select path for installation it sets to C:\ProgramFiles\myApp
But when user changes it's path (for example user likes to install on E:\) to E:\, It shows only letter E:\ (I want to it displays E:\myApp) or wherever user wants t o install.

I'm sorry I think chose wrong forum and I don't know how to delete this post

Thanks

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: How to set APPNAME to end of the installation path

Thu Dec 02, 2021 12:03 pm

Hello,

You can find a solution to your problem in the following thread:

FolderDlg automatically append productname

The problem with the above approach is that if the user does not change the path, it will actually duplicate the ProductName.

To avoid that, you can remove the ProductName from "Install Parameters" page --> "Application folder" field.

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

Return to “Common Problems”