PDA

View Full Version : Error 5 Back again



NewsArchive
09-15-2011, 01:05 AM
Keep getting an error 5 on a different file each time I compile. Windows 7
with AVG Free.

Any more thoughts?

--
Lynn Howard
Linked Software
www.linkedsoftware.com

NewsArchive
09-15-2011, 01:06 AM
OK I disabled AVG temporarily and got a good compile. Can't see any way to
exclude SB from the check though. :-(

Lynn Howard

NewsArchive
09-15-2011, 01:06 AM
Lynn,

> OK I disabled AVG temporarily and got a good compile. Can't see any way to
> exclude SB from the check though. :-(

I use AVG but not the free version. Does it have a menu for
"Tools|Advanced Settings..."?

If it does go to Resident Shield and Excluded Items and add the
drive:\path for SB.

If it doesn't... never mind!<g>

--
Lee White

RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
RPM Review........: http://www.clarionmag.com/cmag/v11/v11n06rpm.html
Report Faxing.....: http://www.cwaddons.com/products/afe/
---Enroll Today---: http://CWaddons.com

Enhanced Reporting: http://www.cpcs-inc.com


Product Release & Update Notices
http://twitter.com/DeveloperPLUS

NewsArchive
09-15-2011, 01:06 AM
Lee you are a smart old geezer.

I think you solved my problem.

Thanks!

Lynn

NewsArchive
09-15-2011, 01:07 AM
No go! Still happening. I excluded the SetupBuilder Folder, The folders
where my exe's are stored for processing, and the SB project folder.

;-(

Lynn Howard

NewsArchive
09-15-2011, 01:07 AM
It seems nothing short of disabling AVG does the trick. When I do that it
runs through with no errors.

Lynn Howard

NewsArchive
09-15-2011, 01:08 AM
Hi Lynn,

> It seems nothing short of disabling AVG does the trick. When I do that it
> runs through with no errors.

I would suggest to report this bug to AVG so they can fix it in their
system. Disabling a virus protection product seems not to be the best
solution <g>.

Friedrich

NewsArchive
09-16-2011, 12:45 AM
I think you may be correct. <G>

I'll report it to AVG thought you'd have more clout though. That's why I
haven't done it yet.

Thanks for all your help!

Lynn

NewsArchive
09-16-2011, 12:45 AM
This morning's AVG update seemed to have solved the problem. Keeping my
fingers crossed.

Thanks!

Lynn

NewsArchive
09-16-2011, 12:45 AM
> This morning's AVG update seemed to have solved the problem. Keeping my
> fingers crossed.

Wow, that would be cool! Please keep us posted.

Friedrich

NewsArchive
09-16-2011, 12:45 AM
Started failing again.

Both times it compiled all the way through (short of disabling AVG) it was
immediately after a reboot.

AVG suggested putting the files in the PUP folder. That didn't help.

Just rebooted an it compiled all the way with no errors thus my false
conclusion it was the new AVG. Beats turning AVG off.

Really puzzling as the file that causes the error is seemingly selected at
random.

Sorry to be such a pest because it's not IMO a SB problem.

Lynn

NewsArchive
09-16-2011, 12:46 AM
Hi Lynn,

AVG is, well, let's say how it is, "buggy". Not over-protective in this
case, but simply buggy.

Unfortunately, there is absolutely nothing that we can do because it's not
caused by SB at all :-(

Friedrich

NewsArchive
09-16-2011, 12:47 AM
I'm using the paid for version and I certainly don't get this issue.

--
Russell B. Eggen
www.radfusion.com

NewsArchive
09-16-2011, 12:47 AM
Thanks for responding Russ.

I'm wondering if something could be amiss on my W7 computer. It's strange
that I get no AVG notification of an error. Particularly since no-one else
is seeing this.

What is really going on when a program is being manifested?

Lynn

NewsArchive
09-16-2011, 12:48 AM
What's really going on is that a chunk of XML is getting embedded at the end
of the .exe. So the .exe is getting modified, and an A/V product could find
that suspicious behavior.

Obviously, you don't want to do this more than once. So skip if already
manifested is a good idea. And you can specify whether SB inserts the
manifest "permanently".

Because the manifest is changing the .exe, obviously you need to embed it
prior to code-signing (which verifies that the .exe hasn't been modified).

(You might want to peruse some of the brilliant discourse in the section on
Manifests in "Learning SetupBuilder Part I" <g> )

If you want to look at a manifest inside an app (yours or someone else's),
download the free XN Resource Editor:
http://www.wilsonc.demon.co.uk/d10resourceeditor.htm

Jane

NewsArchive
09-16-2011, 12:48 AM
Thanks Jane. I'll look into this further. This install has been running
for many years with changes from time to time.

What I have SB do is take the "raw" exe's from a folder, copy them to Vista
and XP folders. Then I treat the Vista and XP files appropriately.

What is strange is the random nature file causing the error. Go figure. ;-(

Lynn

NewsArchive
09-16-2011, 12:49 AM
Why do you need separate Vista and XP files?

Jane Fleming

NewsArchive
09-16-2011, 12:50 AM
I understand Friedrich.

Lynn

NewsArchive
09-18-2011, 07:48 AM
Hi Jane,

This goes back to an old and problem with MakeOver and Vista Manifested apps
for an older version of Clarion.

Yes I know the benefits of upgrading Clarion but that's a whole other
discussion and not feasible in my situation.

In any case this isn't an issue IMO with the error 5.

The current issue as I see it is why the build will compile after rebooting
and won't compile any other time with AVG enabled. If everything worked as
planned life wouldn't be so interesting would it? ;-)

Thanks for your help.

Lynn

NewsArchive
09-18-2011, 07:48 AM
Makes sense. Thanks for explaining, Lynn.

Jane

NewsArchive
09-18-2011, 07:49 AM
It's been a while since anyone said I "made sense". ;-)

Lynn Howard

NewsArchive
09-18-2011, 07:49 AM
I'm blonde. Don't take it personally <g>

jf