We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

smianao
Posts: 2
Joined: Wed Mar 12, 2025 2:38 pm

The parent directory during installation needs to be fixed

As mentioned, I want to set a fixed folder name as the parent directory of the installation program during installation, which is the end of the default path. Even if the user clicks "browse" to change the installation path, it should still end with this fixed folder name. For example, the default path is D:xxx\xxx\123, after the user selects the path, it becomes F:\xxx\123. My English is poor, all translated by software, sorry! I tried adding attributes, maybe due to the call of attributes and other reasons, it didn't work! Please help me, professional personnel, to solve this problem! Thank you!
smianao
Posts: 2
Joined: Wed Mar 12, 2025 2:38 pm

Re: The parent directory during installation needs to be fixed

Is there a master who can help this poor kid? This problem has been troubling me for half a month, but unfortunately, I'm not too smart... :(
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: The parent directory during installation needs to be fixed

Hello and welcome to our forums,

In order to set a fixed folder, you can create a "Set Property" event on the "Next" button of the "FolderDlg" dialog.

The event would set APPDIR property to the path that you want.

This will ensure that no matter what path the user chooses, the path will be reset.

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

Return to “Building Installers”