MSFN Forum: Media Player 10 - VBS installer - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

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

Media Player 10 - VBS installer Rate Topic: -----

#1 User is offline   decoy5657 

  • Newbie
  • Group: Members
  • Posts: 36
  • Joined: 02-February 04

Posted 31 January 2005 - 11:09 AM

For personal reasons I need to install apps via VBS.

Here is a code sample from my srcipt.

'----START VARIABLES----
Dim StrWIMP
'----END VARIABLES----

Set oShell = CreateObject("Wscript.Shell")

    strWIMP = Chr(34) & """mp10setup.exe""" & Chr(34) & "  /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore""
oShell.Run "%comspec% /c " & strWIMP, 1, true


Thus far, this has worked for all other software, but if you run that script, it gives an error about the " right after C: I assume the script host thinks I want to end that statement... or something....

Ideas? Thoughts?


#2 User is offline   top_pops 

  • Group: Members
  • Posts: 3
  • Joined: 16-June 04

Posted 31 January 2005 - 12:38 PM

Need to escape the internal double-quotes around setup_wm...SystemRestore


Try this
strWIMP = Chr(34) & """mp10setup.exe""" &
Chr(34) " /q:A /c:""setup_wm.exe /Q /R:N /DisallowSystemRestore"""

#3 User is offline   Dahi 

  • Member
  • PipPip
  • Group: Members
  • Posts: 146
  • Joined: 25-November 03

Posted 31 January 2005 - 07:25 PM

strWIMP = "mp10setup.exe /q:A /c:""setup_wm.exe /Q /R:N /DisallowSystemRestore"""
oShell.Run "%comspec% /c " & strWIMP, 1, true

or
strWIMP = "mp10setup.exe /q:A /c:" & chr(34) & "setup_wm.exe /Q /R:N /DisallowSystemRestore" & chr(34)
oShell.Run "%comspec% /c " & strWIMP, 1, true

should work

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 - 2011 msfn.org
Privacy Policy