Quantcast
Channel: Flexera Community Forums
Viewing all articles
Browse latest Browse all 4553

Issue with branded installers when two distinct brands installed side-by-side

$
0
0
Hi all,

My software engineering group is working on a product that can be branded. This means that by default it would use our own branding but we can supply resources to apply a custom brand to the application and the InstallShield installer. Currently, we got an automated process (Python-driven) which will alter the InstallShield .ism file to allow not only a custom branding but also the installation of two distinct brands of the same product to run on the same PC side-by-side. We have long resolved the conflictual issues at the application level but we still got some issues with the InstallShield installer itself.

Following are the values that we manipulate via Python XPATH and modify during our branding process:

# Package Code (GUID)
/msi/summary/revnumber

# Product Code (GUID)
/msi/table[@name='Property']/row[td[1]='ProductCode']/td[2]

# Upgrade Code (GUID)
/msi/table[@name='Property']/row[td[1]='UpgradeCode']/td[2]

# Unique ID (GUID)
/msi/table[@name='ISSwidtagProperty']/row[td[1]='UniqueId']/td[2]

# Author (english - string)
/msi/table[@name='ISString']/row[td[1]='COMPANY_NAME' and td[2]='1033']/td[3]

# Author (french - string)
/msi/table[@name='ISString']/row[td[1]='COMPANY_NAME' and td[2]='3084']/td[3]

# Publisher/Product URL (english - string)
/msi/table[@name='ISString']/row[td[1]='ID_STRING61' and td[2]='1033']/td[3]

# Publisher/Product URL (french - string)
/msi/table[@name='ISString']/row[td[1]='ID_STRING61' and td[2]='1033']/td[3]

# Startup menu folder for shortcut (english - string)
/msi/table[@name='ISString']/row[td[1]='ID_STRING72' and td[2]='1033']/td[3]

# Startup menu folder for shortcut (french - string)
/msi/table[@name='ISString']/row[td[1]='ID_STRING72' and td[2]='3084']/td[3]

# Shortcuts (english - string)
/msi/table[@name='ISString']/row[td[1]='IDS_SHORTCUT_DISPLAY_NAME1' and td[2]='1033']/td[3]

# Shortcuts (french - string)
/msi/table[@name='ISString']/row[td[1]='IDS_SHORTCUT_DISPLAY_NAME1' and td[2]='3084']/td[3]

# Software Creator Name (string)
/msi/table[@name='ISSwidtagProperty']/row[td[1]='SfwCreatorName']/td[2]

# Tag Creator Name (string)
/msi/table[@name='ISSwidtagProperty']/row[td[1]='TagCreatorName']/td[2]

# Installation directory (string)
/msi/table[@name='Directory']/row[td[1]='INSTALLDIR']/td[2]

For each brand selected the values above change. Building installers for each brand of our product then installing them side-by-side in a virgin Windows 7 SP1 environment works fine. However, if I uninstall both the shortcuts from the first uninstalled product are left in place as well as its installation folder (empty). Interesting enough, if we reinstall the branded product that left the shortcuts behind and then uninstall immediately after it will this time remove everything. Finally, if we install only one brand of our product, any one of them, then uninstall it later it will remove everything as expected.

Is this a normal behavior for our branding setup or is there one or more attributes that we are missing?

Thank you!

Viewing all articles
Browse latest Browse all 4553

Trending Articles