/build/static/layout/Breadcrumb_cap_w.png

Problems with installing 2 programs OO

Hi all,

I'm installing OpenOffice 2.1 on client pc's. It's all working but I have to apply a dictionary too.

This is the VBS script I'm running on the computers:


Option Explicit

dim content, content2
dim objShell

content = "msiexec /qb! /i openofficeorg21.msi ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1"

Set objShell = WScript.CreateObject("WScript.Shell")

objShell.Run content




The second program "SUN_OpenOffice21_Dico.msi" I want to install afterwards but I don't know how. If I try with this, I get a message that there's another install process that's running. Logical :-) but how to put a sleep or another thing.

Option Explicit

dim content, content2
dim objShell

content = "msiexec /qb! /i openofficeorg21.msi ALLUSERS=1 SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1"
content2 = "msiexec /qb! /i SUN_OpenOffice21_Dico.msi"

Set objShell = WScript.CreateObject("WScript.Shell")

objShell.Run content
objShell.Run content2

0 Comments   [ + ] Show comments

Answers (1)

Posted by: blacklisted_packager 15 years ago
Orange Belt
0
Hi Kings ,

Refer to this http://msdn.microsoft.com/en-us/library/d5fk67ky(VS.85).aspx and set the boolen of wait on return to be true.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ