Changing Default Company Name / Manufaturer token

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I recently wrote my first C# application and am ready to distribute it to my
client. However, when I run the installer it tries to install it in
c:\Program Files\Default Company Name\"Application Name"\. (Application name
is not the actual name.) When I installed C# I must have neglected to put in
a company name blank. This is supposed to pick up the name from the
manufacturer token, but I can't find where to change this piece of
information. I tried to reinstall C#, but I wasn't asked to my name or
company again.

I am sure that is pretty easy to change, but I have searched for help and
come up dry. Any help that anyone can give me would be greatly appreciated.

Thank you,
 
You can change these values, but you can also change the default path that
the application installs to, to anything you want...

In your setup project, right click on the project in solution explorer and
select View->File System, then select "Application Folder" in the main
window. The properties on the right allow you to change certain aspects of
the install.

hope that helps.

Dan.
 
I see that I can change the default file location, but I really do want to
change the manufacturer token name, so that other applications I write will
default to my location of choice. Do you know how to change the manufacturer
token?

Bart
 
I believe this is taken from the registry using the name you used on
installing Windows.
If you open regedit and navigate to

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

then edit the key RegisteredOrganization to the company name you want to
appear.

hope that helps.

Dan.
 
this can't be right - is installation package setup creation in vs really
that limited ?

I haven't as yet done any setup projects in vs but on a quick look it does
appear this info is not configurable per project.

Currently I maintain installation packages ( outside of vs ) for my own
company as well as 2 other companies. Having all installation packages
show my company as the manufacturer would be completely unacceptable.

oh well , I guess one could always use orca to manually set these values -
or simply stay away from vs installation packages.
 
I don't see what's restrictive in all this?

1. If you want to change your company name, that's how you do it. This means
that the default manufacturer for each set up project will be this key.

2. If you want to change the manufacturer per setup project, then click the
setup project in the Solution Explorer, and you'll see the manufacturer text
in the properties which can be change for that install.

3. If you want to change the default install folder, then this is done via
the right click -> View -> File System -> Application Folder selection and
looking at properties.

From the provided scenario, you're looking at number 2...
 
Ok - now I see it - I said that i only took a very cursory look and that
what I was seeing had to be wrong, and once again I was right that I was
wrong ;-)
 
Back
Top