[WiX-users] Very simplest bundle not working

2012-02-11 Thread Peter Hull


Dear All,
I've made quite a few installers and bundles with WiX already, but all of a 
sudden when making a minimal example, I can't seem to get it to work! Please 
can you have a look, I'm sure I must be doing something obviously wrong. This 
is WiX 3.6.2603.0 on WinXP.

I've got a wxs to make an empty MSI:














Then a second wxs to make the bundle:










And I am building like this:
candle install.wxs
candle bundle.wxs
light install.wixobj
light bundle.wixobj -ext WixBalExtension

It compiles OK but when I run I get error 0x8007003 (File Not Found) with the 
following log:
[0A94:08FC][2012-02-11T10:02:55]: Burn v3.6.2603.0, path: C:\Documents and 
Settings\peter hull.UKDEEDEV012\My Documents\minimal\bundle.exe, cmdline: '/q 
/log install.txt'
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 'WixBundleLog' to 
value 'C:\Documents and Settings\peter hull.UKDEEDEV012\My 
Documents\minimal\install.txt'
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 'WixBundleName' to 
value ''
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 
'WixBundleOriginalSource' to value 'C:\Documents and Settings\peter 
hull.UKDEEDEV012\My Documents\minimal\bundle.exe'
[0A94:08FC][2012-02-11T10:02:55]: Detect 1 packages
[0A94:08FC][2012-02-11T10:02:55]: Detected package: install.msi, state: Absent, 
cached: No
[0A94:08FC][2012-02-11T10:02:55]: Detect complete, result: 0x0
[0A94:08FC][2012-02-11T10:02:55]: Plan 1 packages, action: Install
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 
'WixBundleLog_install.msi' to value 'C:\Documents and Settings\peter 
hull.UKDEEDEV012\My Documents\minimal\install_0_install.msi.txt'
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 
'WixBundleRollbackLog_install.msi' to value 'C:\Documents and Settings\peter 
hull.UKDEEDEV012\My Documents\minimal\install_0_install.msi_rollback.txt'
[0A94:08FC][2012-02-11T10:02:55]: Planned package: install.msi, state: Absent, 
default requested: Present, ba requested: Present, execute: Install, rollback: 
Uninstall, cache: Yes, uncache: No, dependency: Register
[0A94:08FC][2012-02-11T10:02:55]: Plan complete, result: 0x0
[0A94:08FC][2012-02-11T10:02:55]: Apply begin
[0A94:08FC][2012-02-11T10:02:55]: Caching bundle from: 
'C:\DOCUME~1\PETERH~1.UKD\LOCALS~1\Temp\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\.be\bundle.exe'
 to: 'C:\Documents and Settings\peter hull.UKDEEDEV012\Local 
Settings\Application Data\Package 
Cache\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\bundle.exe'
[0A94:08FC][2012-02-11T10:02:55]: Error 0x80070003: Failed to cache bundle 
from: 
'C:\DOCUME~1\PETERH~1.UKD\LOCALS~1\Temp\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\.be\bundle.exe'
 to 'C:\Documents and Settings\peter hull.UKDEEDEV012\Local 
Settings\Application Data\Package 
Cache\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\bundle.exe'
[0A94:08FC][2012-02-11T10:02:55]: Error 0x80070003: Failed to cache bundle from 
path: 
C:\DOCUME~1\PETERH~1.UKD\LOCALS~1\Temp\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\.be\bundle.exe
[0A94:08FC][2012-02-11T10:02:55]: Error 0x80070003: Failed to begin 
registration session.
[0A94:08FC][2012-02-11T10:02:55]: Error 0x80070003: Failed to register bundle.
[0A94:08FC][2012-02-11T10:02:55]: Apply complete, result: 0x80070003 restart: No
[0A94:08FC][2012-02-11T10:02:55]: Shutting down, exit code: 0x80070003

Any ideas?
Pete  
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Very simplest bundle not working

2012-02-11 Thread Peter Hull

Hotmail ruined my message! Trying again..
 
Dear All,
I've made quite a few installers and bundles with WiX already, but all of a 
sudden when making a minimal example, I can't seem to get it to work! Please 
can you have a look, I'm sure I must be doing something obviously wrong. This 
is WiX 3.6.2603.0 on WinXP.
 
I've got a wxs to make an empty MSI:
?xml version='1.0'?
Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'
 Product Id='{4C2E4CA4-F8A9-456D-AD1F-5264D3A2B0F1}' Name='Test Package' 
Language='1033'
  Version='1.0.0.0' Manufacturer='PH' 
UpgradeCode='{4542D2F4-147B-4F37-88F9-2C2FB1347328}' 
  Package Description='Dummy package'
   Comments='A single file'
   Manufacturer='PH' InstallerVersion='200' Compressed='yes' 
InstallScope=perUser /
  Directory Id='TARGETDIR' Name='SourceDir'
   Component Id='MyComponent' Guid={898E4A4A-DF56-45F2-BE76-56CE109BCA82}
   /Component
  /Directory
  Feature Id='MyFeature' Title='My 1st Feature' Level='1'
   ComponentRef Id='MyComponent' /
  /Feature
 /Product
/Wix
 
Then a second wxs to make the bundle:
?xml version=1.0?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 Bundle Version=1.0.0.0 
  BootstrapperApplicationRef 
Id=WixStandardBootstrapperApplication.RtfLicense /
  Chain
   MsiPackage SourceFile=install.msi Compressed=yes /
  /Chain
 /Bundle
/Wix
 
And I am building like this:
candle install.wxs
candle bundle.wxs 
light install.wixobj 
light bundle.wixobj -ext WixBalExtension
 
It compiles OK but when I run I get error 0x8007003 (File Not Found) with the 
following log:
[0A94:08FC][2012-02-11T10:02:55]: Burn v3.6.2603.0, path: C:\Documents and 
Settings\peter hull.UKDEEDEV012\My Documents\minimal\bundle.exe, cmdline: '/q 
/log install.txt'
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 'WixBundleLog' to 
value 'C:\Documents and Settings\peter hull.UKDEEDEV012\My 
Documents\minimal\install.txt'
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 'WixBundleName' to 
value ''
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 
'WixBundleOriginalSource' to value 'C:\Documents and Settings\peter 
hull.UKDEEDEV012\My Documents\minimal\bundle.exe'
[0A94:08FC][2012-02-11T10:02:55]: Detect 1 packages
[0A94:08FC][2012-02-11T10:02:55]: Detected package: install.msi, state: Absent, 
cached: No
[0A94:08FC][2012-02-11T10:02:55]: Detect complete, result: 0x0
[0A94:08FC][2012-02-11T10:02:55]: Plan 1 packages, action: Install
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 
'WixBundleLog_install.msi' to value 'C:\Documents and Settings\peter 
hull.UKDEEDEV012\My Documents\minimal\install_0_install.msi.txt'
[0A94:08FC][2012-02-11T10:02:55]: Setting string variable 
'WixBundleRollbackLog_install.msi' to value 'C:\Documents and Settings\peter 
hull.UKDEEDEV012\My Documents\minimal\install_0_install.msi_rollback.txt'
[0A94:08FC][2012-02-11T10:02:55]: Planned package: install.msi, state: Absent, 
default requested: Present, ba requested: Present, execute: Install, rollback: 
Uninstall, cache: Yes, uncache: No, dependency: Register
[0A94:08FC][2012-02-11T10:02:55]: Plan complete, result: 0x0
[0A94:08FC][2012-02-11T10:02:55]: Apply begin
[0A94:08FC][2012-02-11T10:02:55]: Caching bundle from: 
'C:\DOCUME~1\PETERH~1.UKD\LOCALS~1\Temp\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\.be\bundle.exe'
 to: 'C:\Documents and Settings\peter hull.UKDEEDEV012\Local 
Settings\Application Data\Package 
Cache\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\bundle.exe'
[0A94:08FC][2012-02-11T10:02:55]: Error 0x80070003: Failed to cache bundle 
from: 
'C:\DOCUME~1\PETERH~1.UKD\LOCALS~1\Temp\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\.be\bundle.exe'
 to 'C:\Documents and Settings\peter hull.UKDEEDEV012\Local 
Settings\Application Data\Package 
Cache\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\bundle.exe'
[0A94:08FC][2012-02-11T10:02:55]: Error 0x80070003: Failed to cache bundle from 
path: 
C:\DOCUME~1\PETERH~1.UKD\LOCALS~1\Temp\{98c3a113-6f9a-4c5f-a6d3-b1da166bbbe6}\.be\bundle.exe
[0A94:08FC][2012-02-11T10:02:55]: Error 0x80070003: Failed to begin 
registration session.
[0A94:08FC][2012-02-11T10:02:55]: Error 0x80070003: Failed to register bundle.
[0A94:08FC][2012-02-11T10:02:55]: Apply complete, result: 0x80070003 restart: No
[0A94:08FC][2012-02-11T10:02:55]: Shutting down, exit code: 0x80070003

Any ideas?
Pete  
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Managed CustomActions not compiling with latest WiX 3.6 version

2012-02-11 Thread Rob Mensching
I think there are bugs open on this (and maybe just fixed). If not, please
file one.

On Fri, Feb 10, 2012 at 7:39 AM, Kryschan 
christian.hennig@wincor-nixdorf.com wrote:

 Hello,

 today I upgraded from WiX 3.6 Beta to version 3.6.2603.0. Now none of my
 managed custom actions is compileable any more.

 There are two problems:

 1) the reference to Microsoft.Deployment.WindowsInstaller seems to be ok on
 the first glimpse but none of it's types is available and in the properties
 of the reference Version is 0.0.0.0 and Runtime Version is empty

 2) for each of my CAs the following compiler error is generated:
 The ReadRegistry task was not found. Check the following: 1.) The name of
 the task in the project file is the same as the name of the task class. 2.)
 The task class is public and implements the
 Microsoft.Build.Framework.ITask interface. 3.) The task is correctly
 declared with UsingTask in the project file, or in the *.tasks files
 located in the c:\WINNT\Microsoft.NET\Framework\v4.0.30319 directory

 I already tried a Repair installation but that doesn't change anything.

 (I had the same problem with version 3.6.2520.0)

 Best Regards

 --
 View this message in context:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Managed-CustomActions-not-compiling-with-latest-WiX-3-6-version-tp7273033p7273033.html
 Sent from the wix-users mailing list archive at Nabble.com.


 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] IIS7 Site Id

2012-02-11 Thread Rob Mensching
I thought the IIS CA was fixed for IIS7 to create an id that was correct
even for web farms. That or maybe the setting is gone in IIS7.

On Sun, Feb 5, 2012 at 6:01 AM, Neil Sleightholm n...@x2systems.com wrote:

 In WiX 3.0 code was added (defect 2219545) to allow the WebSite/@SiteId
 attribute to be set to * to indicate that it should set the site id to
 the hash of the site name (WebSite/@Description), this code is still
 present in WiX 3.5 for IIS6 but not IIS7. This now means that when sites
 are installed in a web farm the site id is dependent on the install order
 and therefore causes problems with ASP.NET applications that use session
 state as the ASP.NET session state database is indexed by the site id.

 Was there are reason for not including this code in the IIS7
 implementation?

 Neil

 Neil Sleightholm
 X2 Systems Limited
 n...@x2systems.commailto:n...@x2systems.com


 --
 Try before you buy = See our experts in action!
 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-dev2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] 64-bit heat.exe

2012-02-11 Thread Rob Mensching
No movement o that issue that I'm aware of.

On Mon, Feb 6, 2012 at 7:31 AM, Jerry Maloney gpjerrymalo...@gmail.comwrote:

 Hi, all.  I'm encountering the problem (*Could not harvest data from a
 64bit dll*) detailed in this thread (
 http://sourceforge.net/mailarchive/message.php?msg_id=27244946), which Rob
 identified as a bug in heat.exe.  I am wondering if

 (A) anybody has been able to compile heat for the x64 target and
 (B) if this fixes the bug.

 I've tried building for 64b, and gotten some errors (see below).  Before
 either delving into this or trying to fix the bug, I was wondering if
 anybody knows of any movement on this since the issue was first identified
 last March.

 Errors in 64b build:
 [link]Creating library
 C:\scm\external\wix\build\ship\x64\winterop.lib and object
 C:\scm\external\wix\build\ship\x64\winterop.exp
 [link] winterop.obj : error LNK2019: unresolved external symbol
 CabCBegin referenced in function long __cdecl CreateCabBegin(wchar_t const
 *,wchar_t const *,unsigned long,unsigned long,unsigned long,enum
 COMPRESSION_TYPE,void * *) (?CreateCabBegin@
 @YAJPEB_W0KKKW4COMPRESSION_TYPE@@PEAPEAX@Z)
 [link] winterop.obj : error LNK2019: unresolved external symbol
 CabCAddFile referenced in function long __cdecl CreateCabAddFile(wchar_t
 const *,wchar_t const *,struct _MSIFILEHASHINFO *,void *)
 (?CreateCabAddFile@@YAJPEB_W0PEAU_MSIFILEHASHINFO@@PEAX@Z)
 ... and several more like that.

 Thanks,
 Jerry

 --
 Try before you buy = See our experts in action!
 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-dev2
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users