Updater application error - 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!

CusterCounty
Posts: 10
Joined: Fri May 02, 2008 4:49 pm

Updater application error

I recently converted by development machine to Windows 7 64-bit and installed 12GB of memory. Now updater.exe with the /checknow starts but it then fails. Below are the messages from Windows Event Viewer:

Faulting application name: updater.exe, version: 2.1.0.0, time stamp: 0x4e2fca06
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0050c528
Faulting process id: 0x1398
Faulting application start time: 0x01cc665b6b270847
Faulting application path: C:\Program Files (x86)\Caphyon\Advanced Installer 8.3\bin\x86\updater.exe
Faulting module path: unknown
Report Id: a8d5c5aa-d24e-11e0-b005-0025648be0d1

This happens not only with my install packages but it also happens when you check for updates for Advanced Installer itself. I'm cuurently running 8.3 and I know 8.4 is waiting to come down but updater.exe won't run properly. Updater runs fine on 32-bit machines, just not on my 64-bit PC.

Thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater application error

Hello,

Can you please send us the .INI file next to the "updater.exe" so we can investigate it?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CusterCounty
Posts: 10
Joined: Fri May 02, 2008 4:49 pm

Re: Updater application error

I've attached the ini file in the C:\Program Files (x86)\Caphyon\Advanced Installer 8.3\bin\x86 directory and one of my updater.txt files from one of our VB applications. Both act in the same manner, when you run updater.exe /checknow, updater.exe starts (I can see it using Task Manager), runs for a few seconds, and then just ends without any messages. However, Event Viewer does record that the program failed as shown in the post above. If you need anything else, Let me know. Note that updater.exe /justcheck seems to work fine, that is it does return a zero return code indicating a new release is available. My application does a /justcheck first, then if it returns zero it does a /checknow. I have tried disabling my McAfee anti-virus and firewall protection but the results are the same. Thanks.
Attachments
updates.txt
One of my updater.txt files
(415 Bytes) Downloaded 248 times
updater.ini
Advanced installer updater.ini file
(370 Bytes) Downloaded 247 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater application error

Hello,

Unfortunately we cannot replicate this behavior on our test machines. Can you please share some other relevant information( installed programs, special settings, etc. ) about the machine?

Also, can you please test the package on other machines and see the outcome?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CusterCounty
Posts: 10
Joined: Fri May 02, 2008 4:49 pm

Re: Updater application error

After searching on the internet for a possible solution, I found one suggestion that I disable Data Execution Protection (DEP). I did this and updater.exe works now. I'm not thrilled with disabling DEP and so far I have been unable to find a way to disable it only for updater.exe (Vista and XP allowed you to do this but Windows 7 does not as far as I can determine). Perhaps this will give your developers some direction towards a solution. Here are my bcdedit /enum settings now:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Chuck.PANDZ>bcdedit /enum

Windows Boot Manager
--------------------
identifier {bootmgr}
device partition=\Device\HarddiskVolume1
description Windows Boot Manager
locale en-US
inherit {globalsettings}
default {current}
resumeobject {a183fe1e-bd45-11e0-93cc-e46143a08137}
displayorder {current}
toolsdisplayorder {memdiag}
timeout 30

Windows Boot Loader
-------------------
identifier {current}
device partition=C:
path \windows\system32\winload.exe
description Windows 7
locale en-US
inherit {bootloadersettings}
recoverysequence {a183fe20-bd45-11e0-93cc-e46143a08137}
recoveryenabled Yes
osdevice partition=C:
systemroot \windows
resumeobject {a183fe1e-bd45-11e0-93cc-e46143a08137}
nx AlwaysOff

C:\Users\Chuck.PANDZ>

Note the nx setting of AlwaysOff at the very bottom.

This error could also be caused by memory issues. I did try removing my new memory chips and that did not work and I ran memtest86 on all 12GB of memory and it did not shwo any memory errors. The issue seems to be DEP.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Updater application error

Hello,

Thank you for bringing this to our attention. I have discussed the issue with the development team and added an improvement on our TODO list. This improvement will consist in adding DEP support to the updater.

Meanwhile, can you please try to set DEP to OptIn? You can do so by executing the following command line from an elevated shell:

Code: Select all

bcdedit.exe /set {current} nx OptIn
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
CusterCounty
Posts: 10
Joined: Fri May 02, 2008 4:49 pm

Re: Updater application error

I changed to OptIn and updater.exe does work.

Return to “Common Problems”