This was my experiment with WixUI_Minimal, to add a customized dialog to
select the install drive using VolumeSelectCombo
 
 
    <Fragment >
      <UI Id ="UIPiece" >
        <UIRef Id="WixUI_Minimal"/>
        <Dialog Id ="SelectVolumeDlg" Width ="370" Height ="270"
Title="[ProductName] Setup">
          <Control Id ="SelectDrive" Text ="SelectDrive" Type
="VolumeSelectCombo" X ="100" Y="100" Height ="50" Width ="100" Property
="INSTALLDRIVE"/>
          <Control Id="BottomLine" Type="Line" X="0" Y="234" Width="370"
Height="0" />
          <Control Id="Next" Type="PushButton" X="236" Y="243" Width="56"
Height="17" Default="yes" Text="Next" />
          <Control Id="Back" Type="PushButton" X="180" Y="243" Width="56"
Height="17" Text="Back" />
        </Dialog>
        <Publish Dialog="WelcomeEulaDlg" Control="Install" Event="NewDialog"
Value="SelectVolumeDlg">LicenseAccepted = "1"</Publish>
        <Publish Dialog="SelectVolumeDlg" Control="Back" Event="NewDialog"
Value="WelcomeEulaDlg">1</Publish>
        <Publish Dialog="SelectVolumeDlg" Control="Next" Event="NewDialog"
Value="VerifyReadyDlg">1</Publish>
        <Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog"
Value="SelectVolumeDlg">1</Publish>
        <Property Id ="INSTALLDRIVE" Value="TARGETDIR"></Property>
    </UI>
  </Fragment>
 
 
Though, Im able to compile the code, im not getting the desired effect, the
UI, doesn't show up the SelectVolumeDlg.. Am i missing something ? I
understand it is possible to customize WixUI Dialog stocks by adding
additional custom dialogs, is this wrong ?

thanks                                                                       
ArunKumar ArcotVijayaKumar 
Systems Analyst 
Publix Supermarkets, Inc. 
863 686 8754 x46533 
813 470 9642 
[EMAIL PROTECTED] 

 

________________________________

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 14, 2008 1:57 PM
To: ArunKumar ArcotVijayaKumar
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Help with Wix...UI to select Installation Drive.


ArunKumar ArcotVijayaKumar wrote: 

        I need some guidance in getting my Wix script, to let users select
the installation drive only. I experimented with WixUI_InstallDir, but this
one allows users to select  the complete path/directory and not just the
drive. My requirement is to give the option only to select the installation
drive [C: or D: for example], and not the path/Directory.


You can use the VolumeSelectCombo to offer a drop-down but WixUI doesn't have
support for a path-less selection.

-- 
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to