Conditional File Copy - 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!

a_rezaeinia
Posts: 2
Joined: Sat Apr 23, 2011 8:30 am

Conditional File Copy

Hi ,
I want to copy one of two available file based on user selection to system32 directory , so for this i created a new dialog with two radio button(A and B)
i wan to if user selects radio button (A) , a file with name config.ini will be copy to system32 directory and if user selects radio button (B) , another file with the same name (config.ini ) but different content will be copy to system32 directory , how can i implement this ?
best regard
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Conditional File Copy

Hello and welcome to the Advanced Installer Forums,

Here is an article that describes setting this functionality. You can use the radio button group's public property as the condition for the components.

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

Return to “Common Problems”