Title: Message
Putting this back to the list..
 
There's no nant tasks to create shortcuts.. I'd think you'd have to create the shortcuts manually and then copy them.
 
I'm a little confused though; you said you're giving the app to partners and it doesn't sound like you control the target computers.  I don't see how nant would be helpful in deployment in this case (unless you were to build an msi file).  Without MSI and no control on the target computers, the best you could do is zip the app, and have the users create shortcuts (or run a vbs if you have a script to do that already).
 
Andy
 
-----Original Message-----
From: Crawford, Christina [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 3:57 PM
To: Andy Johnstone
Subject: RE: [NAnt-users] Put _vbscript_ batch file code within NAnt

I am currently trying to replace an MSI folder setup project process developed
within Visual Studio for VB .NET 2003 that is in the same solution as the
original application using NAnt or NAntContrib.  I have to
do this because we are giving out our application to Trading Partners and can't
give out MSI files.  I don't understand the MSM and MSI tasks/functions.
All I have to do is it build the projects to create the dll's and put them
and some other documents into a Program Files .  Then, create desktop shortcuts.
Then create another file folder to put into the Start Programs area and place
three shortcuts there.
 
I can do the build OK but can't figure out how to create the shortcuts.
I searched the internet and MSDN and found some _vbscript_ code that work
great.  I can call them using the NAnt exec task but would to embed
them into the NAnt build file.
 
I am trying to create desktop shortcuts and also shortcuts to go within
a Program Files folder using NAnt or NAntContrib functions/tasks.  I could
not find one. 
 
Christina Crawford
-----Original Message-----
From: Andy Johnstone [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 3:35 PM
To: Crawford, Christina
Subject: RE: [NAnt-users] Put _vbscript_ batch file code within NAnt

Don't think you can embed _vbscript_ into the build, but you could certainly call it.
 
Perhaps a better idea would be to use vb.net by using script task.  See if this will help you accomplish your task:  http://nant.sourceforge.net/release/latest/help/tasks/script.html
 
HTH
Andy
 
-----Original Message-----
From: Crawford, Christina [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 15, 2006 3:15 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Put _vbscript_ batch file code within NAnt

How would one go about including _vbscript_ batch file code and
Embedding it within an Nant build file?  Can Nant script task
Be used in some way?  I would also like to pass parameters into the
Embedded code and receive parameters out of the embedded code. 
I currently am working on just using the Nant exec task to execute
The existing _vbscript_.  I have to figure out how to pass parameters into
The Nant exec task into the _vbscript_ batch file and receive parameters
Back to save to an Nant project name for use later in the Nant build file. 


Reply via email to