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!

IvanKasyanov
Posts: 10
Joined: Wed Jan 29, 2020 9:06 am

Relative paths

Hello!

Because of multi-user project I need to use relative paths in my project, but it looks like, that Advanced Installer do not create it but default. For example, I have this files:
1) C:\Repository\MyProject\AdvancedInstaller\MyProject.aip
2) C:\Repository\MyProject\Resources\Logo.ico
3) C:\Repository\MyProject\Certificates\Certificate.pfx

Advanced Installer converted (2) and (3) to "<WindowsVolume>Repository\MyProject\Resources\Logo.ico" and "<WindowsVolume>Repository\MyProject\Certificates\Certificate.pfx". But it is not relative: another user can clone project to another directory ("D:\Projects\MyProject", for example), so I need something like this: "<ProjectPath>..\Resources\Logo.ico".
How can I get this? Thank you!

P.S. Both of of this files (Logo.ico and Certificate.pfx) have not to get into the target installation directory: it is resources for Advanced Installer project.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Relative paths

Hello Ivan,

Let's consider you have the following directory:

YourFolder:

  • Resources

  • Certificates
If you want the paths to be saved relative to the ProjectPath, please save your .AIP file in the "YourFolder" directory.
Hope this helps.

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

Return to “Building Installers”