I've done something similar for testing purposes using a custom written 
Bootstrapper (in .NET) and some tools from the Windows SDK.
Needed Tools:
- msitran.exe
- WiRunSql.vbs
- WiSumInf.vbs
(all embedded as Resources in the Bootstrapper)

Approach was as follows:
- Extract all tools into the TEMP Folder
- Copy the MSI into the TEMP Folder
- Call WiSumInf.vbs to change the PackageCode
- Call WiRunSql.vbs several times to change the ProductName, ProductCode and 
UpgradeCode and to Clear/Re-Populate the Upgrade-Table
- Call msitran.exe to generate a Transform between the patched and the original 
MSI
(The last step could be omitted but using a transform leaves a signed MSI 
intact)
- Install the original MSI using the generated transform.

So, technically said it seems to be possible, but I don't know whether it is 
allowed to use the tools from the SDK in your own Products.
Maybe someone else could verify this ?



Mit freundlichen Grüßen / Best Regards 
Thomas Terhaar | Senior .NET Developer

VoicInt Telecommunications GmbH | NL Dortmund | Lindemannstr. 78 | 44137 
Dortmund | Germany | Geschäftsführer: Peter Nowack
Haupthaus Köln, Kaesenstr. 19, 50677 Köln | Amtsgericht Köln HRB 53720 | 
Ust.-IdNr.: DE 237746146 |
phone: +49(0)231 55 74 02 18 | fax: +49(0)231 55 74 02 99 | email: 
thomas.terh...@voicint.com
http://www.voicint.com  |  http://twitter.com/voicint | 
http://youtube.com/voicint


-----Original Message-----
From: John Cooper (Volt) [mailto:a-jc...@microsoft.com] 
Sent: Mittwoch, 28. Juli 2010 01:38
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Purposefully Installing Multiple Instances of an MSI

My team wants the capability to install multiple copies of an MSI on a given 
host with different tags appended to the ProductName (so the configuration 
specialist can identify different instances in the Control Panel.

Obviously, I'd have to turn off detection of older or newer MSI's.

How best to get a Tag appended to ProductName after the MSI has been compiled?
--
John M. Cooper
Volt at Microsoft
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to