The Source element tells the WiX toolset where to get the files to put them 
into your MSI.  If you don't rebuild your MSI then you're not getting the new 
file in your MSI.

-----Original Message-----
From: kkrules1 [mailto:kkrul...@gmail.com]
Sent: Wednesday, January 28, 2009 01:57
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] upgrade set up using wix


hi
 i have tried upgrading files and it works fine ..after lot of trial and
error ..but now im am faced with a new dilema ..i have a text file with some
contents and im refering to the file  in this way

            <File Id="version3.txt" Source="C:\Documents and
Settings\abc\Desktop\Version3.txt" ></File>
i build this code and "Version3.txt" file is deployed in the required
location. ...evrything is fine so far

as you can see i am hardcoding the path .now i change the contents of
"version3.txt" i.e the text and install the set up again without building
the wix code(after uninstalling the setup) . i am using

  <RemoveExistingProducts Before='InstallInitialize'/>

to remove the existing products and the contents are removed. here is the
tricky part ...
when i install the set up again the "Version3.txt" file is deployed in the
required location but its contents are the old one (not the changes that i
have made ....

does the wix code take current file at a path (the hardcoded path
C:\Documents and Settings\abc\Desktop\Version3.txt ) or the file during the
build ???

if so then how do i go about this problem ?? is the problem only for text
files .
 im using major upgrade syntax as im adding a few files and upgrading few
files.
--
View this message in context: 
http://n2.nabble.com/upgrade-set-up-using-wix-tp2231323p2231323.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to