It looks like you have some Nant tags in there.  I'm not really sure
what you're trying to do.  Unless you're doing a TFS checkout/checkin as
part of your install I'm confused by what you're trying to do.  You're
describing things that happen at install time, not at build time, in
your WiX files.  To build use MSBuild or Nant or the build tool of your
choice.

I'd suggest starting the tutorial at the beginning and going all the way
through.

The tags you have in there aren't valid children in the WiX Schema.
You're missing the dllentry parameter in your CustomActions required to
do the type 1 custom action and execute a method from a DLL.  The ID in
your Binary is just an identifier.

Brian Poploskie

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of jcafaro10
Sent: Monday, August 06, 2007 3:34 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Beginning Question


Looked at the tutorial and reworked some of the code.  I'm still not
sure
what to do with the Import Project, or if I even need it but here's what
I
have now.

<Binary Id="MSBuild.Community.Tasks.AssemblyInfo"
SourceFile="MSBuild.Community.Tasks.dll" />
<Binary Id="MSBuild.Community.Tasks.Math.Add"
SourceFile="MSBuild.Community.Tasks.dll"/>
<Binary Id="MSBuild.Community.Tasks.Zip"
SourceFile="MSBuild.Community.Tasks.dll"/>
<Binary Id="Sedodream.MSBuild.Tasks.GetAssemblyVersion"
SourceFile="Sedodream.MSBuild.Tasks.dll"/>

<CustomAction
                Id="UpdateAssembly"
                BinaryKey="Sedodream.MSBuild.Tasks.GetAssemblyVersion"
                Return="ignore" />
<CustomAction
        Id="AddRevision"
        BinaryKey="MSBuild.Community.Tasks.Math.Add"
        Return="ignore" />
<CustomAction
        Id="Assemble"
        BinaryKey="MSBuild.Community.Tasks.AssemblyInfo"
        Return="ignore" />

<InstallExecuteSequence>
    <Custom
              Action="UpdateAssembly"
              After="InstallFiles"
        <GetAssemblyVersion AssemblyPath="$(OutDir)\ChannelBox.exe">
          <Output TaskParameter="Major" PropertyName="Major" />
          <Output TaskParameter="Minor" PropertyName="Minor" />
          <Output TaskParameter="Build" PropertyName="Build" />
          <Output TaskParameter="Revision"
PropertyName="CurrentRevision" />
        </GetAssemblyVersion>
</Custom>
    </InstallExecuteSequence> 
 
<InstallExecuteSequence>
  <Custom
        Action="AddRevision"
                  After="UpdateAssembly"
        <Add Numbers="$(CurrentRevision);1">
                <Output TaskParameter="Result"
PropertyName="NewRevision" />
                </Add>
                <Exec Command="&quot;$(TeamBuildRefPath)\..\tf.exe&quot;
checkout
$(AssemblyInfoFilePath)" />
</Custom>
</InstallExecuteSequence>

<InstallExecuteSequence>
<Custom
        Action="Assmeble"
        After="AddRevision"
         <AssemblyInfo AssemblyCompany="company" 
                      AssemblyCopyright="Copyright"
                     
AssemblyFileVersion="$(Major).$(Minor).$(Build).$(NewRevision)"
                      AssemblyProduct="product"
                      AssemblyTitle="title" 
                     
AssemblyVersion="$(Major).$(Minor).$(Build).$(NewRevision)"
                      CodeLanguage="CSharp" 
                      OutputFile="$(AssemblyInfoFilePath)" />
        <Exec Command="&quot;$(TeamBuildRefPath)\..\tf.exe&quot; checkin
/comment:&quot;Auto-Build: Version Update&quot; /noprompt
/override:&quot;Auto-Build:Version Update&quot; $(AssemblyInfoFilePath)"
/>>
      </Custom>
    </InstallExecuteSequence>   



-- 
View this message in context:
http://www.nabble.com/Beginning-Question-tf4225049.html#a12022732
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to