PDA

View Full Version : User Name



NewsArchive
12-15-1996, 01:00 AM
Does anyone know where the username is stored when InstallShield installs
the application. I would like to know the username for my app and only
want the name of the licensed user.

Help please.

Thanks!

Jeff Levy
jlevy@infinet.com

NewsArchive
12-19-1996, 01:00 AM
Jeffrey Levy wrote:
>
> Does anyone know where the username is stored when InstallShield installs
> the application. I would like to know the username for my app and only
> want the name of the licensed user.
>
> Help please.
>
> Thanks!
>
> Jeff Levy
> jlevy@infinet.com
The user name of the InstallShield owner or the user name of the person
installing your app? You're the owner of installshield, so you must want
to know the user name of the person installing your app. That would be a
variable you define yourself. There's built in dialogs that handle this
for you. Check the online ref. or documentaiotn.
--
========================================================
Bob Hernon, Software Engineer
DeviceGuys, Inc.
2495 - 152nd Ave. N.E.
Redmond, WA 98052

Phone: (206) 882-7918 - Fax: (206) 882-4708
http:\\www.deviceguys.com - mail: bobh@deviceguys.com
========================================================

NewsArchive
12-19-1996, 01:00 AM
Jeffrey Levy wrote:
>
> Does anyone know where the username is stored when InstallShield installs
> the application. I would like to know the username for my app and only
> want the name of the licensed user.
>
> Help please.
>
> Thanks!
>
> Jeff Levy
> jlevy@infinet.com
The user name of the InstallShield owner or the user name of the person
installing your app? You're the owner of installshield, so you must want
to know the user name of the person installing your app. That would be a
variable you define yourself. There's built in dialogs that handle this
for you. Check the online ref. or documentaiotn.
--
========================================================
Bob Hernon, Software Engineer
DeviceGuys, Inc.
2495 - 152nd Ave. N.E.
Redmond, WA 98052

Phone: (206) 882-7918 - Fax: (206) 882-4708
http:\\www.deviceguys.com - mail: bobh@deviceguys.com
========================================================

NewsArchive
12-26-1996, 01:00 AM
Jeffrey Levy wrote:
>
> Does anyone know where the username is stored when InstallShield installs
> the application. I would like to know the username for my app and only
> want the name of the licensed user.
>
For Win95, look in the registry under the
HKEY_LOCALMACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion key, at the
RegisteredOwner and RegisteredOrganization values. On my WinNT 4.0
installation, the information is located under the
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion key. For Win3.1
(working from memory), I believe they are under a heading called [User]
or [Owner].

These are NOT InstallShield-specific values, but O/S settings available
to any application. This information is set during O/S installation, so
should ID the nominal registered user.

-eb-
--

/////////////////////////////////////////////////////////////
// Evan Burkitt Epoch Networks, Inc
// voice: +1(714) 4744950 19800 MacArthur Blvd
// fax: +1(714) 4748127 Suite 700
// email: eburkitt@eni.net Irvine CA 92612 USA

NewsArchive
12-26-1996, 01:00 AM
Jeffrey Levy wrote:
>
> Does anyone know where the username is stored when InstallShield installs
> the application. I would like to know the username for my app and only
> want the name of the licensed user.
>
For Win95, look in the registry under the
HKEY_LOCALMACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion key, at the
RegisteredOwner and RegisteredOrganization values. On my WinNT 4.0
installation, the information is located under the
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion key. For Win3.1
(working from memory), I believe they are under a heading called [User]
or [Owner].

These are NOT InstallShield-specific values, but O/S settings available
to any application. This information is set during O/S installation, so
should ID the nominal registered user.

-eb-
--

/////////////////////////////////////////////////////////////
// Evan Burkitt Epoch Networks, Inc
// voice: +1(714) 4744950 19800 MacArthur Blvd
// fax: +1(714) 4748127 Suite 700
// email: eburkitt@eni.net Irvine CA 92612 USA

NewsArchive
08-12-1997, 12:00 AM
Jeffrey Levy wrote:

> Does anyone know where the username is stored when InstallShield
> installs
> the application. I would like to know the username for my app and
> only
> want the name of the licensed user.
>
> Help please.
>
> Thanks!
>
> Jeff Levy
> jlevy@infinet.com

Thats in the INI file for 16-bit installations and in the system
registry for 32-bit installations.

Mihir.

NewsArchive
08-12-1997, 12:00 AM
Jeffrey Levy wrote:

> Does anyone know where the username is stored when InstallShield
> installs
> the application. I would like to know the username for my app and
> only
> want the name of the licensed user.
>
> Help please.
>
> Thanks!
>
> Jeff Levy
> jlevy@infinet.com

Thats in the INI file for 16-bit installations and in the system
registry for 32-bit installations.

Mihir.