Product name editable

29/10/2007 - 16:25 von Alexander Reifinger | Report spam
Hi,

due to legal reasons, we are distributing our software product under 2
different names - the "low feature" version has a different name than
the "deluxe" versions. We are using an msi setup embedded in a wrapper
exe that apart from other stuff installs the appropriate licence. The
licence alone decides which name is used for the application, the
installed files etc. do not differ for the 2 versions.

Now I want to use ONE msi file for all versions, but I want to tell the
setup to display another product name, use a diffent name in "add/remove
programs" and create the desktop/startmenu links with the correct name.

Is there a possibility to call the msiexec tool with a parameter to edit
the [PRODUCTNAME] property?

I tried msiexec /i setup.msi ProductName=Test, but that did not change
anything. This is funny, Orca says PrepareDlg will display
"{\VerdanaBold13}Welcome to [ProductName]" as title - but the changed
ProductName did not appear?

Any ideas anyone?

Regards,
Alexander Reifinger
 

Lesen sie die antworten

#1 Stefan Krueger [MVP]
05/11/2007 - 15:34 | Warnen spam
Since you posted in a German newsgroup I'll reply in German. Please let me
know if that's a problem.

Auf der Kommandoziele kann man nur öffentliche Properties (public
properties) setzen, das sind solche deren Name keine Kleinbuchstaben
enthàlt. Um den ProductName zu àndern müsstest du eine Transform (.mst)
verwenden.

Stefan Krueger
Microsoft Windows Installer MVP

Please post your questions in the newsgroup or vist one of these web sites:

Windows Installer FAQ
http://www.msifaq.com - http://www.msifaq.de

InstallSite - Resources for Setup Developers
http://www.installsite.org
http://www.installsite.de (GERMAN)


"Alexander Reifinger" schrieb im Newsbeitrag
news:
Hi,

due to legal reasons, we are distributing our software product under 2
different names - the "low feature" version has a different name than the
"deluxe" versions. We are using an msi setup embedded in a wrapper exe
that apart from other stuff installs the appropriate licence. The licence
alone decides which name is used for the application, the installed files
etc. do not differ for the 2 versions.

Now I want to use ONE msi file for all versions, but I want to tell the
setup to display another product name, use a diffent name in "add/remove
programs" and create the desktop/startmenu links with the correct name.

Is there a possibility to call the msiexec tool with a parameter to edit
the [PRODUCTNAME] property?

I tried msiexec /i setup.msi ProductName=Test, but that did not change
anything. This is funny, Orca says PrepareDlg will display
"{\VerdanaBold13}Welcome to [ProductName]" as title - but the changed
ProductName did not appear?

Any ideas anyone?

Regards,
Alexander Reifinger

Ähnliche fragen