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
++++++++++++++++++++
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)
Please log in to answer
Posted by:
ibnufatima
17 years ago
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.
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.
so that the conversation will remain readable.