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

Using VS2022, buld with elease and Debug comiled binary

Hi,

In my AI project I've created two build: Release and Debug. I've linket at Visual Studio 2022 the AI Debug with VS Debug and AI Release with VS Release.
This definition is important because in the VS Release i use an obfuscator, so I need to create an installer for debug scope and a Release setup with the production bynaries obfuscated.

This AI configuration is complete for my scope or i have to duplicate the binaryes for a Debug Features and Release Features and link them to Debug build and Release Build respectively ?

Thank's

Best regards,

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

Re: Using VS2022, buld with elease and Debug comiled binary

Hello Gian-Luca,

I'm afraid I do not quite understand your scenario.

If possible, could you please give me some more details (perhaps some screenshots of your configuration) so I can better understand and assist you?

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: Using VS2022, buld with elease and Debug comiled binary

Hi Catalin,

I,ve a vs2022 project and when i compilerò in release mode the binaries are dotffuscated. Using the AI plugin for VS i put the project"s output to the APPDIR but and i see that the file are resolved from the debugging output folder of VS, so if i have to build once with debugging binaries and then with the release ones, i've do something in AI or if i compile the AI project, it automatically get the correct binary source ? Ba,sed on the VS release or debug selection ?

Thank"s

Gianluca
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Using VS2022, buld with elease and Debug comiled binary

Hello Gianluca,

The files are added accordingly with how the Solution Configurations are set, either Debug or Release.
Screenshot_117.png
Screenshot_117.png (30.17 KiB) Viewed 10902 times
Screenshot_118.png
Screenshot_118.png (33.64 KiB) Viewed 10902 times

Hope this helps!

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: Using VS2022, buld with elease and Debug comiled binary

Hi Catalin,

Thank's for your reply.

I'm coming from another installer and this configuration was more complex, but with AI is very simple everything .

Thank's a lot for your aid

Gianluca
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Using VS2022, buld with elease and Debug comiled binary

You are always welcome, Gianluca!

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

Return to “Building Installers”