Hi Roman, I sort of have an answer for you. The task doesn't directly
support if conditions like how you want, but it is possible.
If you set the display attribute's value to 0 for a feature, the feature
will not be visible to the user. Also, you can add if conditions to the
.
.
hi Roman,
I'm not sure about this, off the top of my head, but if you haven't checked
this page out, it might be worth a look.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/feature_table.asp
The attributes value for that table is populated by the "attr" attribute
from
There is a solution (a vs.net addin) that we use at work, right now. I have
the approval to donate it to NAntContrib, if there is a desire. It would be
unsupported, but the code is easy to modify. Anyway, this is sort of an
overview of what it does.
Our build file (located at the solution level
into installer SDK and details,
> I'll give a shot if it works otherwise I've to install devenv.exe on
> Build server
>
> Thanks a lot,
>
> Manish
>
>
>
> -Original Message-
> From: Gert Driesen [mailto:[EMAIL PROTECTED]
> Sent: Monday, October
u and desktop) whereas MSI
> task cannot 4.Is there any way to determine properties available for
> within for WID files
>
> (Attaching MSI.zip contains all necessary files in another email to
> you)
>
> Thanks again for your help and time
>
> Manish
>
>
>
cabarc.exe
> which is expected in root folder of .build file , I thought it expects
> bin folder
>
> Right now major issue is No.2 above (not sure related to No. 1)
>
> Thanks
> Manish
>
>
> -Original Message-
> From: James Geurts [mailto:[EMAIL PROTECTED]
> Sent:
EMAIL PROTECTED]/msg00792.html>
>
> Can you pls send me one or point me location where i can find it?
>
>
> Thanks
> Manish
>
> -Original Message-
> From: James Geurts [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 08, 2004 11:37 AM
> To: Manish Jain
&g
ogs.wim" />
>name="${nant.vsnet.dialog.dir}/1033//VsdProgressDlg.wid" />
>
>
>name="ShowProgress" value="1" /> module="VsdFinishedDlg.wid" name="UpdateText" value="#1258" />
>value="
The alternative to using the wid and wim files (merge modules) is to hand
code the dialog information by yourself... I perosnally think that is a bit
tedious and would opt to just copy the wid and wim files to the build
machine. As far as the component structures that vdprojconvert creates...
it *
Hey Madhan,
Sample build files are located here:
http://nant.sourceforge.net/wiki/index.php/samples%20for%20install%20tasks
There is a FAQ located here:
http://nant.sourceforge.net/wiki/index.php/MSITask
Task documentation is located here:
http://nantcontrib.sourceforge.net/nightly/help/tasks/msi
Hey all,
Is there a property that gets set when a task fails? I see the
nant.onfailure property, but I am curious if there is something I can check
on a per task basis.
Thanks
Jim
---
This SF.Net email is sponsored by: thawte's Crypto Chal
Hey William,
I wrote the vdproj converter project. Currently my website is down due to
not having an internet connection for the last day or so... That should be
resolved this weekend or early next week.
I would love to see that code get added to the solution task, but I for one
have not even lo
Open up a project with a build file in it.
Right click the build file (from Solution Explorer)
Select Open With...
Highlight Html/Xml Editor
Click Set as Default button
Click close
> While we're on the subject. I've done all my nant development in
> TextPad.
>
>
>
> How do you get VS.Net to reco
Hi Kevin,
Can you please send code to reproduce the error. For example, the two
component elements that link to these files and then your directories
element.
Thanks
Jim
> Ran into another error with
>
> Unable to build MSI database 'ApplicationServerSetup.msi'.
>Item
It has been a little while since I updated that target... it should really
be re-written to use Noel's addition to the msi task so that it just
recursively adds directories.
> Hello everyone,
> I've been able to get the latests CVS head to compile! Yea.
> Nant-Contrib
> compiles as well, but
Out of curiosity, does anyone have an NAnt task/hack to install a custom
module for DotNetNuke?
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 5
Thanks Troy,
I wasn't aware that I could write a custom task using the script element.
very cool, none the less...
Jim
> James Geurts wrote:
>> Is there a way to explicitly call a function?
>>
>> For example, I created a function similar to the one below
>
Is there a way to explicitly call a function?
For example, I created a function similar to the one below and I would like
to call it occasionally in my build file:
I originally got that info from just looking at the respective tables in the
msi database. I used Orca to do so...
Jim
> Hi,
>
> Thanks again for the response. But where does one find info like that
> identified in the example below and to know what has to be removed to
> completely remove a v
Hi Steven,
The wiki is probably the best place to look for info on the task. There is
a FAQ for the task located here:
http://nant.sourceforge.net/wiki/index.php/MSITask. If you don't see
something that you're curious about, feel free to add the question to the
FAQ and/or ask it here.
As for ad
Hi Ted,
Sorry... I just got done with a move and have not had access to my normal
development machines/email. If you can, please email me your build script
so that I can have a look at it. I do have access to a machine so that I
can "hopefully" help you solve the problem.
Thanks
Jim
> Just c
Hi Ted,
Sorry, I should have mentioned that the xsd file that I pointed you to was
the most recent version, thus only valid for a nightly build of NAntContrib.
Also, the keepsubdirs attribute was just recently added, so it would only be
valid in a very recent nightly build of NAntContrib.
Is ther
Yep, the order of the elements for that task has changed. Please have a
look at the schema:
http://cvs.sourceforge.net/viewcvs.py/nantcontrib/NAntContrib/src/Tasks/Msi/
MsiTask.xsd?rev=1.7&view=auto
For an msi, the order should be something like this:
properties
search
tables
directories
environ
esn't allow
overriding the language.
If you're forced to use the 0.84 code, I could show you where you would need
to modify the task to get it working...
Jim
-Original Message-
From: Ted Quinby [mailto:[EMAIL PROTECTED]
Sent: Monday, July 26, 2004 2:36 PM
To: James Geurts
Sub
Hi Kevin,
Vdproj files are not currently supported by that task. I created a program
to convert vdproj files into an xml fragment to be used by the msi/msm tasks
in NAntContrib. It should get you started...
You can find the program at:
http://www.biasecurities.com/SoftwareBuilds/Installer.Tools
, etc...
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gifford, Noel
Sent: Friday, July 23, 2004 6:32 PM
To: James Geurts; Gert Driesen; Noel Gifford;
[EMAIL PROTECTED]
Subject: [Nant-users] Question with MSI task
James,
Is there a way to use th
MAIL PROTECTED]
Sent: Friday, July 23, 2004 1:18 PM
To: Gert Driesen; Noel Gifford; [EMAIL PROTECTED]
Cc: James Geurts
Subject: RE: [Nant-users] Error with MSI task
Gert,
I downloaded your fixes (NantContrib-0.85-20040723) and it fixed the
specific error with the resources.
The documentation doe
Hi John,
I actually do something similar in the NAntContribInstall.include file.
This should do the trick:
The * prefixing the PATH name means that the install should treat it as a
system variable. If you're interested in other prefixes, have a look here:
http://msdn.microsoft.com/library/e
Hi Mikkel,
I wrote the VDProjConverter and know a
little bit about the NAnt msi/msm tasks... Unfortunately, I based the Wix
syntax, that VDProjConverter generates, off of Dark, which generated broken
syntax. I didn’t know that it was incorrect at the time and I just
haven’t had the cha
se to a nightly build project that I have.
Jim
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 20, 2004 9:59 PM
To: [EMAIL PROTECTED]
Subject: Nightly build (via James Geurts' Blog)
Jim - saw your comment - would love any help you could provid
Hi Simon,
Please make sure that you are using a nightly build of NAntContrib. You'll
need to also use a relatively new nightly build of NAnt to build the
NAntContrib tasks. The msi/msm task schema changed between 0.84 and the
current builds, giving you the error that you see.
Otherwise, you c
Hi Piotr,
You found two bugs... thanks! First, if the table previously existed, table
data was not being inserted. The second is regarding the Modify, Mode,
Record error that you got. Orca tends to leave records in the _Validation
table (when tables are dropped), and the NAnt msi code failed wh
Sorry... but this has gone far enough
For those people who want to unsubscribe,
please do not mail this list.
Go read the directions here: https://sourceforge.net/docman/display_doc.php?docid=12983&group_id=1#unsubscription
Note: I toned this down quite a bit... I
was originally
Hi guys... I figure that I might as well chime in here, too...
A while ago, I posted a sample for modifying directory permissions using a
custom action (using cacls.exe) in an msi task. The sample is for the msi
task in NAntContrib and can be viewed here:
http://nant.sourceforge.net/wiki/index.ph
+1
> I suggest adding an AssemblyFunctions class with the following
> functions :
>
> assembly::get-version(string)
> assembly::get-major-version(string)
> assembly::get-minor-version(string)
> assembly::get-revision-version(string)
> assembly::get-build-version(string)
> assembly::get-full-name(s
Hi Merrill,
There might be a better way to do this now, but you can have access to the
project object within your scripts, which in turn gives you access to the
properties. If you modify a property in the script, the property is then
modified as far as the build script is concerned. The objects
Cool, thanks Gert.
Jim
> http://nant.sourceforge.net/faq.html#building-vsnet-1
>
> Hope this helps,
>
> Gert
> - Original Message -----
> From: "James Geurts" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, April 29, 2004 3:0
Hey all,
Would someone be willing to add some information to the wiki about how to
attach a debugger (VS.Net and/or other) to NAnt? I still haven't taken the
time to explore this option, but I think it would definitely help out with
creating custom tasks, etc.
Thanks
Jim
---
Hi Brian,
It might be worth opening up the csproj file (with Notepad or something
similar) that references the System.Data.DLL and making sure that the hint
path is set to the 1.1 framework directory.
Jim
> Hi,
> My NAnt script which was working fine is now hitting a problem.
>
>
>
>
; TIA
>
> Michael.
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of James
> Geurts Sent: Monday, April 26, 2004 6:20 PM
> To: 'Michael A. Angelo'; [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Need capability from
Currently there isn't support for installing to the GAC. I'll fix this
before I move ahead with other things...
Jim
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael A.
Angelo
Sent: Monday, April 26, 2004 4:59 PM
To: [EMAIL PROTECTED]
Subject: [Na
Also, the NAnt msi/msm tasks provide more flexibility than setup projects in
VS.Net. The tasks support nearly all of the functions available from the
setup projects, but also provide more control over installer functionality.
This is a small list of features not currently supported by the tasks,
At this point, the decision pretty much is up to you. I think that the NAnt
msi/msm tasks will continue to be supported to some degree and eventually
the WiX tasks will be wrapped.
The nightly help files contain documenation for those tasks... you can view
it here: http://nantcontrib.sourceforge.
Hi Nicklas,
I am the author of the VDProjConverter project. I have also done some work
on the msi/msm tasks for NAntContrib. I have only tested the
VDProjConverter with some mocked up setup projects that I have created, so
I'm sure there are bugs in the conversion. Unfortunately, I have yet to
I tend to keep mine in the same directory as the project file (.csproj). If
there is more than one project in the solution, then I usually have a
"master" build file (which calls each project build file as needed) in the
same directory as the solution.
Jim
> I'm interested in hearing where other
Hi Bob,
It might be worth taking a look at this page. A while ago, I conglomerated
some ideas into two tasks. They grab and increment the version number in an
AssemblyInfo.cs file. I find it useful when dealing with source control and
when not able to generate the assemblyInfo...
http://blogs.
Yep, I would like to have the conversion working with the solution task at
some point. Right now, the msi/msm tasks do not support how VS.Net adds
dialogs to the msi database (configurable merge modules), so that needs to
be taken into account. Unfortunately WiX doesn't support them either... So,
Sorry for my initial post of "disgust" related to Wix. It is sort of hard
watching the baby that I helped nurture for the past two years just get
punted by Microsoft.
I agree that it will probably be a better thing for everyone, if we do
migrate away from supporting the msi/msm tasks and eventual
Title: RE: [Nant-users] Where are command line options documented?
I just started using the latest nightly
build, and it appears as though support for the Tasks sub folder has been
phased out. Is this correct?
Hi all,
I would like to embed images into my assembly. I am currently using the
task to build my assembly. I'm guessing that this is a fairly easy
task to do, but the only things that I have seen so far require using the
external program, resxgen, to convert the image to a resx file and finally
50 matches
Mail list logo