lionelsiu
Posts: 19
Joined: Fri Jul 26, 2013 4:11 am

put files into [Manufacturer] folder

My APPDIR is set to [ProgramFilesFolder][Manufacturer]\[ProductName], so how can I put files into [ProgramFilesFolder][Manufacturer]?

Thank you!
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: put files into [Manufacturer] folder

Hello,

In order to achieve that you can go in the Install Parameters page, and in the "Application Folder:" field type:

Code: Select all

[ProgramFilesFolder][Manufacturer]
If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
lionelsiu
Posts: 19
Joined: Fri Jul 26, 2013 4:11 am

Re: put files into [Manufacturer] folder

Thanks for your kindly reply!
Is it possible to do without modifying the APPDIR location? Since I have a lot of stuff related to APPDIR now and editing it will cost a lot of effort.
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: put files into [Manufacturer] folder

Hello,

In the Application Folder field you can specify the default path for the installation folder. This path is stored in the APPDIR property.

Please keep in mind that the APPDIR property is referenced by Formatted data types and are solved at runtime.
So, the properties that can be used inside Formatted Type fields with the format [PROPERTY] they will be replaced at install time with the value associated with the property's name.

In your case whenever is the [APPDIR] it will be replaced with the related value from the “Install parameters” page, the “Application Folder”: [ProgramFilesFolder][Manufacturer]

If you have any questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”