- NSIS Discussion
- "My Company" string
Archive: "My Company" string
oksanai
23rd November 2006 14:49 UTC
"My Company" string
When I create setup script I define my consts like this:
!define PRODUCT_NAME "SomeAppSmart"
!define PRODUCT_VERSION "2.7"
!define PRODUCT_PUBLISHER "Some Software"
!define PRODUCT_WEB_SITE "http://www.somesoftware.com"
!define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
!define PRODUCT_UNINST_ROOT_KEY "HKLM"
While installing I get status "Installing My Company SomeAppSmart" Message Box with "Installing My Company SomeAppSmart..." text on it. I get the same status Message Box on Desktop and PDA screen.
Help me please to find out where "My Company" is coming from. What did I miss?
Thanks
fmt_jsc
23rd November 2006 16:45 UTC
Did you try to add this:
VIAddVersionKey "CompanyName" "Another name for my company" ?
(edit: Mmmh sorry forget it, I got confused with something else)
glory_man
23rd November 2006 17:05 UTC
Re: "My Company" string
Originally posted by oksanai
While installing I get status "Installing My Company SomeAppSmart" Message Box with "Installing My Company SomeAppSmart..." text on it. I get the same status Message Box on Desktop and PDA screen.
Help me please to find out where "My Company" is coming from. What did I miss?
Thanks
When this message box did you get?
oksanai
23rd November 2006 18:37 UTC
that message Box appears right away after "Retrieving Device data" dialog window. But the same "My Company" string I can see in "Installing Applications" message box as well with the text on it :" Install "My Company AppSmart" using the default application install directory?"
And in addition to all this that lovely string will appear in the device's "AddRemove programm" window too.
thanks Glory_man
glory_man
24th November 2006 09:36 UTC
Attach your script to the post.
oksanai
24th November 2006 12:39 UTC
Here it is.
Thanks
glory_man
24th November 2006 13:40 UTC
Change Caption. Now it is
Caption "The JonasSmart 2.7 by Jonas Software Company"
So you can see all installer windows with this title.
oksanai
24th November 2006 14:40 UTC
The problem is not all installer windows uses that caption. Only background windows uses it. But status bar window doesn't use it as well as other Message Box windows you will get when installation is running.
they show "My Company" string (exactly those words) instead of my real company name. That "My Company" string will be shown in the "Remove program" window on the PDA then instead of my indicated in the script real Company name.
kichik
24th November 2006 15:21 UTC
You won't find your answer in the script. If it shows on the PDA, it's in the CAB files. Your script doesn't add an entry to the Remove Program window of the PDA, it's the CAB.
oksanai
24th November 2006 16:11 UTC
Thanks Kichik,
I felt that there was no answer in the script.
some thoughts regarding how can I replace that "My Company"?
CAB util doesn't get data from AssemblyInfo and uses its default values for the Company name.
gotomanolis
25th December 2006 07:03 UTC
In case the cab is created by the Visual Studio then the My Company string is existed within the .inf file that is processed by the BuildCab.bat.