loganips
Posts: 22
Joined: Wed Jun 17, 2015 6:26 pm

WinCE project crashing when opening Files and Folders section

Fri Jun 14, 2019 9:50 pm

Hello,

I am working with a Windows CE project to create a cab file for distributing our software on WinCE devices. I am using version 16.0 of Advanced Installer for this project.

I have run into an issue that prevents me from opening the 'Files and Folders' section of the Advanced Installer editor. It seems that after adding a few folders and after reopening the project, opening the 'Files and Folders' section causes the editor to crash.

I am attaching an Advanced Installer project that causes this issue to occur. Upon opening the project and clicking the 'Files and Folders' section an error message should be shown. Below is the text of the error message I see when this occurs.

Code: Select all

[EXCEPTION_UNHANDLED] (0xc0000005) at address [0x00c2e643]

Advanced Installer 16.0 build b004008e
*** Stack Trace (x86) ***

[0x00c2e643]  -----
[0x69c94c76]  TaskDialogIndirect()
[0x69bf01b9]  DPA_Search()
[0x69bfce38]  DPA_Sort()
[0x69c95c79]  TaskDialogIndirect()
[0x69c6ad4e]  TaskDialogIndirect()
[0x756abf1b]  AddClipboardFormatListener()
[0x756a83ea]  DispatchMessageW()
[0x756a7f8a]  DispatchMessageW()
[0x756aa6d9]  SystemParametersInfoW()
[0x77d0cd3d]  KiUserCallbackDispatcher()
[0x7568bc57]  SendMessageW()
[0x017e8bc9]  -----
[0x017e8b8e]  -----
[0x015b2e54]  -----
Any solutions to this issue would be greatly appreciated. Let me know if you have any questions.

Thanks,
Logan
Attachments
ErrorProject.aip
(1.06KiB)Downloaded 211 times

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

Re: WinCE project crashing when opening Files and Folders section

Tue Jun 18, 2019 3:42 pm

Hello Logan,

Thank you for sharing the test project with us.

I was indeed able to reproduce the behavior using the sent project.

I can not say for sure why this happens. We will further investigate this on our side and as soon as I will come to a conclusion, I will let you know.

Also, I have tried to reproduce the same issue in a newly created project but I was not able to do so. Could you please give me a step-by-step which I can follow to reproduce such a behavior?

Looking forward to hearing from you.

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

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

Re: WinCE project crashing when opening Files and Folders section

Wed Jun 19, 2019 10:44 am

Hello Logan,

We have further investigated this, but unfortunately we couldn't find anything useful in the sent stack trace.

If you can consistently replicate this error, it would be really useful for us if you could isolate this into a small test case which I can follow in order to reproduce this. I am asking for a test case mainly because I have tried to reproduce the issue on our side, but I was unable to do so.

I have also tried to investigate the sent project, but I could not see anything wrong with it (beside the crash that is happening when you change the view to "Files and Folders").

I am afraid that the only way in which I can further assist you is me being able to reproduce the issue in a newly created project.

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

loganips
Posts: 22
Joined: Wed Jun 17, 2015 6:26 pm

Re: WinCE project crashing when opening Files and Folders section

Fri Jun 21, 2019 8:44 pm

Hello Catalin,

Here are the steps I took in creating the project that I sent in my original post.

1. Create the project by using the following command

Code: Select all

"C:\Program Files (x86)\Caphyon\Advanced Installer 16.0\bin\x86\AdvancedInstaller.com" /newproject "C:\TestProject.aip" -type win-ce
2. Open the project and go to the Files and Folders section
3. Under the "Device Root" path, create a new folder named "Test".
4. Under the newly created "Test" folder create two more folders called "1" and "2". Make sure the "1" and "2" folders are both in the "Test" folder. If they are not this error will not occur.
5. Save the project, then close and reopen it.
6. Click the Files and Folders section and the error message should appear.

Let me know if you have any other questions.

Thanks,
Logan

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

Re: WinCE project crashing when opening Files and Folders section

Fri Jun 28, 2019 12:40 pm

Hello Logan,

Thank you for your followup on this.

I will further investigate this scenario and will get back to you with what I have found.

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

Return to “Common Problems”