There are 2 definitions of the property. One is
<Property Id="IAPPS_INSTALL_TYPE">Quick</Property>

And the other is 
<Property Id='IAPPS_INSTALL_TYPE'>      
      <RegistrySearch Id="RSINSTALL_TYPE" ... >
</Property>

You will have to delete the first one. The registry search will run during
first time installation and replace the value "quick" with a blank anyway.

Put a set property custom action into the InstallUISequence which will set
the default if the registrysearch didn't find a value

<Product...
        <SetProperty Id="IAPPS_INSTALL_TYPE" Value="Quick" After="AppSearch">
not IAPPS_INSTALL_TYPE </SetProperty>


You might also need to set Secure="yes" on the Property element if you're
using it in the InstallExecuteSequence.

-----Original Message-----
From: lokanath devineni [mailto:ldevin...@yahoo.com] 
Sent: 15 April 2011 15:52
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] RadioButtonGroup property help








Hi All,

I have a wix dialog box having radiobuttongroup control and property declared
as bellow in Dialogs library


<Property Id="IAPPS_INSTALL_TYPE">Quick</Property>

<Control Id="rbInstallType" Type="RadioButtonGroup" X="27" Y="58" Width="150"
Height="142" Property="IAPPS_INSTALL_TYPE">
          <RadioButtonGroup Property="IAPPS_INSTALL_TYPE">
            <RadioButton Height="17" Text="Quick Install" Value="Quick"
Width="110" X="0" Y="0" />
            <RadioButton Height="17" Text="Custom Install" Value="Custom"
Width="86" X="0" Y="64" />
          </RadioButtonGroup>
        </Control>

and installer project i am refering this dialog. In installer project,i am
reading this property from Registry as below for change or repair mode.

<Property Id='IAPPS_INSTALL_TYPE'>      
      <RegistrySearch Id="RSINSTALL_TYPE" Root="HKLM" 
Key="Software\Bridgeline Digital\iAppsCMS" Type="raw"  Name="INSTALLTYPE"
></RegistrySearch>
    </Property>


But it thowing me the below error and same approach is working for all other
control properties.

Error    128    Duplicate symbol 'Property:IAPPS_INSTALL_TYPE' found.
Error    129    Location of symbol related to previous error


If any body know the solution the aboove error, please let me know.

Sorry for troubling.

Thanks in advance,
loknath


-----------------------------------------------------------------------------
-
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to