Re: [WiX-users] problem uninstalling conditional features

2009-02-02 Thread Bob Arnson
lensing wrote:
> 
> PROPERTY
> 
> 
>
> The problem i have is, that files installed this way aren't uninstalled 
> correctly. I believe this happens because the properties are apparently 
> re-evaluated during uninstall and i can't guarantee that they will 
> evaluate the same way as during installation time. 

http://www.joyofsetup.com/2008/05/16/make-sure-features-are-always-enabled-so-they-can-be-removed/

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



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] problem uninstalling conditional features

2009-02-02 Thread lensing
Some more information I don't understand on the subject for whomever 
might answer this:
Looking in the verbose log i found that the installed conditional 
features weren't marked as installed, the conditionally installed 
components were marked as installed, but not marked for uninstallation. 
I think. Here're the according lines from the log:

MSI (s) (54:70) [16:30:04:359]: Feature: some_feature; Installed: 
Absent;   Request: Null;   Action: Null
MSI (s) (54:70) [16:30:04:359]: Component: some_refID; Installed: 
Local;   Request: Null;   Action: Null

I have absolutely no idea why some_feature isn't marked as installed.

lensing schrieb:
> Hello,
>
> I use some conditional features during install, which works fine. These 
> look like this:
>
> 
> PROPERTY
> 
> 
>
> The problem i have is, that files installed this way aren't uninstalled 
> correctly. I believe this happens because the properties are apparently 
> re-evaluated during uninstall and i can't guarantee that they will 
> evaluate the same way as during installation time. If i enable logging 
> during uninstall i can see that UnpublishFeatures is called for the 
> wrong features (which aren't even installed sometimes).
>
> So my question is: how can i just uninstall all installed features of 
> the product without re-evaluating the properties i used during 
> installation. If this isn't possible, maybe i can somehow call 
> UnpublishFeatures for all conditional features by hand during uninstall?
>
> thanks ~Paul
>
>
>
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>   


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] problem uninstalling conditional features

2009-02-02 Thread lensing
Hello,

I use some conditional features during install, which works fine. These 
look like this:


PROPERTY



The problem i have is, that files installed this way aren't uninstalled 
correctly. I believe this happens because the properties are apparently 
re-evaluated during uninstall and i can't guarantee that they will 
evaluate the same way as during installation time. If i enable logging 
during uninstall i can see that UnpublishFeatures is called for the 
wrong features (which aren't even installed sometimes).

So my question is: how can i just uninstall all installed features of 
the product without re-evaluating the properties i used during 
installation. If this isn't possible, maybe i can somehow call 
UnpublishFeatures for all conditional features by hand during uninstall?

thanks ~Paul



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users