Jump to content

Recommended Posts

Posted

could you help me to convert this line on Autoit V3:

msiexec /i "F:\Adobe\reader 6\Adobe Reader 6.0 - Français.msi" /qb-!

I've some problems with "". Because it's necessary for lauch the install.

Thanks...

Posted (edited)

EDIT: Yeah, see what Jon said :whistle:

Explaination:

In case a string or command line commands the double quote mark, you can use single quotes to enclose the entire string.

$example = ' The man said, "Hello." '

Another way is to still use the double quotes for enclosing the entire string but replace any instances of " within the string with "".

$example = " The man said, ""Hello."" "

Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Posted

Thanks for your solutions.

But, if i want replace the letter F: by a variable like :

$server= " \\server1\\appli"

what is the solution for that the value of variable is visible:

RunWait('msiexec /i "F:\Adobe\reader 6\Adobe Reader 6.0 - Français.msi" /qb-!')

Sorry for my English !!!

Posted

Thanks for your responce.

This is my code:

$server= " \\server1\appli"

$comm= 'msiexec /i " & $server & "\Adobe\reader 6\Adobe Reader 6.0 - Français.msi" /qb-!'

msgbox(4096,"valeur",$comm)

This is what appears in the message box.

msiexec /i " &$server & "\adobe\reader 6\Adobe Reader 6.0 - Français.msi" /qb-!

I must have the value of $server in the commande line like this :

msiexec /i "\\server1\appli\Adobe\reader -\Adobe Reader 6.0 - Français.msi" /qb-!

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...