grahamjp
Posts: 3
Joined: Tue Mar 02, 2021 5:46 pm

Installer Project error with .aip file

Just added Advanced Installer extension ( 18.0 ) to VS2019 Community.

Have tried to add an installer project to my WPF solution but the .aip file is not being created properly ( empty file ) so an error occurs immediately you click on it. Have uninstalled and reinstalled AI but to no avail.
Catalin
Posts: 6598
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer Project error with .aip file

Hello and welcome to our forums,

I have tested this and everything worked as expected on my end.

Could you please give me some more details about the encountered error (maybe a screenshot)?

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
grahamjp
Posts: 3
Joined: Tue Mar 02, 2021 5:46 pm

Re: Installer Project error with .aip file

Hi Catalin

As mentioned I'm using Visual Studio 2019 Community.

I created a very simple WPF .Net Core 3.1 project with just a textblock on it.

Then from the solution tried to add a new Advanced Installer project. The attached screenshots show the selection process and the error when I clicked on the aip file.

I appreciate that when the AI project loads I should be looking at the Installer options but it just seems to add an empty aip file, which is very odd.
Attachments
03_AipError.jpg
03_AipError.jpg (69.91 KiB) Viewed 3484 times
02_ConfigureProject.jpg
02_ConfigureProject.jpg (38.98 KiB) Viewed 3484 times
01_SelectInstaller.jpg
01_SelectInstaller.jpg (51.74 KiB) Viewed 3484 times
Catalin
Posts: 6598
Joined: Wed Jun 13, 2018 7:49 am

Re: Installer Project error with .aip file

Hello,

This is indeed quite strange.

I have tried testing this once again and everything worked just fine on my end.

In order for us to further investigate this issue, could you please forward me the "ActivityLog.xml" file by e-mail at support at advancedinstaller dot com?


You can create this log file by following these steps:

- go to the location where Visual Studio is installed. Here, open a CMD prompt and launch VS as it follows:

Code: Select all

devenv.exe /log
OBS: You can get the location of VS as it follows:
  • open Visual Studio
  • in the taskbar, right click on it
  • in the menu, right click on "Visual Studio 2019" --> "Properties"
  • click on the "Open file location" button
- retake the steps

The log file can be found in the following location:

Code: Select all

%appdata%\Microsoft\VisualStudio\<VersionNumber>\ActivityLog.xml
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
grahamjp
Posts: 3
Joined: Tue Mar 02, 2021 5:46 pm

Re: Installer Project error with .aip file

Hi Catalin

All now resolved. There was clearly an issue with the original Windows installation because I've reinstalled and now I can add an installer project successfully.

Many thanks for your help.

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

Re: Installer Project error with .aip file

Hello Graham,

Thank you for your followup on this!

I am glad everything works as expected now.

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

Return to “Common Problems”