Rename folder from user input - Advanced Installer Community

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!

buiducnha
Posts: 2
Joined: Tue Jun 26, 2012 6:40 am

Rename folder from user input

Hi everyone,

I want to rename the a sub folder (in APPDIR folder) by using user input, so I do it as following:
- Create textbox with property: EDIT_SUBNAME (default value: Testing)
- Under Folder Property: set Target Name: [|EDIT_SUBNAME]

But when I run installer, it always rename my sub folder with default value of EDIT_SUBNAME (not from user input)

How can I do that?

Thanks in advance.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Rename folder from user input

Hello,

You can use a "Set directory path" custom action.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”