check this out guys :

i think i am getting closer to it. one day serkan sendur will be able to set product name of a setup project at run time. it will be a small step for world but a big step for serkan sendur.

Dani AI

Generated

Good news: changing the MSI product name at install time is possible, but the Windows Installer rules around properties determine the right approach. The ProductName property is a Windows Installer property (it is not all-uppercase and therefore not a public property that can be overridden on the msiexec command line). See the ProductName property notes and the general property rules for details (, Property table and public properties).

Two practical, proven routes:

  • Create and apply a transform (.mst) that updates the MSI Property table entry for ProductName. Transforms are the supported way to alter MSI table data without repackaging; they can be built with Orca, InstallShield automation, or programmatically using the MSI APIs, and applied when launching the installer. Example command:

    msiexec /i Product.msi TRANSFORMS=CustomName.mst

    See Microsoft documentation on transforms for how they work and how to generate/apply them (Transforms overview).

  • Use a public ALL-CAPS property as the input (for example MYPRODUCTNAME passed on the command line) and copy that value into ProductName early in the install sequence with an immediate custom action or a UI SetProperty event. Important caveats: the action must run before dialogs or steps that display ProductName (sequence timing matters), and deferred custom actions cannot set installer properties except via CustomActionData. Test sequencing carefully and use an immediate action in the UI/execute sequence as appropriate ().

Additional notes: changing ProductName is cosmetic but affects what users see in Add/Remove Programs and support tickets. It does not replace proper product/version/productcode management for upgrades. For InstallShield users, generating the transform from the build or using a bootstrapper to collect the desired name are common, robust patterns. This approach should help move forward; it may also be relevant to @sknake, @ddanbe, @ramy, and @adatapost.

And all the rest of the big guys in daniweb like sknake, ddanbe, ramy and adatapost will be ashamed of not having given a hand to serkan sendur and they will bend on their knees to show appreciation for his determination in this lonely search for the windows installer truth.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.