Jump to content

Recommended Posts

Posted (edited)

Hi guys, I've been doing some hunting on the tinterweb and have a few bits and pieces on installing itunes silently with switches...

The example code which works in the command console works as follows:

msiexec.exe /i "itunes.msi" /quiet

or

msiexec.exe /i "itunes.msi" /passive

However I am having difficulty integrating this into the following code:

(Note: I do understand that .msi can only run with ShellExecute or ShellExecuteWait)

Dim $ScriptDir = StringLeft(@ScriptDir,2)
$musvid = $ScriptDir & "Toolsmusic utilities"

ShellExecuteWait('msiexec.exe /i " ' & $musvid & 'iTunes64.msi" /quiet')

Would you be able to assist?

Many thanks

insomnai

Edited by insomnai

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...