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

Using VS2022, buld with elease and Debug comiled binary

Fri Feb 23, 2024 1:36 pm

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: 6506
Joined: Wed Jun 13, 2018 7:49 am

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

Fri Feb 23, 2024 2:14 pm

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

Sat Feb 24, 2024 6:08 pm

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: 6506
Joined: Wed Jun 13, 2018 7:49 am

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

Fri Mar 01, 2024 10:44 am

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.17KiB)Viewed 1788 times
Screenshot_118.png
Screenshot_118.png (33.64KiB)Viewed 1788 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

Fri Mar 01, 2024 2:09 pm

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: 6506
Joined: Wed Jun 13, 2018 7:49 am

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

Fri Mar 01, 2024 2:45 pm

You are always welcome, Gianluca!

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

Return to “Building Installers”