[WiX-users] Selection of features Based on Conditions

2012-01-11 Thread Rohini S
Hi,

I need to select different types of features based on condition.

the selection is like tree model,if select the last child parent child
files also should include.
for this type any example??


Thank You,
S.Rohini
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error-2819 while Adding New Dialogs.

2012-01-08 Thread Rohini S
Hi,

I'm Getting this error:
Error 2819:  Control Folder on dialog MyInstallDirDlg needs a property
linked to it

While trying to add a customized dialog in the installer.
It's asking set a property for _BROWSEPROPERTY.
I tried to set in different places,but i failed.

Can anyone help about this error?

If possible please provide some examples.

Thanks in adv..

S.Rohini
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error2819

2012-01-04 Thread Rohini S
The Code  which i used to add a new dialog in the setup.

Product.wxs:

?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Product Id=996b7490-325e-4890-b412-2119f36dd9dc Name=Install
Language=1033 Version=1.0.0.0 Manufacturer=Install
UpgradeCode=06b2d9eb-e790-4dd1-99f0-42051062b1c4
Package InstallerVersion=200 Compressed=yes /

Media Id=1 Cabinet=media1.cab EmbedCab=yes /

Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder
Directory Id=INSTALLLOCATION Name=Install
!-- TODO: Remove the comments around this Component element and the
ComponentRef below in order to add resources to this installer. --
Component Id=ProductComponent
Guid=95409870-9e37-4611-802e-15c15c05ba84
File Id=MyApplicationFile Name=$(var.NewForm.TargetFileName)
Source=$(var.NewForm.TargetPath)
DiskId=1 KeyPath=yes Compressed=yes /
/Component
/Directory
/Directory
/Directory

Feature Id=ProductFeature Title=Install Level=1
!-- TODO: Remove the comments around this ComponentRef element and the
Component above in order to add resources to this installer. --
ComponentRef Id=ProductComponent /

!-- Note: The following ComponentGroupRef is required to pull in generated
authoring from project references. --
ComponentGroupRef Id=Product.Generated /
/Feature

Property Id=MyWIXUI_INSTALLDIR Value=INSTALLLOCATION /Property
UIRef Id=MyWixUI_InstallDir /


/Product
/Wix

MyWixUI_InstallDir.wxs


Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Fragment
UI Id=MyWixUI_InstallDir
TextStyle Id=WixUI_Font_Normal FaceName=Tahoma Size=8 /
TextStyle Id=WixUI_Font_Bigger FaceName=Tahoma Size=12 /
TextStyle Id=WixUI_Font_Title FaceName=Tahoma Size=9 Bold=yes /

Property Id=DefaultUIFont Value=WixUI_Font_Normal /
Property Id=WixUI_Mode Value=InstallDir /

DialogRef Id=BrowseDlg /
DialogRef Id=DiskCostDlg /
DialogRef Id=ErrorDlg /
DialogRef Id=FatalError /
DialogRef Id=FilesInUse /
DialogRef Id=MsiRMFilesInUse /
DialogRef Id=PrepareDlg /
DialogRef Id=ProgressDlg /
DialogRef Id=ResumeDlg /
DialogRef Id=UserExit /

Publish Dialog=BrowseDlg Control=OK Event=DoAction
Value=WixUIValidatePath Order=31/Publish
Publish Dialog=BrowseDlg Control=OK Event=SpawnDialog
Value=InvalidDirDlg
Order=4![CDATA[WIXUI_INSTALLDIR_VALID1]]/Publish

Publish Dialog=ExitDialog Control=Finish Event=EndDialog
Value=Return Order=9991/Publish

Publish Dialog=WelcomeDlg Control=Next Event=NewDialog
Value=LicenseAgreementDlgNOT Installed/Publish
Publish Dialog=WelcomeDlg Control=Next Event=NewDialog
Value=CheckDlgInstalled AND PATCH/Publish

Publish Dialog=LicenseAgreementDlg Control=Back Event=NewDialog
Value=WelcomeDlg1/Publish
Publish Dialog=LicenseAgreementDlg Control=Next Event=NewDialog
Value=MyInstallDirDlgLicenseAccepted = 1/Publish

Publish Dialog=MyInstallDirDlg Control=Back Event=NewDialog
Value=LicenseAgreementDlg1/Publish
Publish Dialog=MyInstallDirDlg Control=Next Event=SetTargetPath
Value=[WIXUI_INSTALLDIR] Order=11/Publish
Publish Dialog=MyInstallDirDlg Control=Next Event=DoAction
Value=WixUIValidatePath Order=2NOT WIXUI_DONTVALIDATEPATH/Publish
Publish Dialog=MyInstallDirDlg Control=Next Event=SpawnDialog
Value=InvalidDirDlg Order=3![CDATA[NOT WIXUI_DONTVALIDATEPATH AND
WIXUI_INSTALLDIR_VALID1]]/Publish
Publish Dialog=MyInstallDirDlg Control=Next Event=NewDialog
Value=CheckDlg Order=4WIXUI_DONTVALIDATEPATH OR
WIXUI_INSTALLDIR_VALID=1/Publish
Publish Dialog=MyInstallDirDlg Control=ChangeFolder
Property=_BrowseProperty Value=[WIXUI_INSTALLDIR] Order=11/Publish
Publish Dialog=MyInstallDirDlg Control=ChangeFolder
Event=SpawnDialog Value=BrowseDlg Order=21/Publish

Publish Dialog=CheckDlg Control=Back Event=NewDialog
Value=MyInstallDirDlg1/Publish
Publish Dialog=CheckDlg Control=Next Event=NewDialog
Value=VerifyReadyDlg1/Publish

Publish Dialog=VerifyReadyDlg Control=Back Event=NewDialog
Value=CheckDlg Order=1NOT Installed/Publish
Publish Dialog=VerifyReadyDlg Control=Back Event=NewDialog
Value=MaintenanceTypeDlg Order=2Installed AND NOT PATCH/Publish
Publish Dialog=VerifyReadyDlg Control=Back Event=NewDialog
Value=WelcomeDlg Order=2Installed AND PATCH/Publish

Publish Dialog=MaintenanceWelcomeDlg Control=Next Event=NewDialog
Value=MaintenanceTypeDlg1/Publish

Publish Dialog=MaintenanceTypeDlg Control=RepairButton
Event=NewDialog Value=VerifyReadyDlg1/Publish
Publish Dialog=MaintenanceTypeDlg Control=RemoveButton
Event=NewDialog Value=VerifyReadyDlg1/Publish
Publish Dialog=MaintenanceTypeDlg Control=Back Event=NewDialog
Value=MaintenanceWelcomeDlg1/Publish

Property Id=ARPNOMODIFY Value=1 /
/UI

UIRef Id=WixUI_Common /

/Fragment
/Wix

MyInstallDirDlg.wxs


Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Fragment
UI
Dialog Id=MyInstallDirDlg Width=370 Height=270
Title=!(loc.InstallDirDlg_Title)
Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17
Default=yes Text=!(loc.WixUINext) /
Control Id=Back Type=PushButton X=180 Y=243 Width=56 Height=17
Text=!(loc.WixUIBack) /
Control Id=Cancel Type=PushButton X=304 Y=243