Hi, in a bundle, using util:RegistrySearch, is there a way to set a default value to a variable? What I have now: <util:RegistrySearch Variable="MYVAR" Root="HKLM" Key="$(var.RegistryKey)" Value="MyValue" Result="value" /> I want to pass the value to a MSI package with: <MsiProperty Name="MYMSIVAR" Value="[MYVAR]" />
If the registry value is not found, the command line of the msi is "MYMSIVAR=", so I'd like to: -define a default value if registry value doesn't exist OR -don't set the MsiProperty if the registry value doesn't exist Can someone help me? or tell me another way thanks ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users