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!

AdvancedTom
Posts: 6
Joined: Wed Aug 28, 2019 4:08 pm

Multiple builds with different resource files in one project

Hello, experts,

I need some help with my project.

Following situation:
I have a project and I want to create multiple builds with different resource files for each build.

Is this possible with Advanced Installer?

I have tried to create build events to copy files, but that doesn't work for me because the specific file I want to change for each build can be installed in different paths.
The path for the file I want to change can be adjusted during setup, so it is not possible to copy the file to a static folder/path.

I tried to use a variable in the argument field of a build event, but that doesn't work.
I created a search property to check the path from the registry. This search works because a registry entry for the path will created during setup:
search_success.jpg
search_success.jpg (78.66 KiB) Viewed 9243 times

But the result of the variable remains empty when I use the variable for a build event or an installation parameter:
build_event.jpg
build_event.jpg (57.59 KiB) Viewed 9243 times
What am I doing wrong?
I hope I could explain my problem and you can help.

Thanks a lot for everything.

Greetings
tom
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Multiple builds with different resource files in one project

Hi Tom,

I replied you on "One project with different resource files for different builds" forum thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
AdvancedTom
Posts: 6
Joined: Wed Aug 28, 2019 4:08 pm

Re: Multiple builds with different resource files in one project

Thank you for your competent help. Excellent!

viewtopic.php?f=2&t=40489
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Multiple builds with different resource files in one project

You are always welcome, Tom.

We're glad you got this working.

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

Return to “Common Problems”