I faced the same problem with the .Net 4.0 prerequisite. It seems that the
package is actually downloaded, even though it is not uninstalled.

Here is my package declaration:

<ExePackage
          Id="Netfx4Full"
          Cache="no"
          Compressed="no"
          PerMachine="yes"
          Permanent="yes"
          Vital="yes"
         
SourceFile="$(var.PrerequisiteLocation)\dotNetFramework\dotNetFx40_Full_x86_x64.exe"
          DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=164193";
          DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR
Netfx4x64FullVersion)" />

And here is an excerpt from the log file:

[166C:1BB0][2012-02-01T14:44:03]: Detect 24 packages
[166C:1BB0][2012-02-01T14:44:03]: Setting string variable
'Netfx4x64FullVersion' to value '4.0.30319'
[166C:1BB0][2012-02-01T14:44:03]: Setting string variable
'Netfx4FullVersion' to value '4.0.30319'
...
[166C:1BB0][2012-02-01T14:44:03]: Condition 'Netfx4FullVersion AND (NOT
VersionNT64 OR Netfx4x64FullVersion)' evaluates to true.
[166C:1BB0][2012-02-01T14:44:03]: Detected package: Netfx4Full, state:
Present, cached: No
[166C:1BB0][2012-02-01T14:44:03]: Detect complete, result: 0x0
[166C:1BB0][2012-02-01T14:44:03]: Plan 24 packages, action: Uninstall
...
[166C:1BB0][2012-02-01T14:44:03]: Planned package: Netfx4Full, state:
Present, default requested: Absent, ux requested: Absent, execute: None,
rollback: Install, cache: Yes, uncache: Yes, dependency: Register
...
[166C:1BB0][2012-02-01T14:44:03]: Plan complete, result: 0x0
[166C:1BB0][2012-02-01T14:44:03]: Apply begin
[166C:198C][2012-02-01T14:44:04]: Download engine HTTP 200 HEAD to
http://go.microsoft.com/fwlink/?LinkId=164193
[166C:198C][2012-02-01T14:44:10]: Download engine HTTP 200 GET to
http://go.microsoft.com/fwlink/?LinkId=164193
[1BC4:2A2C][2012-02-01T14:48:28]: Moving payload from working path
'C:\Users\ADMINI~1\AppData\Local\Temp\2\{c2fb7e96-b16a-4628-8d82-a939c450ac29}\Netfx4Full'
to path 'C:\ProgramData\Package
Cache\58DA3D74DB353AAD03588CBB5CEA8234166D8B99\dotNetFx40_Full_x86_x64.exe'
...
[1BC4:1E7C][2012-02-01T14:48:32]: Removing cached package:
58DA3D74DB353AAD03588CBB5CEA8234166D8B99, from path: C:\ProgramData\Package
Cache\58DA3D74DB353AAD03588CBB5CEA8234166D8B99\
[1BC4:1E7C][2012-02-01T14:48:32]: Removing cached package:
{E824C6A7-F3B1-4CB0-B820-2CC14C9F86DA}v2.4.9.5, from path:
C:\ProgramData\Package Cache\{E824C6A7-F3B1-4CB0-B820-2CC14C9F86DA}v2.4.9.5\
[1BC4:1E7C][2012-02-01T14:48:32]: Removing bundle dependency key:
{c2fb7e96-b16a-4628-8d82-a939c450ac29}
[1BC4:1E7C][2012-02-01T14:48:32]: Removing cached bundle:
{c2fb7e96-b16a-4628-8d82-a939c450ac29}, from path: C:\ProgramData\Package
Cache\{c2fb7e96-b16a-4628-8d82-a939c450ac29}\
[166C:1BB0][2012-02-01T14:48:32]: Apply complete, result: 0x0 restart: No
[166C:1BB0][2012-02-01T14:48:55]: Shutting down, exit code: 0x0

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Moving-payload-to-Cache-Directory-tp7237441p7243219.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to