If no modifications to the config files have been made since they have been 
installed, they will be deleted with your upgrade scheduling before the upgrade 
install.

You can:  1) tweak the timestamp on the config file(s) so they are preserved; 
or 2) have a custom action read the file data to be preserved early in the 
upgrade process and then use that data, stored in properties, to reconstruct 
the config files during the install of the upgraded product.

--
John Merryweather Cooper
Senior Software Engineer | Enterprise Service Applications | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com



-----Original Message-----
From: Arvind Janghel [mailto:arvind.jang...@citiustech.com] 
Sent: Tuesday, September 16, 2014 6:07 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WIX : Upgrade Issue

Hi,

 

I have implemented major upgrade support in my application installer . As part 
of upgrade, there are C# custom actions to backup and restore config files, and 
also update the database.

I have scheduled the RemoveExistingProducts after "installinitialize".

 

However the restore configuration fails, with a FileNotFoundException and the 
log file suggests that one of the configuration files is not found. The Restore 
configuration is scheduled after installfiles and before installfinalize, hence 
I wonder as to why the exception occura. 

 

Also I tried changing the custom action, and also removing failing custom 
actions, but seems that the upgrade is using "Cached" version of the installer, 
since the log file contains log information of removed custom action

 

Any pointers what could be reason behind failing custom action and why the 
cached installer is getting triggered?

 

Thanks,

Arvind

 

 




===========================================================================================================================================================================================
DISCLAIMER:
The information contained in this message (including any attachments) is 
confidential and may be privileged. If you have received it by mistake please 
notify the sender by return e-mail and permanently delete this message and any 
attachments from your system. Any dissemination, use, review, distribution, 
printing or copying of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. CitiusTech shall not be 
liable for the improper or incomplete transmission of the information contained 
in this communication nor for any delay in its receipt or damage to your 
system. CitiusTech does not guarantee that the integrity of this communication 
has been maintained or that this communication is free of viruses, 
interceptions or interferences. 
====================================================================================================================================================================
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to