Copy WixUI_InstallDir.wxs from the sources to your project, remove the offending property, and refer to your copy instead of the one in the extension.
Later, address the maintenance mode dialog sequence to ensure it works for you. -----Original Message----- From: Robert Hermann [mailto:rob.herm...@nicewareintl.com] Sent: Friday, December 11, 2009 4:59 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Finding on APRNOMODIFY .. is this right ? I've been working on an installer that uses custom dialogs and some standard dialogs. Once installed, I want the app to have the Change button under add remove programs. I understand that I need to use <Property Id="ARPNOMODIFY">0</Property> In order to do this (change button appear). What I have found is once I have <UIRef Id="WixUI_InstallDir"/> In my install script (.wxs file) I get the compile error Error 1 The primary key 'ARPNOMODIFY' is duplicated in table 'Property'. Please remove one of the entries or rename a part of the primary key to avoid the collision. DatabaseandBackendInstallScript.wxs 571 1 I did some more digging on the WixUI_InstallDir.wxs and found that it sets the property 'ARPNOMODIFY' to 1. Why ? I want to use this standard dialog as It allows me to change the path of the install directory. I also want the Change button to display in Add Remove Programs. Do I need to override this standard install directory dialog in some way so that I can set APRNOMODIFY to 0 and yet have all the benefits of that dialog. Rob ---------------------------------------------------------------------------- -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users