baruchi
Posts: 15
Joined: Tue Aug 25, 2020 7:51 pm

Choose advanced installer version to use with VS

Sun May 22, 2022 11:17 am

Hi,
I've been using version 17 with VS on my C# project for some time and decided to checkout the new version -19.4.
I installed 19.4 along the old 17 version.
How do I make VS open the new version on Advanced installer and not 17?

I want note that on VS options for advanced installer, I specified the NEW installer path for "C:\Program Files (x86)\Caphyon\Advanced Installer 19.4\bin\x86\advinst.exe", however, when I click the projects .aip file it still launched version 17.4.


Thanks

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

Re: Choose advanced installer version to use with VS

Wed May 25, 2022 3:34 pm

Hello,

Unfortunately, it is not quite clear for me what your scenario is.

If possible, could you please give me a test-case which I can use to reproduce this on my end?

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

baruchi
Posts: 15
Joined: Tue Aug 25, 2020 7:51 pm

Re: Choose advanced installer version to use with VS

Wed May 25, 2022 4:37 pm

I have to version of AI installed, 17.4 &19.4.
I use the new Visual Studio extension which point to version 19.4.
I guess that for new installer it will use version 19.4.
My case is that my current installer project was generated in version 17.4 and when i click to open Ai from within VS, it open AI 17.4.
I want it to open VS 19.4.

Is that clearer?

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

Re: Choose advanced installer version to use with VS

Thu May 26, 2022 11:49 am

Hello,

Thank you for the explanation. Your scenario is indeed clearer for me now.

I believe this might be an issue on our side, indeed, more specifically with how we choose the version of Advanced Installer to open the project with.

Could you please try to proceed as it follows and let me know if that helps:

- make a backup copy of the project first

- open your project with the 19.4 version

- save the project with version 19.4

- retry the scenario

Hope this helps!

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

baruchi
Posts: 15
Joined: Tue Aug 25, 2020 7:51 pm

Re: Choose advanced installer version to use with VS

Thu Jun 09, 2022 10:52 am

Hi,
I Tried you solution and it worked for a while.
After restarting my PC the project was unloaded form VS and i get this error:

Retrieving the COM class factory for component with CLSID {478E872F-CA78-459B-9382-F2A25A255C37} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

I tried to clean the solution and reload the AI project several times without any success.

What should I do?

baruchi
Posts: 15
Joined: Tue Aug 25, 2020 7:51 pm

Re: Choose advanced installer version to use with VS

Thu Jun 09, 2022 11:27 am

Updating to 19.5 solved it for now

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

Re: Choose advanced installer version to use with VS

Thu Jun 09, 2022 5:57 pm

Thank you for your followup on this!

Glad to hear it works as expected now.

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

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

Re: Choose advanced installer version to use with VS

Tue Jun 21, 2022 9:10 am

Hello,
My case is that my current installer project was generated in version 17.4 and when i click to open Ai from within VS, it open AI 17.4.
I want it to open VS 19.4.
I have discussed this with the developer and it looks like our VS extensions will try to open your project with the version it was created (if possible - i.e. if it is present on the machine). If that is not possible, we will try to open it using the latest version of Advanced Installer that is installed on the machine.

This is done mostly to avoid unwanted project upgrades, because once the project is opened and edited in a newer version, it can no longer be opened in a previous version, unless you backup the project.

So, for instance, if you have a project created with version 19.0 and then open it with version 19.5 and edit it, you can no longer open it back with the 19.0 version.

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

Return to “Common Problems”