Forwarding to the [email protected] where you will usually get a faster and better response than what I can give you. J

 

First of all, you are mixing Wix 2.0 and 3.0 syntax. The 3.0 namespace is http://schemas.microsoft.com/wix/2006/wi and the 2.0 namespace is http://schemas.microsoft.com/wix/2003/01/wi. It looks like the IronPython example is using Wix 2.0, but you have Wix 3.0 installed. That will probably eliminate many of your compile errors.

 

Others can probably comment on your other questions.

 

Thanks,

Justin

 

From: Dmitry Pavlov [mailto:[EMAIL PROTECTED]
Sent: Monday, October 02, 2006 9:45 AM
To: Justin Rockwood
Subject: RE: (votive, wix, vsip, and all things microsoft) : WIX Project Build Events

 

Hello, Justin

 

I wrote you about build events a few days ago...

 

Well, actually this time I need in your advice about using Votive for creating MSI.

 

I'm working on my custom package which adds a new language into the Visual Studio 2005. I use Votive for creating the installer for it. It's very sad but I have to use WiX in old manner (as in IronPython sample included into VS SDK Sep 2006) and build my MSI file with batch file but not with Votive.

 

It seams I need in some documentation about how to do common WIX operations in Votive. There are some reasons why I don't build the MSI with Votive for now:

 

1. I'm a new in WiX and I'm disoriented with different Wix xmlns attribute values in Votive (http://schemas.microsoft.com/wix/2006/wi) and in VS SDK sample setup for IronPython (http://schemas.microsoft.com/wix/2003/01/wi). As I understood - these 2 namespaces are quite differ b/w each other. So, I use IronPython setup as a sample - it's hard for me to translate syntax from one version to another.

 

2. I use RegPkg utility to generate the registration information for my custom package. This utility as you know included into VS SDK. I generate WXI file containing Include with my registry information. Then I include it into one of my component in this manner <?include PackageRegistration.wxi ?>.

The strange think happens when I try to build it in Votive: RegPkg creates records like that:

 

<Registry Name="ProjectTemplatesDir" Value="[$ComponentPath]" Type="string" />

 

Votive can’t understand $ComponentPath.

 

It said:

--------

PATH_SKIPPED\PackageRegistration.wxi(111,0): Error LGHT0204: ICE03: Not a valid foreign key; Table: Registry, Column: Value, Key(s): regE8B494D9E717AA5D0A1DAB6D23F118B0

PATH_SKIPPED\PackageRegistration.wxi(117,0): Error LGHT0204: ICE03: Not a valid foreign key; Table: Registry, Column: Value, Key(s): reg22AF577F3771EA4ED367E11AEB959CAF

PATH_SKIPPED\PackageRegistration.wxi(111,0): Error LGHT0204: ICE69: Mismatched component reference. Entry 'regE8B494D9E717AA5D0A1DAB6D23F118B0' of the Registry table belongs to component 'PackageCoreComponent'. However, the formatted string in column 'Value' references component 'ComponentPath'. Components belong to different features

PATH_SKIPPED\PackageRegistration.wxi(117,0): Error LGHT0204: ICE69: Mismatched component reference. Entry 'reg22AF577F3771EA4ED367E11AEB959CAF' of the Registry table belongs to component 'PackageCoreComponent'. However, the formatted string in column 'Value' references component 'ComponentPath'. Components belong to different features

 

How can I fix it?

 

3. Votive also can't understand these tags:

  <UIRef Id="WixUI_Mondo" />

  <UIRef Id="WixUI_ErrorProgressText" />

 

It said:

--------

PATH_SKIPPED\Product.wxs(155,0): Error LGHT0094: Unresolved reference to symbol 'WixUI:WixUI_Mondo' in section 'Product:{8DDCEAC3-A2BE-4978-9A11-719198883B80}'.

PATH_SKIPPED\Product.wxs(156,0): Error LGHT0094: Unresolved reference to symbol 'WixUI:WixUI_ErrorProgressText' in section 'Product:{8DDCEAC3-A2BE-4978-9A11-719198883B80}'.

 

How can I reference UI libs?

 

I am looking forward to hearing from you!

 

 

Thank you.

 

 

Dmitry [dimaka] Pavlov

.NET Developer, SharpStyle

[EMAIL PROTECTED]

 

-----Original Message-----
From: Justin Rockwood [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 26, 2006 12:38 AM
To: [EMAIL PROTECTED]
Subject: RE: (votive, wix, vsip, and all things microsoft) : WIX Project Build Events

 

[SKIPPED]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to