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



Prism Scripts and Time DelayExpand / Collapse
Author
Message
Posted 6/13/2007 12:59:18 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 12/5/2007 12:25:18 PM
Posts: 1, Visits: 14
I have written a script that pushes our standard group of applications to a fresh build.  I have set the last package to reboot the machine, my problem is 2 of the external applications (in red) are not installing.  If I remove the reboot it works fine, any ideas?


/run /wait msiexec /i "\\server\swupdate\softgrid client\softgrid-wd-setup.msi" SWISOFTGRIDDRIVE="B" SWICACHESIZE="8000" /qn /norestart
/run /wait  msiexec /i "
\\server\swupdate\citrix client\ica32pkg.msi" /qn /norestart
/run /wait \\server\swupdate\dotnetfx.exe /q:a /c:"install /l /q"

/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_pdf995.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_reader_8.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_barcodefonts.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_blackice.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_rightfax.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_sbat.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_BGinfo.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\clean_startmenu.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_livemeeting.PWC
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_webex.PWC
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_powerdvd.PWC
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_notes.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_computrace.pwc
/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\install_office_2003.pwc

/InstallPackage \\server\swupdate\Prism\Packages\Software\Install\reboot.pwc

Post #1506
Posted 6/14/2007 2:15:59 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2/12/2011 11:11:06 PM
Posts: 742, Visits: 1,211
My guess is that the MSI installations that are launched at the beginning of the script are still running when the reboot happens, and thus the reboot prevents them from finishing their installations. When you use /Run /Wait, the Prism client waits until the process it launched finishes before moving on to the next line in the script. However, many MSI installations spawn other processes, and the client doesn't have a way to keep track of those sub-processes.

Here's a suggested workaround: Instead of including the MSI installations in your script, deploy them as two separate tasks. After you've verified that they are installed (perhaps via a configuration group that looks for some "marker" for each app?), run your script that installs the rest of your packages.

Let us know if you think this is a workable solution.



New Boundary Technologies Support
support@newboundary.com

Post #1507
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 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 12:10pm

Powered By InstantForum.NET v4.1.3 © 2012
Execution: 0.156. 10 queries. Compression Enabled.