Jump to content
Sign in to follow this  
dimchik

Problem executing MSI file

Recommended Posts

dimchik

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

Share this post


Link to post
Share on other sites
Josbe

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")

Share this post


Link to post
Share on other sites
dimchik

yes i get security warning and i need silent automatic installation.

Share this post


Link to post
Share on other sites
dimchik

This is warning.

post-29090-1230052950_thumb.jpg

Share this post


Link to post
Share on other sites
ProgAndy

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

Share this post


Link to post
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
Sign in to follow this  

×