Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Running a msiexec command with a VB script file.

- - - - -

  • Please log in to reply
1 reply to this topic

#1
joeyg2391

joeyg2391

    Junior

  • Member
  • Pip
  • 60 posts
  • Joined 22-September 04
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.

Edited by joeyg2391, 16 August 2005 - 03:14 PM.



How to remove advertisement from MSFN

#2
Fredledingue

Fredledingue

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,267 posts
  • Joined 10-February 05
  • OS:98SE
  • Country: Country Flag

a time limit in between my code.

do you mean:

Wscript.Sleep 1000  '----in milliseconds

try

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


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

HTASoft.com

superchargedwindows9xig1.png
Still Using W98SE+++ ...Daily.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN