Welcome, Register for free! or Login below:
EduGeek.net RSS Feeds Register FAQ Members Social Groups User Map Calendar Search Today's Posts Mark Forums Read

Educational Software

Educational software forum sponsored by
Educational software forum Sponsored by Smart Tech

Having a problem with the high quality code which populates most educational software titles? Post it here for either a solution, or sympathy from a fellow sufferer.

Go Back   EduGeek.net Forums > Technical > Educational Software
Reply
 
LinkBack Thread Tools Search Thread
Sponsored Links
Old 19-11-2009, 10:21 PM   #1
 
mcattini's Avatar
 
Join Date: Nov 2009
Location: Bournemouth
Posts: 4
uk uk dorset
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 mcattini is an unknown quantity at this point
Default Software Installation Advice

Hi

I'm having a problem with a piece of software I developed, specifically, the part of it the manages the licensing, which is the only bit that creates registry entries. The software is an Access 2002 database deployed with Access runtime

In a nutshell I have a school who when they install the software on a computer running Windows XP Pro and logged in as Administrators it installs fine and starts up as expected. When I then log onto the computer as an XP User the licensing check fails (i.e. there is a problem with the software's registry entry). When I go back and login as an administrator it is fine.

The school uses a Windows Server 2003 with 'Vanilla' configuration and has 3 groups set-up Admin, Users, and Staff and has Windows XP Pro on their computers.

I strongly suspect that there is an issue with security policies affecting the registry. I'm assuming from looking some of the posts on here many of you have experienced similar installation problems.

Could anyone point me in the direction of:

1: what might cause such problems and steps I could take to check possible causes
2: what steps I can take to check any suggested causes
3: workable solutions to them

Thanks

Marc
  Reply With Quote
Old 19-11-2009, 10:33 PM   #2
 
sted's Avatar
 
Join Date: Mar 2009
Location: Doncaster/Leeds
Posts: 594
uk uk yorkshire
Thanks: 20
Thanked 87 Times in 80 Posts
Rep Power: 22 sted is a name known to all sted is a name known to all sted is a name known to all sted is a name known to all sted is a name known to all sted is a name known to all
Default

can ANY administrator run it or just the one who installed it?
  Reply With Quote
Old 19-11-2009, 10:54 PM   #3
 
mcattini's Avatar
 
Join Date: Nov 2009
Location: Bournemouth
Posts: 4
uk uk dorset
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 mcattini is an unknown quantity at this point
Default

I'll need to check if any Administrator can run it or only the one who installed it with the school and get back here with the result.

What's your line of thinking here sted and you'll have to be gentle as area of expertise does not encompass the Windows registry, Newtork Configuation, XP User Profiles etc. I'm more at home desiging databases and writing code.
  Reply With Quote
Old 19-11-2009, 11:10 PM   #4
 
p858snake's Avatar
 
Join Date: Dec 2008
Location: Queensland
Posts: 650
australia au queensland
Thanks: 12
Thanked 64 Times in 54 Posts
Blog Entries: 2
Rep Power: 21 p858snake is a glorious beacon of light p858snake is a glorious beacon of light p858snake is a glorious beacon of light p858snake is a glorious beacon of light p858snake is a glorious beacon of light p858snake is a glorious beacon of light
Default

my first guess without knowing more, is that its putting the license in the users registry compared to the system one.
  Reply With Quote
Old 19-11-2009, 11:42 PM   #5
 
mcattini's Avatar
 
Join Date: Nov 2009
Location: Bournemouth
Posts: 4
uk uk dorset
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 mcattini is an unknown quantity at this point
Default

Looking on my laptop where it is installed the registry keys are created in company_name\application_name sub folders of both HKEY_CURRENT_USER\Software and HKEY_LOCAL_MACHINE\SOFTWARE.

At the risk of sounding dim, where do I look for the system registry?

It works fine on my laptop I can log on as any Administrator or User. However, I am not hooked up to a Windows 2003 server.
  Reply With Quote
Old 20-11-2009, 12:32 AM   #6
 
p858snake's Avatar
 
Join Date: Dec 2008
Location: Queensland
Posts: 650
australia au queensland
Thanks: 12
Thanked 64 Times in 54 Posts
Blog Entries: 2
Rep Power: 21 p858snake is a glorious beacon of light p858snake is a glorious beacon of light p858snake is a glorious beacon of light p858snake is a glorious beacon of light p858snake is a glorious beacon of light p858snake is a glorious beacon of light
Default

Quote:
Originally Posted by mcattini View Post
Looking on my laptop where it is installed the registry keys are created in company_name\application_name sub folders of both HKEY_CURRENT_USER\Software and HKEY_LOCAL_MACHINE\SOFTWARE.

At the risk of sounding dim, where do I look for the system registry?

It works fine on my laptop I can log on as any Administrator or User. However, I am not hooked up to a Windows 2003 server.
by system registry i was referring to HKEY_LOCAL_MACHINE, i just couldn't remember the name off the top of my head.
  Reply With Quote
Old 20-11-2009, 08:47 AM   #7
 
theriver's Avatar
 
Join Date: Apr 2006
Posts: 159
uk
Thanks: 8
Thanked 16 Times in 14 Posts
Rep Power: 11 theriver will become famous soon enough theriver will become famous soon enough
Default

You'll hit problems if you're trying to write to HKLM while a User, or if you're reading from HKCU* as someone who didn't install the software (i.e. the registry entries the installing Administrator wrote are in *their* proflie, not the current one).

You may know of Process Explorer - this will tell you exactly what's being accessed.

Process Monitor


It seems odd that you're not seeing the problem on your PC, but unless you're testing with a clean Windows install, it's not really a fair test.
  Reply With Quote
Old 20-11-2009, 11:18 AM   #8
 
dhicks's Avatar
 
Join Date: Aug 2005
Location: Alton, Hampshire
Posts: 2,779
uk
Thanks: 416
Thanked 315 Times in 265 Posts
Rep Power: 83 dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute dhicks has a reputation beyond repute
Default

Quote:
Originally Posted by mcattini View Post
the registry keys are created in company_name\application_name sub folders of both HKEY_CURRENT_USER\Software and HKEY_LOCAL_MACHINE\SOFTWARE.
And where does your program try to read the values from? If it tries HKEY_CURRENT_USER... first, and reports an error when it can't find the registry key, then there's your problem.

--
David Hicks
  Reply With Quote
Old 20-11-2009, 11:43 AM   #9
 
ricki's Avatar
 
Join Date: Jul 2005
Location: uk
Posts: 589
uk
Thanks: 10
Thanked 48 Times in 47 Posts
Rep Power: 19 ricki has a spectacular aura about ricki has a spectacular aura about ricki has a spectacular aura about
Default

Hi

Does the software run when the computer is truned on and or when the user logs on and copies a file to the server so that it can be imported into the database. If it does you might have to check the share / file ntfs permissions.

Richard
  Reply With Quote
Old 20-11-2009, 11:49 AM   #10
 
ricki's Avatar
 
Join Date: Jul 2005
Location: uk
Posts: 589
uk
Thanks: 10
Thanked 48 Times in 47 Posts
Rep Power: 19 ricki has a spectacular aura about ricki has a spectacular aura about ricki has a spectacular aura about
Default

Sorry I forgot.

Does the program run as a service or a script. If it runs as a script does the employee or student have to rights to run it. It might be worth checking the event log. If you log into the machine and run it under a restricted account and remotely log into the event viewer you can see what happens. Plus dont forget to do a fresh in the event viewer every time as it will pull the info from the client pc.

Richard
  Reply With Quote
Old 23-11-2009, 03:28 PM   #11
 
mcattini's Avatar
 
Join Date: Nov 2009
Location: Bournemouth
Posts: 4
uk uk dorset
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 mcattini is an unknown quantity at this point
Default

Thanks for the ideas dhicks, theriver and ricki.

I shall take steps to get each of these checked and report back. It may be a week or so as i need to work with the school concerned and the supplier of the licensing module used by my software.

Marc
  Reply With Quote
Reply

EduGeek.net Forums > Technical > Educational Software

Similar Threads
Thread Thread Starter Forum Replies Last Post
The process of GPO software installation Little-Miss Learning Network Manager 2 11-09-2009 03:27 PM
Software Installation Checklist glastotech How do you do....it? 1 20-02-2009 02:07 PM
McAfee Installation advice. boomam Windows 7 30-01-2008 09:29 AM
Software Installation Policies - random issue CM786 Networks 4 02-10-2006 02:12 PM
Restrict software installation nuttygeek Windows 27 13-03-2006 11:18 PM



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search Thread
Search Thread:

Advanced Search

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
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:15 PM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.
Copyright EduGeek.net




website uptime

© 2005 - 2009 EduGeek.net
SERVER: 4
no new posts