MSFN Forum: Running a msiexec command with a VB script file. - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Running a msiexec command with a VB script file. Rate Topic: -----

#1 User is offline   joeyg2391 

  • Junior
  • Pip
  • Group: Members
  • Posts: 60
  • Joined: 22-September 04

Posted 16 August 2005 - 12:49 PM

Hi,
I was wondering if there was a way i could run a msiexec command that will unistall a program in a VB Script file. i sucessfully uninstalled the program using the msiexec command but i want to be able to have it run on some users startups by executing the VB script file that contains the command. i'm fairly new to scripting. i figured it out. Another question is how do i set a time limit in between my code.

This post has been edited by joeyg2391: 16 August 2005 - 03:14 PM



#2 User is offline   Fredledingue 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,261
  • Joined: 10-February 05
  • OS:98SE
  • Country: Country Flag

Posted 18 August 2005 - 02:03 PM

Quote

a time limit in between my code.
do you mean:

Wscript.Sleep 1000  '----in milliseconds


try

Quote

set oShell = CreateObject("Shell.Application")
oShell.run YourMsiexecCommand


Could you tell me what is exactely the msiexec command that you use...

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy