New Boundary Support Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Package DependencyExpand / Collapse
Author
Message
Posted 3/8/2007 1:10:18 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 4/11/2008 10:21:12 AM
Posts: 7, Visits: 23
Is their a way to make one package dependent on another? As an example, I have an app written in Java. I'd like to somehow say 'deploy this app, but if Java hasn't been installed, then install that first'. Sure, I could wrap them up as one package, I'd prefer instead to keep them separate so each can be updated independently. I know their's a way to make a package not install if Java isn't there, but how can I make it smarter, to realize it's not installed, so it installs it for me automatically?
Post #1445
Posted 3/9/2007 3:57:23 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 10/8/2008 1:15:23 PM
Posts: 655, Visits: 810
I would recommend using a Prism Script (a text file with the extension renamed to .pts). Prism Scripts can use the same rules that Packages and Configuration Groups can. I would try putting the following into a .pts file:

/ScriptVer 5
IF NOT EXISTS "C:\java.exe"
/ip \\server\share\java.pwc
ENDIF
/ip \\server\share\app.pwc

You could then push this script out as a Script Task. It would run, check to see if Java is not installed (you'd want to edit the rule so it works in your environment) and if it is not then installs it. Either way, the script will continue on and install the app.



New Boundary Technologies Support
support@newboundary.com

Post #1449
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: New Boundary Support

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 7:37am

Powered By InstantForum.NET v4.1.3 © 2008
Execution: 0.188. 9 queries. Compression Enabled.