Sounds to me a lot like the symptoms of Component Rules violations. 

Are there any common files, registry keys, etc. between feature1 &
feature2? If so have you duplicated the code for them? What's a verbose
log show when you do the Change operation? Does it try to start the
service & fail or doesn't it even try?

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: vijay chander [mailto:vijaychander2...@gmail.com] 
Sent: 17 September 2010 14:16
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] problem with InstallExecuteSequence on Change
option.

Hi All,

The issue which i was facing from long time is sequencing deletion and
installation of features in Install execute sequence on Change option.

*Scenario:*
I have 2 features(both are services), and i'm following below steps for
getting top on to my issue:

1. Install only one feature lets say FE_1 and complete installation.
verify whether service has started or not.
2. Run the installer again.
3. We will get 3 options Repair, Remove and Change. Now choose "Change"
option.
4. Deselect previously choosen feature that is FE_1 (I mean we want it
to be
uninstalled) and select FE_2 for installation.
5. Complete the installation and verify service has started or not. We
could see that FE_1's service is uninstalled and FE_2's service is
installed. But we will not be able to start it.

*Problem I found is:* (All the files and intact, i.e., none of files
required for FE_2 are removed) 1st FE_2 is being installed and the FE_1
is uninstalled. On doing this it is removing some links that start the
service.

*Workaround:*
Just re-run the installer and choose repair. We could see that FE_2
starts without any issues.

*Required Solution:*
How can we execute a sequence in the above scenario such that FE_1 is
uninstalled 1st and the FE_2 is installed 2nd.

*Note:*
*Above mentioned change option is left for WIX to handle.* Please do the
needful as soon as possible.

With Regards,
Vijay Chander
------------------------------------------------------------------------
------
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



------------------------------------------------------------------------------
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