Tenti.Gianluca73
Posts: 5
Joined: Fri Feb 16, 2024 5:50 pm

G5How to move a folder setting new path installano application

Fri Feb 16, 2024 6:00 pm

Hi

I've a folder named Archive and by default it is a appdir's sub folder. During installazione i should change the folder path and change it's name.

I've created this user property

ARCHIVE = [Appdir]\Archive

But during install i've this error: the folder Appdir]\Rchive does not exist.

So can simeone tell me step by ste how to create the folder in project, link it to a variable and how to set it's value with the desired inizial path ?

I'm using the last version of Advanced Installer Enteprise.

Thank's advance

Gianluca

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: G5How to move a folder setting new path installano application

Mon Feb 19, 2024 2:30 pm

Hello Gianluca,

If you created a property based folder based on the ARCHIVE property, then you should set that property using a "Set property" custom action, in the "Custom Actions" page.

The custom action should be scheduled right after the "Searches" action group.

Additionally, please note that APPDIR should be all uppercase characters.

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

Tenti.Gianluca73
Posts: 5
Joined: Fri Feb 16, 2024 5:50 pm

Re: G5How to move a folder setting new path installano application

Fri Feb 23, 2024 1:29 pm

Hi Catalin,

thank's for your response, i've solved my problem :-)

Best regards,

Gian-Luca

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: G5How to move a folder setting new path installano application

Fri Feb 23, 2024 2:12 pm

You are always welcome, Gian-Luca!

Glad I was able to assist. :)

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

EmmyAuer
Posts: 4
Joined: Fri Dec 15, 2023 11:38 am

Re: G5How to move a folder setting new path installano application

Fri Mar 08, 2024 8:25 am

Catalin wrote:
Mon Feb 19, 2024 2:30 pm
Hello Gianluca,

If you created a property based folder based on the ARCHIVE property, then you should set that property using a "Set property" custom action, in the "Custom Actions" page.

The custom action should be scheduled right after the "Searches" action group.

Additionally, please note that APPDIR should be all uppercase characters.

Best regards,
Catalin
Thank you, it is helpful for me too, you made my day.

Catalin
Posts: 6506
Joined: Wed Jun 13, 2018 7:49 am

Re: G5How to move a folder setting new path installano application

Mon Mar 11, 2024 10:08 am

You are always welcome!

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

Return to “Building Installers”