Hello all, 

I've been trying to enable some limited reconfiguration of the installed
application by using custom properties. So I have a few parameters stored in
the .config files, which I can pass via command line to msiexec, and I have
a custom dialog to modify these values, and in the end I put it in the
config file: 


  
    


And everything works great during the installation, but when I run the
installer again and select "Change" for the maintenance mode, the changes I
enter don't get saved, without any error. Same if I pass the properties
through the command line for maintenance. 

I've tried switching to XmlConfig since reading that it improves on XmlFile
behavior for repair specifically, but the problem is exactly the same: no
error, no changes written out to the files. I've tried the repair mode, same
deal. 

I've also tried moving the .config file manipulation with XmlFile and
XmlConfig out of the file component to a separate component, ditto there:
works great on install, ignored in maintenance. 

In the log file, the XmlFile action seems to be scheduled and executed
without errors. 

Is there something I'm missing on the maintenance mode? Is it really not
designed to do this kind of manipulation? 

Thanks in advance!
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/use-XmlFile-XmlConfig-in-maintenance-mode-tp5520598p5520598.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to