Hi everybody,
I have some problems while updating a product through Wix v3
I've written the following code :

<Component Id="APM_ENGINE_CONFIG_REF" 
Guid="4C6B380E-4DFE-458C-A29F-8A0C434E7F70">
  <Condition>NOT Installed</Condition>
  <File Id="ampm_engine.ref" Name="ampm_engine.ref" KeyPath="yes" 
Source="$(var.FACT_DESTDIR)\var\config\ampm_engine.ref">
    <CopyFile Id="APM_ENGINE_CONFIG_INI" DestinationDirectory="config" 
DestinationName="amengine.ini" DestinationLongName="ampm_engine.ini" />
  </File>
  <IniFile Id="EnginePort" Action="addLine" Directory="config" 
Name="ampm_engine.ini" Section="NETWORK" Key="Port" Value="[PORTNUMBER]" />
</Component>

But, even on update, the file amengine.ref is copied to amengine.ini

Any idea?

Thanks for your help.

Fred

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to