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

Reply via email to