Using version MSI-Factory 2.2 (but was the same with the previous one).
1 - Create any MSI-Factory project to install a small (even single file) application.
2 - Display the properties of the exec file, Registration tab.
3 - Edit the File Associations
4 - Add a first extension, for example ext1
5 - Create a new Associated ProgID, for example MyProg.image
6 - Add a verb, keep the default values for simplicity
7 - Add a second extension, for example ext2
8 - Select MyProg.image as Associated ProgId
9 - Add a verb, keep the default values for simplicity
10 - Close dialog windows and build.
Build fails. Last line in log window are:
Linking compiled files together as 'H:\_NAIX-Install\TCGAIR-V4.1.00.6\_Msi\Essai.msi'
Windows Installer XML Toolset Linker version 3.9.1208.0
Copyright (c) Outercurve Foundation. All rights reserved.
H:\_NAIX-Install\TCGAIR-V4.1.00.6\Install\Tmp\Essai.wxs(44) : error LGHT0130 : The primary key 'regE07D1BF2F1AC1CAC429C51BBC10FCC72' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision.
Error 5001: light.exe returned 130
Deleting temporary files
Build FAILED! Error: 5001 - Link failed (light.exe returned an error code). Usually means project contains errors or is missing information.
The build does not fail if you declare a different ProdID for each extension you want.
1 - Create any MSI-Factory project to install a small (even single file) application.
2 - Display the properties of the exec file, Registration tab.
3 - Edit the File Associations
4 - Add a first extension, for example ext1
5 - Create a new Associated ProgID, for example MyProg.image
6 - Add a verb, keep the default values for simplicity
7 - Add a second extension, for example ext2
8 - Select MyProg.image as Associated ProgId
9 - Add a verb, keep the default values for simplicity
10 - Close dialog windows and build.
Build fails. Last line in log window are:
Linking compiled files together as 'H:\_NAIX-Install\TCGAIR-V4.1.00.6\_Msi\Essai.msi'
Windows Installer XML Toolset Linker version 3.9.1208.0
Copyright (c) Outercurve Foundation. All rights reserved.
H:\_NAIX-Install\TCGAIR-V4.1.00.6\Install\Tmp\Essai.wxs(44) : error LGHT0130 : The primary key 'regE07D1BF2F1AC1CAC429C51BBC10FCC72' is duplicated in table 'Registry'. Please remove one of the entries or rename a part of the primary key to avoid the collision.
Error 5001: light.exe returned 130
Deleting temporary files
Build FAILED! Error: 5001 - Link failed (light.exe returned an error code). Usually means project contains errors or is missing information.
The build does not fail if you declare a different ProdID for each extension you want.
Comment