Hi Guys,

I created a vb Script that I embedded into my msi using the "Call VbScript From Embedded Code Action". The script runs ok in command line. But when I used it in my msi it does not seem to run.
knowing that I am using a message box also in my script and that I have to run my msi in quite mode (/QB), how can I please make this script to work and how can I make the message box display even in quite mode? Please I need your help?

Note: I am using Wise as My Editor.

Here is a part of my script.
Dim objFSO1
Set objFSO1 = CreateObject("Scripting.FileSystemObject")

If objFSO1.FileExists("C:\Program Files\Microsoft Office\Office\WINWORD.EXE") Then

MsgBox "MS Word is already Installed on your Machine."
End If
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


The Problem is Solved Thank GOD.

I just needed to move my CA action to the execute immediate tab and made sure to place it under launch conditions. Also It was necessary to add the If condition to prevent the message box from playing back during uninstall.

IF Not INstalled THEN
CA Action call from VBscript Embedded COde

That was it.

Thank you guys.

Let us make it a better life and easy for everybody to make all scripts and programming languages a piece of cake.
Answered 12/18/2006 by: ibnufatima
Senior Yellow Belt

Please log in to comment