Steve Jackson Games - Site Navigation
Home General Info Follow Us Search Illuminator Store Forums What's New Other Games Ogre GURPS Munchkin Our Games: Home

Go Back   Steve Jackson Games Forums > Roleplaying > GURPS > GURPS Character Assistant

Reply
 
Thread Tools Display Modes
Old 11-28-2010, 03:52 PM   #1
Celjabba
 
Join Date: Sep 2006
Default EDIT: trouble with DEP (Data Execution Prevention)

Solved (see below)

Summary :
If a patched GCA crash on startup with windows 7, DEP is probably the problem.
Setting an exception for GCA does not always work, workaround below.

Celjabba

Last edited by Celjabba; 11-29-2010 at 01:53 PM. Reason: Solved.
Celjabba is offline   Reply With Quote
Old 11-28-2010, 04:02 PM   #2
panton41
 
panton41's Avatar
 
Join Date: Jul 2005
Location: Jeffersonville, Ind.
Default Re: Problem installing GCA under windows 7

I've never had a problem with installing or running GCA on Windows XP 32-bit and 64-bit, Windows Vista 32-bit, Windows 7 32-bit and 64-bit and WINE (with the proper DLLs installed and settings made) under 32-bit and 64-bit Linux of various flavors.

The two big things I would look are are 1) GCA requires a printer to be configured and 2) importing many settings from old installs can lead to strange behaviors.

Another problem that's much more rare could be a software conflict. I've installed that VB6 based programs for school that upon ending the class and uninstalling the programs ended up breaking GCA. That's a problem I couldn't fix at the time since VB6 runtimes are pretty much an "out of the box" install on Windows and they simply didn't offer a way to install stand-alone libraries intended for Windows 2000 users onto a modern 64-bit system.
__________________
The user formerly known as ciaran_skye.

__________________

Quirks: Doesn't proofread forum posts before clicking "Submit". [-1]

My ebook page.

Quote:
"My mace speaks Goblin." Antoni Ten Monros

Last edited by panton41; 11-28-2010 at 04:09 PM.
panton41 is offline   Reply With Quote
Old 11-29-2010, 04:13 AM   #3
Celjabba
 
Join Date: Sep 2006
Default Re: Problem installing GCA under windows 7

Quote:
Originally Posted by ciaran_skye View Post
I've never had a problem with installing or running GCA on Windows XP 32-bit and 64-bit, Windows Vista 32-bit, Windows 7 32-bit and 64-bit and WINE (with the proper DLLs installed and settings made) under 32-bit and 64-bit Linux of various flavors.

The two big things I would look are are 1) GCA requires a printer to be configured and 2) importing many settings from old installs can lead to strange behaviors.

Another problem that's much more rare could be a software conflict. I've installed that VB6 based programs for school that upon ending the class and uninstalling the programs ended up breaking GCA. That's a problem I couldn't fix at the time since VB6 runtimes are pretty much an "out of the box" install on Windows and they simply didn't offer a way to install stand-alone libraries intended for Windows 2000 users onto a modern 64-bit system.
-I have a printer configured
-As far as i know, i deleted every copies of gca.ini and in fact every files and folders created by gca between each attempts.

A VB6 conflict is possible, but how can i check for it ?
Could someone here interpret the appcrash report if i posted it ?

Celjabba
Celjabba is offline   Reply With Quote
Old 11-29-2010, 04:22 AM   #4
panton41
 
panton41's Avatar
 
Join Date: Jul 2005
Location: Jeffersonville, Ind.
Default Re: Problem installing GCA under windows 7

Quote:
Originally Posted by Celjabba View Post
-I have a printer configured
-As far as i know, i deleted every copies of gca.ini and in fact every files and folders created by gca between each attempts.

A VB6 conflict is possible, but how can i check for it ?
Could someone here interpret the appcrash report if i posted it ?

Celjabba
Check under the hidden AppData folder in your User directory. There's a Steve Jackson Games folder in Roaming, I think. If you've gotten that then never mind.

I've never tried for Windows v 64-bit, but see if downloading vb6runtimes helps. You might want to uninstall GCA again before running it since it also installs some of its own packages.

I'm not the GCA programmer or an official support person, but a crashlog might help. If anything it could say what is causing the crash to happen. Actual debug output would be nice, but that's probably not possible.
__________________
The user formerly known as ciaran_skye.

__________________

Quirks: Doesn't proofread forum posts before clicking "Submit". [-1]

My ebook page.

Quote:
"My mace speaks Goblin." Antoni Ten Monros
panton41 is offline   Reply With Quote
Old 11-29-2010, 01:02 PM   #5
Celjabba
 
Join Date: Sep 2006
Default Re: Problem installing GCA under windows 7

Update : it work IF i disable DEP (Data Execution Prevention) for non-windows program.

I was following the FAQ and setting an exception for GCA - this, in my case, don't work.
Disabling DEP for non-windows executable allow me to update GCA and to run it without trouble.

Of course, disabling security feature is not something I like.

So, i guess my question become : Does someone know a working way to set an DEP exception for GCA under windows 7-64, since the FAQ way does not work for me .

Thanks

Celjabba
Celjabba is offline   Reply With Quote
Old 11-29-2010, 01:14 PM   #6
ericbsmith
 
ericbsmith's Avatar
 
Join Date: Aug 2004
Location: Binghamton, NY, USA. Near the river Styx in the 5th Circle.
Default Re: Problem installing GCA under windows 7

Quote:
Originally Posted by Celjabba View Post
Disabling DEP for non-windows executable allow me to update GCA and to run it without trouble.

Of course, disabling security feature is not something I like.
Note that by default Windows does not enable DEP for all programs, only for Windows Executable. You're not really disabling a security feature here, you're just unable to use an extra security feature which has some compatibility issues (which is why it's not enabled by default). Not that you shouldn't be able to use the feature, but it's not strictly necessary.

Quote:
Originally Posted by Celjabba View Post
So, i guess my question become : Does someone know a working way to set an DEP exception for GCA under windows 7-64, since the FAQ way does not work for me.
I haven't looked into DEP in a while; I'll see if I can mess around with it later. You should be able to create a specific exception; I know I did it in both XP and Win7 without issue.
__________________
Eric B. Smith GURPS Data File Coordinator
GURPSLand
The future keeps telling us what the past was about. You make the past mean different things by what you do with the time that comes after.
ericbsmith is online now   Reply With Quote
Old 11-29-2010, 01:49 PM   #7
Celjabba
 
Join Date: Sep 2006
Default Re: Problem installing GCA under windows 7

SOLVED ! Victory.

All hail the mighty google :)

So....

When you set a DEP exception, you actually create a registry entry in

hkey_local_machine\software\microsoft\windowsNT\cu rrentversion\appcompatflags\layers

wich have the .exe path as name and DisableNXShowUI as value.

BUT

If you crashed the application before that, windows in some case create a key with value disableusercallbackexception. Same name, same emplacement.
(apparently, this is a windows attempt to prevent further crash. or it may be linked to compatibility mode. not sure.)
If that key exist, the DEP exception cannot be written, and does not work.
(but appear as valid in the exception list)
Deleting the disableusercallbackexception registry entry and then setting the DEP exception work.

Perhaps this may help someone else ?
If not, any moderator may delete this thread :)

Celjabba

Last edited by Celjabba; 11-29-2010 at 02:16 PM.
Celjabba is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Fnords are Off
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:25 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2018, vBulletin Solutions, Inc.