Of course right after I posted this I came across an old thread between 
Stefan Krueger and Bob Arnson saying that MSI doesn't appear to support 
this even though the SDK doesn't actually spell it out.


I assume I'll have to manipulate the features directly using AddLocal and 
REMOVE  as a feature tree really doesn't make sense with what I'm doing  ( 
the setup types are license related and shouldn't be shown if the user 
doesn't have the right license key ).

----------------------------------------

From: "Christopher Painter" <chr...@iswix.com>

Sent: Wednesday, March 14, 2012 8:28 PM

To: "General discussion for Windows Installer XML toolset." 
<wix-users@lists.sourceforge.net>

Subject: [WiX-users] SetInstallLevel Control Event in Maintenance


I have an installer that has a "setup type" story that drives the 

INSTALLLEVEL property through the use of SetInstallLevel control events.  

During the initial installation everything works as expected.


Now I've been asked to show this dialog again during the maintenance UI.   


I can see in the logfile that my INSTALLLEVEL property is changing to the 

expected value but my feature request states aren't changing.  


I've read the help topics for InstallLevel and SetInstallLevel control 

events and I don't see anything concerning.  I know about the 

MigrateFeatureStates  standard action for use during Major Upgrades but 

from what I understand it doesn't apply to maintenance mode.


Does anything know if I'm missing something?  Can MSI be used in the way 

I'm trying to do it?  I've never tried to do this before but it seems like 


it should be able to work.    The setup type dialog is an abstraction for 

the feature tree and the customer doesn't want to show the custom setup 

dialog during maintenance.


Thanks,


Chris


---


MSI (s) (C4:C0) [20:10:06:348]: Feature: EXAMPLES_A; Installed: Local;   

Request: Null;   Action: Null


MSI (s) (C4:C0) [20:10:06:348]: Feature: EXAMPLES_B; Installed: Absent;   

Request: Null;   Action: Null <- expected install


MSI (s) (C4:C0) [20:10:06:348]: Feature: EXAMPLES_C; Installed: Absent;   

Request: Null;   Action: Null <- exptected install


----------------------------------------------------------------------------
--

This SF email is sponsosred by:

Try Windows Azure free for 90 days Click Here 

http://p.sf.net/sfu/sfd2d-msazure

_______________________________________________

WiX-users mailing list

WiX-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to