/build/static/layout/Breadcrumb_cap_w.png

VbScript Quesion

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   [ + ] Show comments

Answers (1)

Posted by: ibnufatima 17 years ago
Senior Yellow Belt
0
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
End

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.
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