Can't Save .aip file in VS 2012 - Advanced Installer Community
gainesj
Posts: 4
Joined: Wed Jul 31, 2013 6:10 pm

Can't Save .aip file in VS 2012

Problem description - When I add a new Advanced Installer Project in VS 2012 Ultimate (v 11.0.60610.01 Update 3), I'm immediately presented with a File Save As dialog that is asking me to save the project's newly created .aip. If I click Save, then I get a Visual Studio error dialog stating "One or more errors have occured". If I cancel out of the dialog, I can see the .aip designer in VS 2012, but any time I try to save changes to the file I get the same dialog and error message. This is Advanced Installer 10.3.

How to reproduce ?

1.) Open a VS 2012 Solution

2.) Add an Advanced Installer Project to the solution

3.) You should immediately see a Save As dialog asking you to save the .aip file of the project you just created.

4.) Click Save

5.) See Visual studio error message "One or more errors have occurred"

Install log and screen shots attached.
Attachments
Error message after I click Save
Error message after I click Save
error.PNG (17.59 KiB) Viewed 14811 times
Save As dialog
Save As dialog
save-as.PNG (95.25 KiB) Viewed 14811 times
advinst.zip
Advanced Installer installation log file
(301.9 KiB) Downloaded 687 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can't Save .aip file in VS 2012

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

This seems to be an Advanced Installer issue. A fix will be available in the next version of Advanced Installer, thank you for bringing it to our attention.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gainesj
Posts: 4
Joined: Wed Jul 31, 2013 6:10 pm

Re: Can't Save .aip file in VS 2012

Hi, Dan.

Thanks for the reply. Do you have an idea when the next version might be out?

We're doing the 30 day evaluation right now, and it's a little hard for us to do it without this feature working. :)

I'd be happy to help beta test any fixes you might be working on.

Thanks!

Jamie
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can't Save .aip file in VS 2012

Hello Jamie,

The next version of Advanced Installer containing this fix will be available soon( about two weeks).

If your Advanced Installer trial period has expired, then you can install Advanced Installer on another machine (even virtual machine) to benefit of another 30 days trial period. Also, if you don't have another machine, then we can offer you an extension trial period. In order to obtain this please contact us at support at advancedinstaller dot com.

If you have any questions let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mmangels
Posts: 4
Joined: Thu Aug 08, 2013 10:37 am

Re: Can't Save .aip file in VS 2012

Hey,

Any update on this issue ? Is the patch still scheduled for this week ?

Kind regards,

Michael
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can't Save .aip file in VS 2012

Hello Michael,

Indeed, the new version of Advanced Installer will be available in a couple of days/ this week.

I'll let you know when the release will be done.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gainesj
Posts: 4
Joined: Wed Jul 31, 2013 6:10 pm

Re: Can't Save .aip file in VS 2012

Any update on this?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can't Save .aip file in VS 2012

Hello,

Unfortunately, the release of our next version of Advanced Installer has been postponed. However, it should be out until the end of this week.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
gainesj
Posts: 4
Joined: Wed Jul 31, 2013 6:10 pm

Re: Can't Save .aip file in VS 2012

Hi, Daniel.

Thanks for the update. I'll be looking forward to the release. We're quite interested in evaluating the product.

Cheers,
Jamie
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can't Save .aip file in VS 2012

Hi Jamie,

This was fixed in version 10.5 of Advanced Installer released on September 02, 2013.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kost
Posts: 9
Joined: Tue Jun 04, 2013 9:40 pm

Re: Can't Save .aip file in VS 2012

I was having this error in 10.3. I updated today to 10.5 and was no longer getting the immediate prompt to save the aiproj. After making changes to the aiproj(I added a few new AIP files) and then trying to build my solution I was then prompted to save my aiproj changes which makes sense.

So I click through to overwrite my aiproj file with the new one and I then get the error again:
"Object reference not set to an instance of an object"

Update***
This issue actually occurs if you delete the default AdvancedInstaller.aip file that gets generated when you initially add the AI project to the solution. I tested this out by deleting the AI project and adding a new one again to my solution but did not delete the aip file this time and was able to save without problems.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can't Save .aip file in VS 2012

Hello,

I've tested your scenario, but I wasn't able to replicate the behavior. Can you please give us a more detailed step by step test case scenario so we can try to replicate and investigate this?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Kost
Posts: 9
Joined: Tue Jun 04, 2013 9:40 pm

Re: Can't Save .aip file in VS 2012

Steps that I was able to reproduce with:

1) Add AI project to solution
2) Add an existing .aip file to AI project (I copied a .aip file I had backed up into the Advanced Installer folder and then added the existing item through VS)
3) Delete the AdvancedInstaller.aip file
4) Build VS solution
5) Will get prompted to save the .aiproj
6) Click Yes to overwrite the file at which point you will get the error.

I am currently not getting the issue but if you still cant reproduce I can re-do the test on my machine and send you any files you will need to track down the issue.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can't Save .aip file in VS 2012

Hello Ian,

I've tested this scenario, and indeed I can reproduce the issue. A fix for it will be available in a future version of Advanced Installer, thank you for bringing this to our attention.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Can't Save .aip file in VS 2012

Hello Ian,

This was fixed in version 10.6 of Advanced Installer released on September 30, 2013.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”