Thanks for your help on this!!

 

As you suggested, I used the <CustomTable> stuff to create the entries.   

As a suggestion to others..   I started with the MSI that the Visual Studio
Package deployment process created, then used dark.exe to reverse engineer
the WIX code.

 

:-) John Gilbert

 

 

From: Simon Dahlbacka [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 07, 2008 9:13 AM
To: John Gilbert
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Help with installing Visual Studio Help Extensions.

 

Unfortunately, the web is *very* on this documentation, however I've blogged
about the subject

http://mostlytech.blogspot.com/2007/11/integrating-help2-files-into-vs-2005.
html 
http://mostlytech.blogspot.com/2007/11/integrating-help2-files-into-vs-2005_
04.html

this might get you off the ground.. (oh and if they fixed the bug this would
be much easier..) 

regards,
Simon

2008/1/7, John Gilbert <[EMAIL PROTECTED]>:

Hi:

 

I am trying to add some Visual Studio Help files to my installer package.
I have not been able to find any complete documentation or samples that show
how to do this.   

Anybody have a couple minutes to help me with this or refer me to where I
can get some assistance?  What would be really nice to see is a complete
working sample, (not just some snip-its).

 

 

Using a "Visual Studio Setup Project", I was able to generate a MSI file,
(but I don't really want to build my MSI that way - I want to use WIX).
Looking at the help tables/columns in the merge module VS created and
comparing that to the WIX documentation at
http://wix.sourceforge.net/manual-wix2/vs_xsd_index.htm , I was able to
determine which WIX Help* elements I needed to code.  But when I compiled my
WXS file, I got errors which appear to indicate it does not recognize the
elements.

 

 

The errors

The errors I am getting look like this:

 

error CNDL0200 : The File element contains an unhandled extension element
'HelpCollection'.  Please ensure that the extension for elements in the
'http://schemas.microsoft.com/wix/VSExtension' namespace has been provided. 

error CNDL0200 : The Product element contains an unhandled extension element
'VSExtension:HelpFilter'.  Please ensure that the extension for elements in
the 'http://schemas.microsoft.com/wix/VSExtension' namespace has been
provided.

error CNDL0200 : The Product element contains an unhandled extension element
'HelpFilter'.  Please ensure that the extension for elements in the
'http://schemas.microsoft.com/wix/VSExtension' namespace has been provided.

 

 

I have been experimenting around with different <Help*> elements and can't
get any to work.  I played around with different xml namespace notation and
that did not work either.

 

 

 

The WXS file

Below is the text of my sample WXS file:

 

<?xml version="1.0" encoding="utf-8"?>

<Wix xmlns="http://schemas.microsoft.com/wix/
<http://schemas.microsoft.com/wix/2006/wi>  2006/wi" xmlns:VSExtension="
http://schemas.microsoft.com/wix/VSExtension";>

  <Product Name="Hello World" Id="80A393AB-D783-4209-B664-158BCD34C88E"
Language="1033" Manufacturer="Microsoft" Version="1.0.0.0"
UpgradeCode="531D01AF-ECB1-43CE-9B86-F0DB08236CB6" >

    <Package Description="Test" InstallerVersion="200"
Keywords="Installer,MSI,Database" Languages="1033" Manufacturer="Microsoft"
/>

    <Media Id="1" />

    <Property Id="InstallMode" Value="Complete" />

    <Property Id="INSTALLLEVEL" Value="3" />

    <Property Id="ALLUSERS" Value="1" />

    <UIRef Id="WixUI_Minimal" />

    <?include $(env.INETROOT)\public\ext\wix\wixv3\ui\errors.wxi ?>

    <Directory Id="TARGETDIR" Name="SourceDir">

      <Directory Id="ProgramFilesFolder" Name="xlqr-nev">

        <Directory Id="INSTALLDIR" Name="HelloWorld">

        </Directory>

      </Directory>

      <Component Id="CompTest"
Guid="{5F039555-17AF-C506-B05A-011D32179B24}">

        <File Id="FileTest" Name="asdf.HxC" KeyPath="yes" Source="asdf.HxC">

 

          <HelpCollection Id="asdf" Description="asdf Documentation"
Name="asdf.en" xmlns="http://schemas.microsoft.com/wix/VSExtension"/> 

 

        </File>

      </Component>

    </Directory>

 

    <VSExtension:HelpFilter Id="HIW_Filter_0"
FilterDefinition='"DocSet"="Microsoft"' Name="Dynamics"
xmlns:VSExtension="http://schemas.microsoft.com/wix/VSExtension " />

 

    <HelpFilter Id="HIW_Filter_1" FilterDefinition='"DocSet"="Microsoft"'
Name="Dynamics" xmlns="http://schemas.microsoft.com/wix/VSExtension"; />

 

    <Feature Id="Complete" ConfigurableDirectory="INSTALLDIR"
Display="expand" Level="3" Title="Complete">

    </Feature>

  </Product>

</Wix>

 

 

The sources file

Here is the text of my CoreXT sources file in case there is a clue in it.

 

!INCLUDE $(INETROOT)\build\paths.all

!INCLUDE $(INETROOT)\build\sources.all

MAJORCOMP                = HelloWorld

MINORCOMP                = HelloWorld

TARGETNAME               = HelloWorld

TARGETTYPE               = NOTARGET

 

SOURCES                  = 

 

!IF "$(BUILD_PASS)"=="PASS2"

MISCFILES                = $(MISCFILES) \

                   $(_OBJ_DIR)\$(BUILDTARGET)\$(TARGETNAME).msi \

                   $(TARGETNAME).wxs

!ENDIF                    

 

NTTARGETFILES            = $(TARGETNAME).wixobj $(TARGETNAME).msi
BinplaceMSI

USE_WIXV3       = 2420

USE_WIXNETFX         = 1

 

BINPLACETARGET       = $(INETROOT)\drop\$(BUILDTYPE)\CD\Msi\$(TARGETNAME)

 

 

 

Thanks for any help you can pass on.

 

:-) John Gilbert

 

 

 

 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users

 

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to