Um, yes.

Have you considered using *afterInstallExecute *or *afterInstallExecuteAgain
*instead?


On 26 February 2014 15:49, faujong <fiefie.ni...@gmail.com> wrote:

> Hi John,
> "No existing file" is because prior to it the installation removed the file
> MSI (s) (00:9C) [09:59:20:624]: Executing op:
>
> FileRemove(,FileName=WixWindowsService2012.exe.config,,ComponentId={blabla})
> MSI (s) (00:9C) [09:59:20:626]: Verifying accessibility of file:
> WixWindowsService2012.exe.config
>
>
> This is in Product.wxs (I set Schedule="afterInstallInitialize" in
> MajorUpgrade element)
> <Product Id="*" Name="WixWindowsService2012"..UpgradeCode="bla">
>         <Package InstallerVersion="200"../>
>         <Upgrade Id="bla">
>                 <UpgradeVersion OnlyDetect="no" Property="PREVIOUSFOUND"
>                    Minimum="1.0.0.0"  IncludeMinimum="yes"
>                    Maximum="99.0.0.0" IncludeMaximum="no" />
>         </Upgrade>
>         <MajorUpgrade Schedule="afterInstallInitialize"/>
> :
> <Component Id="ProductComponent" Win64="yes">
>         <File Id="WixWindowsService2012.exe"
> Name="WixWindowsService2012.exe"
> Source="$(var.WixWindowsService2012.TargetPath)" Vital="yes" KeyPath="yes"
> DiskId="1"/>
>         <ServiceInstall..></ServiceInstall>
>         <ServiceControl Id="StartService" Start="install" Stop="both"
> Remove="uninstall" Name="WixWindowsService2012" Wait="yes" />
> </Component>
>
>
>
>
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-not-copy-a-file-in-subsequent-installations-tp7592929p7592952.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&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