The only thing you can do is compare the current value of the property
against the known default value. If the command-line value is the same as
the default value you wouldn't ever be able to know.

The only way to know for sure if a property was set from the command-line is
to not have the property in the Property table at all and to assign it its
default value from some sort of custom action.

-----Original Message-----
From: Alex Ivanoff [mailto:alex.ivan...@shavlik.com] 
Sent: Sunday, January 03, 2010 10:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Overwrite property only if it was not set on command
line

I have a property that has a default value. I want to change this property
in custom action only if this property was not set on command line. How do I
do this?
----------------------------------------------------------------------------
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to