| View previous topic :: View next topic |
| Author |
Message |
harry Contributor


Joined: 01 May 2003 Posts: 61
|
Posted: Tue Feb 01, 2005 5:06 pm Post subject: xp install weirdness |
|
|
hi,
i made a progy for some friends/business people
the install works just dandy on 98
but not on xp
this is what i do
i put a key in the registry and the program counts down to 0
and tells you to register.
on xp the "trial use period " (of 3 uses) is used up durning the install
i use winzip or a wz exe to do the instalation.
i don't have xp but i'm wondering if xp runs a new program and" looks"
at the program signature or something using up the trial period. anyone know whats happening ?
thanks,
harry |
|
| Back to top |
|
 |
jules Professional Member


Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Tue Feb 01, 2005 6:31 pm Post subject: |
|
|
My guess is you don't have permission to write to that part of the registry under XP and so the value is never getting set to 3 in the first place. _________________ The Tech Pro
www.tech-pro.net |
|
| Back to top |
|
 |
PGWARE Web Host

Joined: 29 Dec 2001 Posts: 1566
|
Posted: Tue Feb 01, 2005 8:24 pm Post subject: |
|
|
Yup I suspect the same thing. If the program is not run under the administrators account then you wont be able to write to HKEY_LOCAL_MACHINE.
You should always write registry values to HKEY_CURRENT_USER, this will allow even limited accounts to write and read to the registry; it also allows the program to run under multiple user accounts - with each having their own settings and configurations since HKEY_CURRENT_USER registry tree applies only to the currently logged on user. |
|
| Back to top |
|
 |
harry Contributor


Joined: 01 May 2003 Posts: 61
|
Posted: Tue Feb 01, 2005 9:55 pm Post subject: |
|
|
Thanks guys
harry |
|
| Back to top |
|
 |
|