Hi,

Can someone explain how to achieve this?

We have a Major Upgrade task which seemed to work with early schedulling of
RemoveExistingProducts.
But it started failing due to a bug in MSI where an assembly was being
placed in GAC and used duing installation for a custom action. During
upgrade the assembly was getting deleted and later it it did not get copied.

So, REM was scheduled later (Between InstallExecute and InstallFinalize).
Now it started failing because some of the unversioned files did not get
updated and installed application started failing due to lack of correct
config information.

I tried writing a custom action to move these files to a temp location (I
can have the CA delete these files but it would be best to keep them around
for a rollback scenario) and sceduled it before InstallFiles. Custom action
works well but even when install log says that file is to be installed it
does not get installed.

Is it incorrect to schedule the custom action before InstallFiles? Where
does it need to be scheduled? 

Is there a better way to ensure file copy success? Installshield seems to
have an attribute of alwaysoverwrite but WIX doesn't seem to have it. 


Thanks

Umesh 

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/MajorUpgrade-and-overwriting-unversioned-text-files-tp6129064p6129064.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to