Rename folder from user input

Having trouble running Advanced Installer? Got a bug to report? Post it all here.

Rename folder from user input

Postby buiducnha » Wed Jun 27, 2012 8:49 am

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.
buiducnha
 
Posts: 2
Joined: Tue Jun 26, 2012 6:40 am

Re: Rename folder from user input

Postby mihai.petcu » Wed Jun 27, 2012 1:19 pm

Hello,

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

All the best,
Mihai
Mihai Petcu
Advanced Installer Team
http://www.advancedinstaller.com/
mihai.petcu
 
Posts: 3452
Joined: Thu Aug 05, 2010 8:01 am


Return to Common Problems

Who is online

Users browsing this forum: Google [Bot] and 3 guests