| | | Supreme Being
       
Group: Advanced Members Last Login: 1/21/2004 10:48:00 AM Posts: 154, Visits: 1 |
| | I would like to know how to base the installation of a package on whether a specific file exists on the target system. (i.e. the application file I am trying to install) |
| | | | 
Supreme Being
       
Group: Moderators Last Login: 9/3/2008 9:40:39 PM Posts: 654, Visits: 800 |
| | This can be done by using a Prism Deploy Script. An example for this situation could be : *****(contained in a text file with a .PTS extension)***** if exists "C:\Program Files\Internet Explorer\IEXPLORE.EXE" /InstallPackage \\server\share\ieupdate.pwc else /InstallPackage \\server\share\fullie.pwc end if ********************************************************** This script could then be launched by any standard means. One of the two packages will be installed, depending on the whether Ineternet Explorer is already installed. See Appendix A of the Prism Deploy User's Guide for a full explanation of scripting tasks.
New Boundary Technologies Support support@newboundary.com |
| | | | 
Supreme Being
       
Group: Moderators Last Login: 9/3/2008 9:40:39 PM Posts: 654, Visits: 800 |
| The ability to set requirements on a package has been vastly improved in versions 5.0 and 5.1 of Prism Deploy and Prism Pack. In addition, the interface for setting OS version and required disk space has been totally redesigned and expanded. To try the new Installation Rules feature, download the latest version of Prism Deploy or Prism Pack from http://www.newboundary.com. Once it is installed, open a package in the Prism Editor, choose "Properties", and then click on the new "Requirements" tab. This is where you can specify the existence of a registry key or registry value, along with many other options. For example, if you want to install a package only if WinZip.exe exists on a target computer you can create a rule like this: Rule Name: WinZip Exists Rule Test: EXISTS <File> "C:\Program Files\WinZip\WinZip32.exe" You can find more forum postings related to this topic in Configuration Group Rulesets conference. For the detailed information about how to create your own installation rules, read “Defining Properties for Prism Files” chapter in the Prism Deploy or Prism Pack User’s Guide.
New Boundary Technologies Support support@newboundary.com |
| |
|
|