George,

To get behavior you want:

* Make your file a keypath of your component (File/@KeyPath="yes")
* Use /fc option to repair your installation

Alex Shevchuk




On Tue, Mar 25, 2008 at 5:16 PM, Georgi Shopov <[EMAIL PROTECTED]> wrote:

> Hi,
>
> can any body give me suggestion what is the proper combination of MSIEXEC
> fix command options and file (WiX) properties that will ensure that a file
> will be overwritten ONLY in the case it is different or missing;
>
> I have Windows Installer version 3;
> I use the basic SampleFirst.wxs example with a text file;
> The file passes ICE checks in ORCA with no errors/warnings reports;
> Basically it has one feature with one component with one text file;
> The file has checksum attribute set to "yes" and the file hash is present
> in MsiFileHash table;
> I install the packet with "MSIEXEC /i samplefirst.msi" command and it is
> properly installed;
>
> What I need to figure out is how to get this behaviour:
>
>  if a fix/update command is started, if file is not changed, the file NOT
> to be overwritten;
>  if a fix/update command is started, if file is changed, the file to be
> overwritten;
>
> I've tried different combinations of MSIEXEC fix command (/F???) but the
> log file says file is either always overwritten (never-mind if changed) or
> NOT overwritten (although there is info that file has changed)
>
> So,
>
> Thanks,
>  George S.
>
>
>
>
>
>
>
>
>
>
> -----------------------------------------------------------------
> Спечели 40 литра гориво сега!
> http://www.clubf1.net/shellgame.php
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to