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

G5How to move a folder setting new path installano application

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: 6739
Joined: Wed Jun 13, 2018 7:49 am

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

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

Hi Catalin,

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

Best regards,

Gian-Luca
Catalin
Posts: 6739
Joined: Wed Jun 13, 2018 7:49 am

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

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
Catalin
Posts: 6739
Joined: Wed Jun 13, 2018 7:49 am

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

You are always welcome!

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

Return to “Building Installers”