lulinha1
Posts: 6
Joined: Thu Mar 15, 2012 4:56 pm

Change SubFolder

Wed Mar 28, 2012 4:38 pm

Hi,

I'm trying to generate a .exe file using Advanced installer 7.7 and I want the user set some subfolders of my app.
How could I do that?

Thanks,

Luiz Antonio.

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

Re: Change SubFolder

Thu Mar 29, 2012 1:44 pm

Hi Luiz Antonio,

I don't fully understand what you mean. Can you please give us more details about what you are trying to achieve during installation?

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

lulinha1
Posts: 6
Joined: Thu Mar 15, 2012 4:56 pm

Re: Change SubFolder

Thu Mar 29, 2012 2:40 pm

Ok, sorry.

C:\Program Files\App <- Where I want to install my app.

My app will have a repository folder and I want the user choose where it is going to be.
e.g.,
C:\My App Repository
D:\My App Repository

Thanks,

Luiz Antonio.

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

Re: Change SubFolder

Fri Mar 30, 2012 8:10 am

Hello Luiz Antonio,

No problem, I see what you mean. Here's the "How to browse for a folder at install time?" article to help you with this.

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

lulinha1
Posts: 6
Joined: Thu Mar 15, 2012 4:56 pm

Re: Change SubFolder

Fri Mar 30, 2012 3:31 pm

Hello again,

I've seen that before, but I can't understand any topics...
3. In the Custom Actions page, create a "Property Set with Formatted" custom action with sequence before the "Wizard Dialogs Stage -> Searches" action group. Use the following options for this custom action:

a) Property Name: MY_DIR (defined in the "InstallParameters" page)

b) Formatted Text: [WindowsVolume]

5. Copy this custom action before "Install Execution Stage -> Searches" by dragging & dropping (keeping the SHIFT key pressed) this custom action in the tree control before Searches action group.
The topics 3 and 5 I can't find/understand the bold parts.

One more time I'm sorry for my poorly English.

I would love if you can help me about this.

Thanks again,

Luiz Antonio.

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

Re: Change SubFolder

Mon Apr 02, 2012 8:37 am

Hi Luiz Antonio,

Since you are new, we highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

If at any time you find any of Advanced Installer's GUI confusing, you can always press F1 and the corresponding help article will pop up.

Here's the custom action section from the Professional tutorial which is relevant in your case.

Also, here's the Custom Actions page article that describes how to add or share custom actions.

Let us know if it helps.

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

lulinha1
Posts: 6
Joined: Thu Mar 15, 2012 4:56 pm

Re: Change SubFolder

Mon Apr 02, 2012 3:46 pm

Now, I can see what is wrong here.
I'm using the 7.7 version and I'm trying to use the tutorial of the newest version.
Are there any tutorial about 7.7 version?
Any suggestion?


Thanks again, mihai.

lulinha1
Posts: 6
Joined: Thu Mar 15, 2012 4:56 pm

Re: Change SubFolder

Mon Apr 02, 2012 9:02 pm

I've done what I've been looking for.

Now I got another problem, should I open another topic??

Can the Advanced Installer create a file that contains my directories folders?
Because I need to change some variables path at my project.

is that the best way?



Thanks again,

Luiz Antonio.

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

Re: Change SubFolder

Tue Apr 03, 2012 10:59 am

Hello,
Can the Advanced Installer create a file that contains my directories folders?
Yes, you can create a file which contain your application folder paths. Go to the "Files and Folder" page and select the application folder where you want to create a new file. You can use the [ New Text File Update ] button from the toolbar or select from the context menu the "New Text File Update" item. From the Edit Text File Update Dialog choose the "Append/Create Operation". Now in the "File Content" field you can add formatted references to your folders.
Because I need to change some variables path at my project.
You can use our Path Variables support to create or modify a path variable in your project.

Let us know if this helps, otherwise please give us more details on the behavior you are trying to achieve. Exemplify using screenshots if you feel that's easier.

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

Return to “Building Installers”