I haven't tired in a while, but can't you set the Property to an empty 
value and have the Property go away?

PS: AFAIK, the Value column of the Property has never been nullable so 
I'm not sure how you'd get Orca to set the Property to blank in the MSI 
database.

Sascha Beaumont wrote:
> Okay,
>
> So I've scoured the documentation and tried every which way... but I
> can't for the life of me figure out how to de-select a checkbox based
> on a registry value.
>
> Let's say for example I provide the user with the option to install a
> desktop shortcut or not, simple enough. However I want store the value
> of this in the registry so that the shortcut isn't recreated during a
> repair, and so I can remember the users setting across an upgrade so
> that the UI defaults to their previously selected state.
>
> Issues I've come across are
>  - Checkboxes are selected whenever there is a non-null value (I even
> tried setting the Integer property, using zero, etc. no luck)
>  - Orca won't let me null a property, I have to drop the entire row
> (older versions seem to permit it, just not the latest)
>  - RegistrySearch doesn't seem to overwrite properties if an
> empty/null value is in the desired registry key (i.e. key exists,
> value doesn't)
>
> Basically I'm really stumped trying to figure out how to nullify a
> property on the fly or read an empty registry value (or missing, I can
> work with that too). If I can do that then I'm halfway there. Any
> ideas/suggestions?
>
>
> Sascha
>
> (Note that a desktop shortcut isn't the real issue here, it's just the
> most obvious way to explain what I'm trying to do)
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, &
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
>   

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to