PDA

View Full Version : Default Registry entries for User Name and Company Name during program Install



NewsArchive
01-09-2011, 03:29 AM
Does anyone have an Idea where I can set the default User Name and Company
Name in Windows 7 so I don't have to kley it in every time I install a program.
I have tried setting the DefName and DefCompany registry entries but they
don't work in windows 7. Any help is appreciated.

Gary

NewsArchive
01-09-2011, 03:30 AM
> Does anyone have an Idea where I can set the default User Name and Company
> Name in Windows 7 so I don't have to kley it in every time I install a program.
> I have tried setting the DefName and DefCompany registry entries but they
> don't work in windows 7. Any help is appreciated.

Hi Gary,

I think most installers don't take this information from the machine, but
rather store it themselves.

What we do in our ProSeries tools is ask the user for the information, then
we store it (with SetupBuilder of course) in the Registry.

Then if you install an update to the product without uninstalling, we
retrieve the previously stored information and use that as the "defaults".

However if you uninstall, the Registry key is removed (as it should be
since the installer created it) and a subsequent install would require it
to be entered again.

Over the years I have installed thousands of programs, and almost none of
them have ever picked up the user name and company name from the computer.

Not the answer you were looking for I am sure, but food for thought...

:-)

Charles



--
-------------------------------------------------------------------------------------------------------
Charles Edmonds
www.clarionproseries.com - "Get ProPath, make your Clarion programs ready
for Windows 7 and Vista!"
www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
www.setupcast.com - "A revolutionary new publishing system for software
developers - enhanced for SetupBuilder users!"
www.pagesnip.com - "Print and Save the Web, just the way you want it!"
www.clarionproseries.com - "Serious tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms - Now with PNG support!
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
01-09-2011, 03:30 AM
Gary,

> Does anyone have an Idea where I can set the default User Name and Company
> Name in Windows 7 so I don't have to kley it in every time I install a
> program. I have tried setting the DefName and DefCompany registry entries
> but they don't work in windows 7. Any help is appreciated.

The "RegisteredOwner" and "RegisteredOrganization" information is stored in
the registry. Beginning with Vista, both items in the registry are set to
"Microsoft".

To set that information, the owner of the machine has to change the two key
entries RegisteredOrganization and RegisterdOwner in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion.

Friedrich

NewsArchive
01-10-2011, 01:38 AM
Hello Charles,

Thanks for the feedback - I appreciate it. The thing that threw me was that
it defaulted to Microsoft on the installs. I figured if I could find that,
at least I could change it to my information....... getting lazy in my old
age.

Gary

NewsArchive
01-10-2011, 01:38 AM
Hello friedrich, Thanks for the info. I have checked those registry values
and oddly enough they are set to my name and company information - is ther
by chance another location that could be getting called?.

Thanks
Gary

NewsArchive
01-10-2011, 01:38 AM
Hello Gary,

> Hello friedrich, Thanks for the info. I have checked those registry values
> and oddly enough they are set to my name and company information - is ther
> by chance another location that could be getting called?.

This could be too obvious, but I'll ask. Do you have a 64-bit Windows 7
operating system? You have to check the Wow6432Node in this case, not the
"real" 64-bit entry.

I bet that it is set to Microsoft in this 32-bit key ;-)

Friedrich

NewsArchive
01-10-2011, 01:40 AM
See attached.

Friedrich

NewsArchive
01-10-2011, 01:40 AM
Hello friedrich, Great Catch - That was it ..... Amazing that they would
put in multiple places ..... Many Thanks Friedrich

Gary

NewsArchive
01-10-2011, 01:40 AM
> Hello friedrich, Great Catch - That was it ..... Amazing that they would
> put in multiple places ..... Many Thanks Friedrich

You are welcome :)

Friedrich

NewsArchive
01-10-2011, 01:40 AM
Hello friedrich, Yes I am running Windows 7 Professional - 64bit. I'll take
a look at the WOW6432Node. much appreciated.

Gary

NewsArchive
01-10-2011, 01:41 AM
Friedrich,

> The "RegisteredOwner" and "RegisteredOrganization" information is stored in
> the registry. Beginning with Vista, both items in the registry are set to
> "Microsoft".

As usual, MS -owns- all of us and wants us to KNOW it!<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