I am trying to script the whole install process, and running into some issues that maybe someone has an answer to. This may be one for the Factory, in fact. Anyway, in the RFO script I successfully "Ran" Revit and waited for the journal to finish using WshShell.Run with the Wait flag at the end set to true. But when running the Revit installer the script just keeps right on going.
The code I am using is
For other installers the Wait flag (the True at the end) has worked fine. Anyone gotten this to work with 2012 and have a secret to offer?
EDIT: some google fu has turned up the fact that even a BAT file using the /WAIT flag doesn't work with the Revit installer, and hasn't at least since 2008. Bummer, cause saving time is SO not overrated. So I am now playing with some goofy loop that will wait until the RAC shortcut lands on the desktop, then proceed. Talk about a kludge.
Thanks!
Gordon
The code I am using is
Code:
WshShell.Run "\\psf\Installs\Windows\Revit\2012\Deployment\AdminImage\setup.exe /qb /I \\psf\Installs\Windows\Revit\2012\Deployment\AdminImage\RAC.ini /language en-us", ,True
EDIT: some google fu has turned up the fact that even a BAT file using the /WAIT flag doesn't work with the Revit installer, and hasn't at least since 2008. Bummer, cause saving time is SO not overrated. So I am now playing with some goofy loop that will wait until the RAC shortcut lands on the desktop, then proceed. Talk about a kludge.

Thanks!
Gordon
Comment