Access Violation error on various AI functions - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

shelmers
Posts: 63
Joined: Thu Sep 03, 2009 9:02 pm
Location: Andover, Massachusetts USA

Access Violation error on various AI functions

Last week I started getting an access violation error when trying to use various functions of AI 7.2. I just installed 7.5 and have the same problem. The error dialog is below.

The error occurs when I try to do various things, such as:
  • click on Installation Parameters
  • change the product name
Once the error occurs it then occurs when I try to do anything else, including end the program. The only way to end AI is by using Task Manager.

Is this evidence of corruption in my aip file or is there some other problem? Suggestions??

Thanks,
Scott
Attachments
AI access violation dialog.jpg
AI access violation dialog.jpg (78.19 KiB) Viewed 6822 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Access Violation error on various AI functions

Hi Scott,

I'm not sure why this happens. Can you please send us the .AIP (project) file with the problem to support at advancedinstaller dot com so we can investigate it?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shelmers
Posts: 63
Joined: Thu Sep 03, 2009 9:02 pm
Location: Andover, Massachusetts USA

Re: Access Violation error on various AI functions

Thanks. File sent to support email address.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Access Violation error on various AI functions

Hi Scott,

It seems that the registry entries used by the custom "Add or Remove Programs" name were placed under the wrong hive. I'm not sure how this happened. Do you remember by any chance what you did before you started receiving the error?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shelmers
Posts: 63
Joined: Thu Sep 03, 2009 9:02 pm
Location: Andover, Massachusetts USA

Re: Access Violation error on various AI functions

Thanks for the repaired file, Cosmin -- I can once again navigate through the pages and make changes without a problem. I appreciate your very prompt service.

I wish I could remember what I did just before the file began to fail, but unfortunately I don't recall.

There is one other odd thing going on, and this has been happening since before the corruption arose. You'll notice that I have an uninstall shortcut in the application shortcut folder. However, uninstall does not appear on the shortcut menu. This is true on XP, Vista and Win 7. The shortcut properties in the aip are the same as those in other installers I've created. Is there something I need to do differently here?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Access Violation error on various AI functions

Hi,

I noticed that the uninstall shortcut is placed in a component which has a condition. Perhaps the component is not installed. To avoid this you can try the following:
- right-click the uninstall shortcut
- use the "Go To Component" context menu item
- expand the component by clicking the "+" sign next to it
- move the shortcut resource into a component which is always installed (for example SHORTCUTDIR)
- rebuild your project

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
shelmers
Posts: 63
Joined: Thu Sep 03, 2009 9:02 pm
Location: Andover, Massachusetts USA

Re: Access Violation error on various AI functions

Excellent, thanks. I didn't think to check the component list. I must admit that the rules used to assign item to components are a bit mysterious to me. Sometimes the assignments seem logical, sometimes there seems to be no logic. Is there help text or another description about how this is done?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Access Violation error on various AI functions

Hi,

Advanced Installer creates components by following the Windows Installer best practices. However, the uninstall shortcut is placed in a random component. We will try to improve this behavior in the future.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”