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!

MichaelEngstler
Posts: 1
Joined: Mon May 08, 2017 6:01 pm

Simple x86/x64 Installer

Hi,
I have a question regarding a simple situation, I have a Visual Studio solution with:
A. Simple C project called Test, which outputs a file called "Test.exe".
B. Advanced Installer Project.

I would like to add to the "Application Folder" under "Files and Folders" the Test.exe output.
The problem is that it seems that the path is always absolute, and I need it to be relative to the current build platform.
When building to x86, the output path should be C:\Test\Release\Test.exe
When building to x64, the output path should be C:\Test\x64\Release\Test.exe

I want the active build platform in visual studio to affect the location that Test.exe is taken from.

Would appreciate any help,
Thanks in advance.
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Simple x86/x64 Installer

Hello and welcome to our forum!

If you add the files by selecting "Add Project Output" in Advanced Installer project in Visual Studio, the default behaviour is exactly the one that you mentioned. The output source file path will be changed according to the build type in Visual Studio.

However, we have tested your scenario and we can confirm that there is a UI bug. The output source file path is changed accordingly to build type, but this change is not displayed properly in Advanced Installer Visual Studio project. If you select [Edit in Advanced Installer] option you will see the correct path when the project is opened in Advanced Installer. A fix for this UI issue will be available in a future version of Advanced Installer, thank you for bringing it to our attention.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Simple x86/x64 Installer

Hello,

This was fixed in version 14.1 of Advanced Installer released on June 30th, 2017.

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

Return to “Building Installers”