Jump to content

Problem executing MSI file


dimchik
 Share

Recommended Posts

I am tring to automate installation fo adobe language packs.

ShellExecute("msiexec","/i \\mustang\Software Library\Viewers\Adobe\Reader\Adobe_reader_9\FontPack90_ko_KR.msi")

not working what is wrong here?

i think i have problem with path as it has space in it. How can I correct this script.

Thank you

Link to comment
Share on other sites

I am tring to automate installation fo adobe language packs.

ShellExecute("msiexec","/i \\mustang\Software Library\Viewers\Adobe\Reader\Adobe_reader_9\FontPack90_ko_KR.msi")

not working what is wrong here?

i think i have problem with path as it has space in it. How can I correct this script.

Thank you

you tried this?

ShellExecute("\\mustang\Software Library\Viewers\Adobe\Reader\Adobe_reader_9\FontPack90_ko_KR.msi")
Link to comment
Share on other sites

The information to show this box is saved in a stream. You can remove it with the following function:

_DeleteZoneIdentStream("X:\Path\To\FILE.exe")
; Prog@ndy
Func _DeleteZoneIdentStream($file)
    If Not FileExists($file) Then Return SetError(1,0,0)
    $file &= ":Zone.Identifier"
    Local $ret = DllCall("kernel32.dll","dword","DeleteFileW","wstr",$file)
    If @error Then Return SetError(2,0,0)
    Return $ret[0]
EndFunc
Edited by ProgAndy

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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