Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Product Name


12 replies to this topic

Thomas Eskesen

Thomas Eskesen
  • Members
  • 86 posts

Posted 08 May 2001 - 15:43

Does anybody know how to change the displayed Product Name in the Windows Add/Remove Program?

Regards,
Thomas Eskesen


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 08 May 2001 - 20:01

Have you tried the general settings of your project?

MGF128

MGF128
  • Members
  • 15 posts

Posted 08 May 2001 - 21:00

From InstallShield KB Document ID :Q102330
HOWTO: Changing the Uninstall Name Displayed in the Add/Remove Programs Applet

InstallShield for Windows Installer uses the Product Name for the uninstall name. To change the Product Name, do the following:

Click on the Product Properties node in the Project tree.
Change the Product Name in the property sheet.



Thomas Eskesen

Thomas Eskesen
  • Members
  • 86 posts

Posted 09 May 2001 - 07:23

OK - Thanx!
BUT I would like to set the name using e.g. MsiSetProperty(hMSI,"ProductName", "Fido");
Using this I can set the Productname in the captionbar etc. - but NOT in the Add/Remove Window!??!??!?!

I'm using release flags to generate different installation programs for different (similar) programs - with different names!

Regards,
Thomas


Thomas Eskesen

Thomas Eskesen
  • Members
  • 86 posts

Posted 09 May 2001 - 08:05

A solution is to set the product name from outside InstallShield using e.g. a VB script like:

Set m_ISWiProject = CreateObject("ISWiAutomation.ISWiProject")
strFile = "D:\DEVELOP\WISETUP\\FIDO.ism"
m_ISWiProject.OpenProject strFile
m_ISWiProject.ProductName = "This works"

Regards,
Thomas


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 May 2001 - 08:50

If you are using IPWI 2.x you can specify an alternate ProductName i the Product Configuration Settings (as well as a different product code etc.)

Thomas Eskesen

Thomas Eskesen
  • Members
  • 86 posts

Posted 09 May 2001 - 09:35

Hmmm - I don't understand?
Where can I wirte the Alternate name?
How do I then use it?

Regards a gratefull,
Thomas Eskesen


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 09 May 2001 - 11:56

ProductName is lower case ie a private property so if you just change it in the user sequence it will change the dialog caption but clearly would not effect the more important execute sequence.   Perhaps this would explain the behaviour you described earlier if your custom action setting MsiSetProperty(...) only occured in the user sequence.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 09 May 2001 - 13:26

To set the product name in IPWI:
Go to (6) Prepare for Distribution
Click Releases
Select the Product Configuration you want to modify
Enter the Product Name on the right panel.

You can have several product configurations, each with a different product name, product code, and configuration flags (to include/exclude features from the build)

This requires IPWI 2.x, not available in ISWI 1.x


Thomas OD

Thomas OD
  • Members
  • 48 posts

Posted 25 July 2001 - 10:26

So, is there a solution to change ProductName with MsiSetProperty?
( I would like to do that because my ProductName is "versioned" and i read the version in a .h file when i build the setup. So i can't specify Name in the IDE)

Thomas OD

Thomas OD
  • Members
  • 48 posts

Posted 26 July 2001 - 09:53

Found it myself.
I overwrite with a Deffered CA the Registry key
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode}\DisplayName" and it works good.
hope that helps.

Thomas Eskesen

Thomas Eskesen
  • Members
  • 86 posts

Posted 26 July 2001 - 10:47

Hi

Thanx!
That's great

Summer Regards,
Thomas