carlldev wrote:
> The above works as advertised for installing and uninstalling, but if I
> click repair, then the RemoveImported part is run as well, which it
> shouldn't do because of the InstallMode = "Repair" condition.
>
> So I played around with it and found that the InstallMode property is never
> set during the install. It is COMPLETELY useless! No combination of
> InstallMode = “Repair” or InstallMode = “Remove” works.
>   

There is no such standard property.

> I looked around trying to find another property that may do the trick. The
> WixUI_InstallMode looked like it but it also is COMPLETELY useless!
>   

That's for WixUI to control UI branching; it isn't intended to be used 
outside the UI.

See "Examples of Conditional Statement Syntax" for how you should do it.

-- 
sig://boB
http://joyofsetup.com/



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

Reply via email to